Vulnerabilities · 2009 · Osgeo
CVE-2009-0840
Osgeo Mapserver vulnerability
Heap-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 attackers to have an unknown impact via a negative value in the Content-Length HTTP header.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Mapserver. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Osgeo Mapserver runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- trac.osgeo.org/mapserver/ticket/2943 · Vendor Advisory
- lists.osgeo.org/pipermail/mapserver-users/2009-March/060600.html · Patch
- www.positronsecurity.com/advisories/2009-000.html · Exploit
- secunia.com/advisories/34520
- secunia.com/advisories/34603
- www.debian.org/security/2009/dsa-1914
- www.securityfocus.com/archive/1/502271/100/0/threaded
- www.securityfocus.com/bid/34306
- nvd.nist.gov/vuln/detail/CVE-2009-0840
- cve.org/CVERecord?id=CVE-2009-0840
More vulnerabilities in Osgeo products
CVE-2025-59431CVE-2025-30220CVE-2025-30145CVE-2025-29480CVE-2025-27505CVE-2024-40625CVE-2024-38524CVE-2024-35230All 41
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.