{"id":"DEBIAN-CVE-2026-54354","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_\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.","modified":"2026-09-25T08:47:32.823609016Z","published":"2026-09-17T21:17:15.260Z","upstream":["CVE-2026-54354"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-54354"}],"affected":[{"package":{"name":"mapserver","ecosystem":"Debian:12","purl":"pkg:deb/debian/mapserver?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.0.0-3","8.0.0-3+deb12u1","8.0.1-1","8.0.1-1~exp1","8.0.1-2","8.0.1-2.1~exp1","8.0.1-2~bpo12+1","8.0.1-3","8.0.1-3~exp1","8.0.1-4","8.0.1-5","8.0.2-1","8.0.2-1~bpo12+1","8.2.0-1","8.2.0-1~bpo12+1","8.2.0~beta1-1~exp1","8.2.0~beta2-1~exp1","8.2.0~beta3-1~exp1","8.2.0~rc1-1~exp1","8.2.0~rc2-1~exp1","8.2.0~rc3-1~exp1","8.2.1-1","8.2.1-1~bpo12+1","8.2.2-1","8.2.2-1~bpo12+1","8.4.0-1","8.4.0-1~bpo12+1","8.4.0-2","8.4.0-3","8.4.0-4","8.4.0~beta1-1~exp1","8.4.0~beta2-1~exp1","8.4.0~rc1-1~exp1","8.4.1-1","8.4.1-1~bpo13+1","8.4.1-2","8.6.0-1","8.6.0-1~bpo13+1","8.6.0~beta1-1~exp1","8.6.0~beta2-1~exp1","8.6.0~rc1-1~exp1","8.6.1-1","8.6.1-1~bpo13+1","8.6.2-1","8.6.2-1~bpo13+1","8.6.3-1","8.6.3-1~bpo13+1","8.6.4-1","8.6.4-1~bpo13+1","8.6.5-1","8.6.5-1~bpo13+1","8.6.6-1","8.6.6-1~bpo13+1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54354.json"}},{"package":{"name":"mapserver","ecosystem":"Debian:13","purl":"pkg:deb/debian/mapserver?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.0-4","8.4.0-4+deb13u1","8.4.0-4+deb13u2","8.4.1-1","8.4.1-1~bpo13+1","8.4.1-2","8.6.0-1","8.6.0-1~bpo13+1","8.6.0~beta1-1~exp1","8.6.0~beta2-1~exp1","8.6.0~rc1-1~exp1","8.6.1-1","8.6.1-1~bpo13+1","8.6.2-1","8.6.2-1~bpo13+1","8.6.3-1","8.6.3-1~bpo13+1","8.6.4-1","8.6.4-1~bpo13+1","8.6.5-1","8.6.5-1~bpo13+1","8.6.6-1","8.6.6-1~bpo13+1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54354.json"}},{"package":{"name":"mapserver","ecosystem":"Debian:14","purl":"pkg:deb/debian/mapserver?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.6.4-1"}]}],"versions":["8.4.0-4","8.4.1-1","8.4.1-1~bpo13+1","8.4.1-2","8.6.0-1","8.6.0-1~bpo13+1","8.6.0~beta1-1~exp1","8.6.0~beta2-1~exp1","8.6.0~rc1-1~exp1","8.6.1-1","8.6.1-1~bpo13+1","8.6.2-1","8.6.2-1~bpo13+1","8.6.3-1","8.6.3-1~bpo13+1","8.6.4-1~bpo13+1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54354.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L"}]}