CVE-2025-59431: mapserver SQL Injection
Vulnerability summary
CVE-2025-59431 is a critical (CVSS 9.8) SQL Injection vulnerability in mapserver. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 34.4% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 19-09-2025PublishedVulnerability first disclosed.
- 19-09-2025Last modifiedVulnerability information updated.
Description
MapServer is a system for developing web-based GIS applications. Prior to 8.4.1, the XML Filter Query directive PropertyName is vulnerably to Boolean-based SQL injection. It seems like expression checking is bypassed by introducing double quote characters in the PropertyName. Allowing to manipulate backend database queries. This vulnerability is fixed in 8.4.1.
CVSS metrics
6 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:PDiffers
- NVDNIST8.9HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
0.00 pp
From 0.41% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundMapserver
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Debian1 product
- mapserver< 8.0.0-3+deb12u1 | < 8.4.0-4+deb13u1 | < 8.4.1-1
Mapserver1 product
- mapserver< 8.4.1
Osgeo1 product
- mapserver8.4.0
Ubuntu1 product
- mapserverAll versions (No fix recorded)
4 vendors · 4 products
References
4 links- github.com/MapServer/MapServer/security/advisories/GHSA-256m-rx4h-r55wX Refsource CONFIRMREPORTExploitVendor Advisory