USN-9495-1: MapServer vulnerabilities

Wait 5 sec.

It was discovered that MapServer did not properly enforce restrictionson the locations from which a mapfile could be loaded. A remoteattacker could possibly use this issue to load unintended mapfiles.This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu20.04 LTS. (CVE-2021-32062)It was discovered that MapServer incorrectly handled certain XML filterqueries. A remote attacker could possibly use this issue to perform SQLinjection attacks. This issue only affected Ubuntu 16.04 LTS, Ubuntu18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS.(CVE-2025-59431)It was discovered that MapServer incorrectly handled certain Styled LayerDescriptor files. A remote attacker could possibly use this issue tocause MapServer to crash, resulting in a denial of service.(CVE-2026-33721)It was discovered that MapServer incorrectly handled certain WMSrequests. A remote attacker could possibly use this issue to executearbitrary JavaScript in a victim's browser, resulting in a cross-sitescripting attack. (CVE-2026-42030)It was discovered that MapServer incorrectly handled certain Styled LayerDescriptor files. A remote attacker could possibly use this issue tocause MapServer to crash, resulting in a denial of service.(CVE-2026-45104)It was discovered that MapServer incorrectly handled certain forwardedhost headers in its OpenLayers output. A remote attacker could possiblyuse this issue to execute arbitrary JavaScript in a victim's browser,resulting in a cross-site scripting attack. (CVE-2026-54355)It was discovered that MapServer incorrectly handled certain requestparameters in its OGC API Features HTML output. A remote attacker couldpossibly use this issue to execute arbitrary JavaScript in a victim'sbrowser, resulting in a cross-site scripting attack. This issue onlyaffected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-77323)It was discovered that MapServer incorrectly handled certain WCSGetCoverage requests. A remote attacker could possibly use this issue tocause MapServer to crash, resulting in a denial of service.(CVE-2026-77324)It was discovered that MapServer did not properly sanitize certainvalues in its OpenLayers output. A remote attacker could possibly usethis issue to execute arbitrary JavaScript in a victim's browser,resulting in a cross-site scripting attack. (CVE-2026-77325)It was discovered that MapServer incorrectly handled certain WMSGetLegendGraphic requests. A remote attacker could possibly use thisissue to cause MapServer to crash, resulting in a denial of service, orpossibly execute arbitrary code. (CVE-2026-77326)It was discovered that MapServer incorrectly handled certain values inPostgreSQL JOIN queries. An attacker could possibly use this issue toperform SQL injection attacks and obtain sensitive information.(CVE-2026-77328)