CVE-2025-59431: MapServer is a system for developing web-based GIS applications
CVE-2025-59431 is a critical-severity flaw (CVSS 9.8) affecting mapserver. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 64%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2025-09-19 |
| Last modified | 2026-10-19 |
Last updated 2026-10-19 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-59431?
mapserver: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2025-59431 being exploited?
CVE-2025-59431 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-59431 affect?
CVE-2025-59431 affects mapserver. Severity is critical (CVSS 9.8). 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 q
How urgent is CVE-2025-59431?
Priority 53/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-45104 HIGH 7.5 UPGRADE MapServer is a system for developing web-based GIS applications
- CVE-2026-42030 MEDIUM 6.1 UPGRADE MapServer is a system for developing web-based GIS applications
- CVE-2026-33721 MEDIUM 5.3 UPGRADE MapServer is a system for developing web-based GIS applications
- CVE-2021-32062 MEDIUM 5.3 UPGRADE MITIGATE MapServer before 7.0.8, 7.1.x and 7.2.x before 7.2.3, 7.3.x and 7.4.x before 7.4.5, and 7.5.x and 7.6.x before
- CVE-2017-5522 CRITICAL 9.8 MITIGATE UPGRADE Stack-based buffer overflow in MapServer before 6.0.6, 6.2.x before 6.2.4, 6.4.x before 6.4.5, and 7.0.x befor