CVE-2026-45104: MapServer is a system for developing web-based GIS applications
CVE-2026-45104 is a high-severity flaw (CVSS 7.5) 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. From 6.4.0 to before 8.6.3, msSLDParseUserStyle always calls _SLDApplyRuleValues(psRule, psLayer, 1); for any <Rule> carrying <ElseFilter/> — it assumes msSLDParseRule added one class. When the rule has no symbolizer (a structurally valid SLD), msSLDParseRule adds zero, and _SLDApplyRuleValues ends up indexing _class[-1], resulting in a NULL pointer dereference. A 200-byte well-form
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · 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-2026-45104?
mapserver: upgrade to 8.6.3. Exact commands for each OS are on this page.
Is CVE-2026-45104 being exploited?
CVE-2026-45104 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-2026-45104 affect?
CVE-2026-45104 affects mapserver. Severity is high (CVSS 7.5). MapServer is a system for developing web-based GIS applications. From 6.4.0 to before 8.6.3, msSLDParseUserStyle always calls _SLDApplyRuleValues(psRule, psLayer, 1); for any <Rule> carrying <ElseFilter/> — it assumes msSLDParseRule added o
How urgent is CVE-2026-45104?
Priority 42/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-42030 MEDIUM 6.1 UPGRADE MapServer is a system for developing web-based GIS applications