← Vulnerability feed

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

CVE-2009-0843: Osgeo mapserver improper input validation vulnerability

Osgeo · Mapserver

The msLoadQuery function in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2 allows remote attackers to determine the existence of arbitrary files via a full pathname in the queryfile parameter, which triggers different error messages depending on whether this pathname exists.

7.8 CVSS 2.0 High EPSS 3.1% · top 12.6% CWE-20 · Improper input validation
7.8CVSS 2.0 base score
3.1%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
22References
16 Jun 2026Last modified by NVD

Description

The msLoadQuery function in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2 allows remote attackers to determine the existence of arbitrary files via a full pathname in the queryfile parameter, which triggers different error messages depending on whether this pathname exists.

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

Affected products

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

References

Track CVE-2009-0843 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-0839Osgeo mapserver memory buffer overflow vulnerabilityStack-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 IMAGEP…EPSS 9.0%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%

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