{"id":"CVE-2026-33721","state":"PUBLISHED","title":"MapServer has heap buffer overflow in SLD `Categorize` Threshold parsing","description":"MapServer is a system for developing web-based GIS applications. Starting in version 4.2 and prior to version 8.6.1, a heap-buffer-overflow write in MapServer’s SLD (Styled Layer Descriptor) parser lets a remote, unauthenticated attacker crash the MapServer process by sending a crafted SLD with more than 100 Threshold elements inside a ColorMap/Categorize structure (commonly reachable via WMS GetMap with SLD_BODY). Version 8.6.1 patches the issue.","publishedAt":"2026-03-27T00:15:00.360Z","updatedAt":"2026-04-17T17:18:03.353Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["MapServer MapServer"],"affected":[{"vendor":"MapServer","product":"MapServer","versions":[{"version":">= 4.2, < 8.6.1","status":"affected"}]}],"references":["https://github.com/MapServer/MapServer/security/advisories/GHSA-cv4m-mr84-fgjp","https://github.com/MapServer/MapServer/releases/tag/rel-8-6-1","https://lists.debian.org/debian-lts-announce/2026/04/msg00017.html"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/33xxx/CVE-2026-33721.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-33721","state":"PUBLISHED","datePublished":"2026-03-27T00:15:00.360Z","dateUpdated":"2026-04-17T17:18:03.353Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-23T17:34:57.559Z"},"containers":{"cna":{"title":"MapServer has heap buffer overflow in SLD `Categorize` Threshold parsing","descriptions":[{"lang":"en","value":"MapServer is a system for developing web-based GIS applications. Starting in version 4.2 and prior to version 8.6.1, a heap-buffer-overflow write in MapServer’s SLD (Styled Layer Descriptor) parser lets a remote, unauthenticated attacker crash the MapServer process by sending a crafted SLD with more than 100 Threshold elements inside a ColorMap/Categorize structure (commonly reachable via WMS GetMap with SLD_BODY). Version 8.6.1 patches the issue."}],"affected":[{"vendor":"MapServer","product":"MapServer","versions":[{"version":">= 4.2, < 8.6.1","status":"affected"}]}],"references":[{"url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-cv4m-mr84-fgjp","name":"https://github.com/MapServer/MapServer/security/advisories/GHSA-cv4m-mr84-fgjp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-1","name":"https://github.com/MapServer/MapServer/releases/tag/rel-8-6-1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-27T00:15:00.360Z"},"source":{"advisory":"GHSA-cv4m-mr84-fgjp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-30T11:51:50.279171Z","id":"CVE-2026-33721","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-30T11:52:01.621Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2026/04/msg00017.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-04-17T17:18:03.353Z"}}]}}}