UBUNTU-CVE-2026-54354 (CVE-2026-54354)

Vulnerability from osv_ubuntu – Published: 2026-09-17 21:17 – Updated: 2026-09-23 23:31 – Source website
VLAI
Details

MapServer is a system for developing web-based GIS applications. Prior to 8.6.4, MapServer's PostGIS runtime filter translation in src/mappostgis.cpp and msPostGISLayerTranslateFilter() treats a filteritem as numeric when CONNECTIONTYPE POSTGIS and metadata such as gml__type=Integer are configured, but it does not verify that attacker-controlled CGI qstring or OGC API Features featureId input is a numeric literal. The unquoted input is concatenated into the generated PostgreSQL/PostGIS predicate, allowing an unauthenticated remote attacker with access to an affected query endpoint to bypass predicates, enumerate unintended records, perform boolean-based or time-based SQL injection, and increase database load. The issue does not by itself establish database modification capabilities. This issue is fixed in version 8.6.4.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "libmapserver2",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "python-mapscript",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "ruby-mapscript",
            "binary_version": "7.0.0-9ubuntu3.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@7.0.0-9ubuntu3.1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.0.0-4build1",
        "7.0.0-5ubuntu1",
        "7.0.0-7",
        "7.0.0-8",
        "7.0.0-8build1",
        "7.0.0-9",
        "7.0.0-9ubuntu1",
        "7.0.0-9ubuntu2",
        "7.0.0-9ubuntu3",
        "7.0.0-9ubuntu3.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "libmapserver2",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "python-mapscript",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "ruby-mapscript",
            "binary_version": "7.0.7-1build2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@7.0.7-1build2?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.0.6-2build1",
        "7.0.7-1",
        "7.0.7-1build1",
        "7.0.7-1build2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "libmapserver2",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "php-mapscript",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "php-mapscript-ng",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "python3-mapscript",
            "binary_version": "7.4.3-2build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@7.4.3-2build1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.4.1-1build1",
        "7.4.1-1build3",
        "7.4.2-1",
        "7.4.2-1build1",
        "7.4.3-1",
        "7.4.3-1build2",
        "7.4.3-2",
        "7.4.3-2build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "libmapserver2",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "python3-mapscript",
            "binary_version": "7.6.4-2build2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@7.6.4-2build2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.6.3-1~exp1ubuntu1",
        "7.6.4-2",
        "7.6.4-2build2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "libmapserver2t64",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "php-mapscript-ng",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "python3-mapscript",
            "binary_version": "8.0.1-4ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@8.0.1-4ubuntu2?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.0.1-2build1",
        "8.0.1-2build2",
        "8.0.1-2build3",
        "8.0.1-2build5",
        "8.0.1-4ubuntu1",
        "8.0.1-4ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "libmapserver2t64",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "php-mapscript-ng",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "python3-mapscript",
            "binary_version": "8.6.0-1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@8.6.0-1build1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.4.0-4build1",
        "8.4.1-1",
        "8.4.1-1build1",
        "8.4.1-2",
        "8.4.1-2build1",
        "8.6.0-1",
        "8.6.0-1build1"
      ]
    }
  ],
  "aliases": [],
  "details": "MapServer is a system for developing web-based GIS applications. Prior to 8.6.4, MapServer\u0027s PostGIS runtime filter translation in src/mappostgis.cpp and msPostGISLayerTranslateFilter() treats a filteritem as numeric when CONNECTIONTYPE POSTGIS and metadata such as gml_\u003citem\u003e_type=Integer are configured, but it does not verify that attacker-controlled CGI qstring or OGC API Features featureId input is a numeric literal. The unquoted input is concatenated into the generated PostgreSQL/PostGIS predicate, allowing an unauthenticated remote attacker with access to an affected query endpoint to bypass predicates, enumerate unintended records, perform boolean-based or time-based SQL injection, and increase database load. The issue does not by itself establish database modification capabilities. This issue is fixed in version 8.6.4.",
  "id": "UBUNTU-CVE-2026-54354",
  "modified": "2026-09-23T23:31:21Z",
  "published": "2026-09-17T21:17:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-54354"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-54354"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/MapServer/MapServer/security/advisories/GHSA-xp29-8wp5-wc3p"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/MapServer/MapServer/pull/7516"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/MapServer/MapServer/commit/bd59d49779d2ecc64ca8dc1281c53231a50b698e"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/MapServer/MapServer/commit/65f1b53c258df2abdf6ce1f437c29e75e9976247"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/MapServer/MapServer/commit/65f1b53c258df2abdf6ce1f437c29e75e9976247"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/MapServer/MapServer/commit/bd59d49779d2ecc64ca8dc1281c53231a50b698e"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/MapServer/MapServer/releases/tag/rel-8-6-4"
    },
    {
      "type": "REPORT",
      "url": "https://mapserver.org/development/changelog/changelog-8-6.html#changelog-8-6"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-54354"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.