CVE-2017-5522
CVE-2017-5522 is a critical-severity vulnerability in Osgeo Mapserver with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 5% (92nd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Osgeo Mapserver
- Published:
- Last modified:
Description
Stack-based buffer overflow in MapServer before 6.0.6, 6.2.x before 6.2.4, 6.4.x before 6.4.5, and 7.0.x before 7.0.4 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via vectors involving WFS get feature requests.
Frequently asked questions
- What is CVE-2017-5522?
- Stack-based buffer overflow in MapServer before 6.0.6, 6.2.x before 6.2.4, 6.4.x before 6.4.5, and 7.0.x before 7.0.4 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via vectors involving WFS get feature requests.
- How severe is CVE-2017-5522?
- CVE-2017-5522 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2017-5522 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 5% (92nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2017-5522?
- CVE-2017-5522 primarily affects Osgeo Mapserver. In total, 25 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2017-5522?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2017-5522 published?
- CVE-2017-5522 was published on 2017-03-15 and last updated on 2026-06-17.
References
- http://www.debian.org/security/2017/dsa-3766
- http://www.mapserver.org/development/changelog/changelog-6-0-6.html#changelog-6-0-6
- http://www.mapserver.org/development/changelog/changelog-6-2-4.html#changelog-6-2-4
- http://www.mapserver.org/development/changelog/changelog-6-4.html#changelog-6-4-5
- http://www.mapserver.org/development/changelog/changelog-7-0.html#changelog-7-0-4
- https://github.com/mapserver/mapserver/commit/e52a436c0e1c5e9f7ef13428dba83194a800f4df
- https://lists.osgeo.org/pipermail/mapserver-dev/2017-January/015007.html
Affected products (25)
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:*:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.2.0:beta1:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.2.0:beta2:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.2.0:beta3:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.2.0:beta4:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.2.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.2.1:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.2.2:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.2.3:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.4.0:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.4.0:beta1:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.4.0:beta2:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.4.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.4.1:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.4.2:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.4.3:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:6.4.4:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:7.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:7.0.0:beta1:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:7.0.0:beta2:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:7.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:7.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:mapserver:7.0.3:*:*:*:*:*:*:*
More vulnerabilities in Osgeo Mapserver
- CVE-2010-2540 — Critical (CVSS 10.0): mapserv.c in mapserv in MapServer before 4.10.6 and 5.x before 5.6.4 does not properly restrict the use of CGI…
- CVE-2009-2281 — Critical (CVSS 10.0): Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x through…
- CVE-2009-1177 — Critical (CVSS 10.0): Multiple stack-based buffer overflows in maptemplate.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2…
- CVE-2009-1176 — Critical (CVSS 10.0): mapserv.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2 does not ensure that the string holding the id…
- CVE-2009-0841 — Critical (CVSS 10.0): Directory traversal vulnerability in mapserv.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2, when…
- CVE-2009-0840 — Critical (CVSS 10.0): Heap-based buffer underflow in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x before 4.10.4 and 5.x…
All CVEs affecting Osgeo Mapserver →
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-105285 — Critical (CVSS 10.0): A security vulnerability has been detected in Totolink A3002MU 1.0.0-B20230403.1455. This affects an unknown function…
- CVE-2026-104610 — Critical (CVSS 10.0): A security vulnerability has been detected in Tenda HG7, HG9 and HG10 300001138_en_xpon. This impacts the function…
- CVE-2026-101039 — Critical (CVSS 10.0): A vulnerability was identified in FAST FAC1900R 20190827_2.0.2. Affected by this issue is the function copy_msg_element…
- CVE-2026-96257 — Critical (CVSS 10.0): A flaw has been found in Fast FAC1203R Gigabit Edition 2.0.4. Affected by this issue is the function copy_msg_element…
- CVE-2026-94089 — Critical (CVSS 10.0): A vulnerability was determined in D-Link DIR-868L 2.01b05. This issue affects the function strcpy of the file…
- CVE-2026-94003 — Critical (CVSS 10.0): A vulnerability has been found in Comfast CF-N1-S 2.6.0.1. Impacted is the function get_css_path_from_uri of the file…