{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-45104 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-45104 is a high-severity vulnerability in MapServer, published on 27 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-45104 and fix it if it is affected.\n\nWhat it is: CVE-2026-45104 is a high-severity vulnerability in MapServer, published on 27 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-45104 in the wild and no public exploit code.\n\nAffected product: MapServer. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-45104/ (Markdown: https://insights.sbomify.com/CVE-2026-45104/index.md)","id":"CVE-2026-45104","markdown":"https://insights.sbomify.com/CVE-2026-45104/index.md","name":"CVE-2026-45104","record":{"aliases":["DEBIAN-CVE-2026-45104","GHSA-4h8g-378q-r75m","UBUNTU-CVE-2026-45104"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"GIS web server","requires_auth":"none","summary":"Unauthenticated attackers can cause a denial of service in MapServer by sending a malformed SLD_BODY parameter to the WMS interface.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"mapserver","vendor":"osgeo"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"},{"id":"CWE-129","name":"Improper Validation of Array Index"}],"description":"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 \u003cRule\u003e carrying \u003cElseFilter/\u003e — 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"MapServer: NULL pointer dereference in SLD `\u003cElseFilter\u003e` rule parsing reachable via WMS `SLD_BODY`","id":"CVE-2026-45104","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"null_dereference","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Weblate: Stored HTML injection in editor search preview","id":"CVE-2026-45106"},"packages":[],"prev":{"headline":"OpenSIPS: SIP Message Smuggling via TCP Content-Length Integer Overflow","id":"CVE-2026-45103"},"products":["MapServer"],"published":"2026-05-27","related":[{"cvss_score":10,"headline":"Security feature bypass in n/a","id":"CVE-2010-2540","kev_date_added":null,"published":"2010-08-02"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2009-2281","kev_date_added":null,"published":"2009-10-23"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2009-0839","kev_date_added":null,"published":"2009-03-31"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2009-0840","kev_date_added":null,"published":"2009-03-31"},{"cvss_score":10,"headline":"Path traversal in n/a","id":"CVE-2009-0841","kev_date_added":null,"published":"2009-03-31"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2009-1176","kev_date_added":null,"published":"2009-03-31"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2009-1177","kev_date_added":null,"published":"2009-03-31"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-01","vendors":["MapServer"]},"summary":"Unauthenticated attackers can cause a denial of service in MapServer by sending a malformed SLD_BODY parameter to the WMS interface.","url":"https://insights.sbomify.com/CVE-2026-45104/"}