CVE-2009-0840

Summary

CVECVE-2009-0840
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2009-03-31 18:24:45 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionHeap-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.

Risk And Classification

Primary CVSS: v2.0 10 from [email protected]

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

Problem Types: CWE-119 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Osgeo Mapserver 4.10.0 All All All
Application Osgeo Mapserver 4.10.0 beta1 All All
Application Osgeo Mapserver 4.10.0 beta2 All All
Application Osgeo Mapserver 4.10.0 beta3 All All
Application Osgeo Mapserver 4.10.0 rc1 All All
Application Osgeo Mapserver 4.10.1 All All All
Application Osgeo Mapserver 4.10.2 All All All
Application Osgeo Mapserver 4.10.3 All All All
Application Osgeo Mapserver 4.2.0 beta1 All All
Application Osgeo Mapserver 4.4.0 All All All
Application Osgeo Mapserver 4.4.0 beta1 All All
Application Osgeo Mapserver 4.4.0 beta2 All All
Application Osgeo Mapserver 4.4.0 beta3 All All
Application Osgeo Mapserver 4.6.0 All All All
Application Osgeo Mapserver 4.6.0 beta1 All All
Application Osgeo Mapserver 4.6.0 beta2 All All
Application Osgeo Mapserver 4.6.0 beta3 All All
Application Osgeo Mapserver 4.6.0 rc1 All All
Application Osgeo Mapserver 4.8.0 beta1 All All
Application Osgeo Mapserver 4.8.0 beta2 All All
Application Osgeo Mapserver 4.8.0 beta3 All All
Application Osgeo Mapserver 4.8.0 rc1 All All
Application Osgeo Mapserver 4.8.0 rc2 All All
Application Osgeo Mapserver 5.0.0 All All All
Application Osgeo Mapserver 5.0.0 beta1 All All
Application Osgeo Mapserver 5.0.0 beta2 All All
Application Osgeo Mapserver 5.0.0 beta3 All All
Application Osgeo Mapserver 5.0.0 beta4 All All
Application Osgeo Mapserver 5.0.0 beta5 All All
Application Osgeo Mapserver 5.0.0 beta6 All All
Application Osgeo Mapserver 5.0.0 rc1 All All
Application Osgeo Mapserver 5.0.0 rc2 All All
Application Osgeo Mapserver 5.2.0 All All All
Application Osgeo Mapserver 5.2.0 beta1 All All
Application Osgeo Mapserver 5.2.0 beta2 All All
Application Osgeo Mapserver 5.2.0 beta3 All All
Application Osgeo Mapserver 5.2.0 beta4 All All
Application Osgeo Mapserver 5.2.0 rc1 All All
Application Osgeo Mapserver 5.2.1 All All All
Application Umn Mapserver 4.0 All All All
Application Umn Mapserver 4.0 beta1 All All
Application Umn Mapserver 4.0 beta2 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Fedora update for mapserver - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
[mapserver-users] MapServer 5.2.2 and 4.10.4 released with security fixes af854a3a-2127-422b-91ae-364da2661108 lists.osgeo.org Patch
Security Advisory SA34520 - MapServer Multiple Vulnerabilities - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
[SECURITY] Fedora 10 Update: mapserver-5.2.2-1.fc10 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
MapServer Buffer Overflows and Other Bugs Let Remote Users Execute Arbitrary Code and Create Files on the Target System - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
#2943 (Setting CONTENT_LENGTH of -1 for a POST request can lead to a buffer underflow error.) - MapServer - Trac af854a3a-2127-422b-91ae-364da2661108 trac.osgeo.org Vendor Advisory
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
[SECURITY] Fedora 9 Update: mapserver-5.2.2-1.fc9 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Positron Security LLC: Security Advisory #2009-000: Multiple Vulnerabilities in MapServer v5.2.1 and v4.10.3 af854a3a-2127-422b-91ae-364da2661108 www.positronsecurity.com Exploit
Debian -- Security Information -- DSA-1914-1 mapserver af854a3a-2127-422b-91ae-364da2661108 www.debian.org
MapServer Multiple Security Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report