PT-2026-44078 · Mapserver · Mapserver

·

CVE-2026-45104

·

Published

2026-05-07

·

Updated

2026-05-27

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions MapServer versions 6.4.0 through 8.6.2
Description A NULL pointer dereference occurs when the msSLDParseUserStyle function calls SLDApplyRuleValues(psRule, psLayer, 1) for any <Rule> containing an <ElseFilter/>. The system assumes msSLDParseRule added one class; however, if the rule lacks a symbolizer, msSLDParseRule adds zero classes, leading the system to index class[-1]. This can be triggered without authentication using a well-formed 200-byte SLD via the 'SLD BODY=' parameter in the WMS endpoint.
Recommendations Update to version 8.6.3.

Exploit

Fix

NULL Pointer Dereference

Improper Validation of Array Index

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-12860
CVE-2026-45104
GHSA-4H8G-378Q-R75M
OPENSUSE-SU-2026:20857-1

Affected Products

Mapserver