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% (91st 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% (91st 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-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.