{"id":"CVE-2026-45104","sourceIdentifier":"security-advisories@github.com","published":"2026-05-27T20:16:38.407","lastModified":"2026-06-17T10:51:41.237","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"MapServer","product":"MapServer","versions":[{"version":">= 6.4.0, < 8.6.3","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-06-01T17:05:19.453049Z","id":"CVE-2026-45104","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-129"},{"lang":"en","value":"CWE-476"}]},{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-476"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:osgeo:mapserver:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4.0","versionEndExcluding":"8.6.3","matchCriteriaId":"4AAA7910-F8F4-458C-9B04-36E12AFAD9F3"}]}]}],"references":[{"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-4h8g-378q-r75m","source":"security-advisories@github.com","tags":["Exploit","Mitigation","Vendor Advisory"]}]}