← Vulnerability feed

Vulnerability record · CVE-2009-0839 · published 31 March 2009

CVE-2009-0839: Osgeo mapserver memory buffer overflow vulnerability

Osgeo · Mapserver

Stack-based buffer overflow in mapserv.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2, when the server has a map with a long IMAGEPATH or NAME attribute, allows remote attackers to execute arbitrary code via a crafted id parameter in a query action.

10.0 CVSS 2.0 High EPSS 9.0% · top 4.9% CWE-119 · Memory buffer overflow
10.0CVSS 2.0 base score
9.0%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
22References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

Stack-based buffer overflow in mapserv.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2, when the server has a map with a long IMAGEPATH or NAME attribute, allows remote attackers to execute arbitrary code via a crafted id parameter in a query action.

AV:N/AC:L/Au:N/C:C/I:C/A:C

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2009-0839 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2010-2540Osgeo mapserver permissions and access controls vulnerabilitymapserv.c in mapserv in MapServer before 4.10.6 and 5.x before 5.6.4 does not properly restrict the use of CGI command-line arguments that were inten…EPSS 3.8%10.0CVE-2009-2281Osgeo mapserver memory buffer overflow vulnerabilityMultiple heap-based buffer underflows in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x through 4.10.4 and 5.x before 5.4.2 allow…EPSS 5.9%10.0CVE-2009-0840Osgeo mapserver memory buffer overflow vulnerabilityHeap-based buffer underflow in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2 allows remote at…EPSS 5.3%10.0CVE-2009-0841Osgeo mapserver path traversal vulnerabilityDirectory traversal vulnerability in mapserv.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2, when running on Windows with Cygwin, a…EPSS 5.3%10.0CVE-2009-1176Osgeo mapserver memory buffer overflow vulnerabilitymapserv.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 parameter ends in a '\0' char…EPSS 4.1%10.0CVE-2009-1177Osgeo mapserver memory buffer overflow vulnerabilityMultiple stack-based buffer overflows in maptemplate.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2 have unknown impact and remote …EPSS 2.9%9.8CVE-2017-5522Debian linux memory buffer overflow vulnerabilityStack-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 caus…EPSS 4.8%8.9CVE-2025-59431Osgeo mapserver sql injection vulnerabilityMapServer is a system for developing web-based GIS applications. Prior to 8.4.1, the XML Filter Query directive PropertyName is vulnerably to Boolean…EPSS 0.42%

Source: NIST National Vulnerability Database (record CVE-2009-0839), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.