Read the docs
TI-2026-32943 Aliases CVE-2026-45104

MapServer: NULL pointer dereference in SLD `<ElseFilter>` rule parsing reachable via WMS `SLD_BODY`

Priority LOW 39CWE-129Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-129 and the CVSS impact.

Summary

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-formed SLD via the WMS SLD_BODY= parameter is enough to trigger this, no auth required. This vulnerability is fixed in 8.6.3.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0032 25th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed MapServer (MapServer): 8.6.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
OSGeoMapServer6.4.0 to before 8.6.38.6.3Patch availableCNA
  • MapServer VendorOSGeo Affected 6.4.0 to before 8.6.3 Fixed in 8.6.3 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:osgeo:mapserver:*:*:*:*:*:*:*:*6.4.0 to before 8.6.3VulnerableOSGeo
  • cpe:2.3:a:osgeo:mapserver:*:*:*:*:*:*:*:* Versions 6.4.0 to before 8.6.3 Vulnerable ·OSGeo

Remediation

  • Fix · CNA MapServer (MapServer) Fixed in 8.6.3

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-45104

References

  • TI-2025-36983 MapServer - WFS XML Filter Query SQL injection CVSS 4.0HIGH 8.9
  • TI-2026-26100 MapServer has heap buffer overflow in SLD `Categorize` Threshold parsing CVSS 3.1HIGH 7.5
  • TI-2026-30409 MapServer: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in OpenLayers viewer CVSS 3.1MEDIUM 6.1
  • TI-2009-00797 Stack-based buffer overflow in mapserv.c in mapserv in MapServer 4.x before 4.10.4 and… CVSS 2.0HIGH 10.0
  • TI-2009-02173 Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c in… CVSS 2.0HIGH 10.0
  • TI-2009-00799 Directory traversal vulnerability in mapserv.c in mapserv in MapServer 4.x before 4.10.4… CVSS 2.0HIGH 10.0
See all 21 →

Sources