What’s Vulnerable › Vulnerabilities
CVE-2009-2281
- Severity: critical (CVSS 10.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2009-10-23 · updated 2026-06-16
- Weakness: CWE-119
Description
Multiple 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 remote attackers to execute arbitrary code via (1) a crafted Content-Length HTTP header or (2) a large HTTP request, related to an integer overflow that triggers a heap-based buffer overflow. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2009-0840.
Affected products
- MapServer: 4.2.0-beta1, 4.4.0, 4.4.0-beta1, 4.4.0-beta2, 4.4.0-beta3, 4.6.0 (+41)
- Umn Mapserver: 4.0, 4.0-beta1, 4.0-beta2
References
- http://security.debian.org/pool/updates/main/m/mapserver/mapserver_4.10.0-5.1+etch4.diff.gz
- http://security.debian.org/pool/updates/main/m/mapserver/mapserver_5.0.3-3+lenny4.diff.gz
- http://trac.osgeo.org/mapserver/browser/tags/rel-5-4-2/mapserver/HISTORY.TXT
- http://trac.osgeo.org/mapserver/ticket/2943
- http://www.debian.org/security/2009/dsa-1914
- http://www.openwall.com/lists/oss-security/2009/07/01/1
- http://www.openwall.com/lists/oss-security/2009/07/01/6
- http://security.debian.org/pool/updates/main/m/mapserver/mapserver_4.10.0-5.1+etch4.diff.gz
- http://security.debian.org/pool/updates/main/m/mapserver/mapserver_5.0.3-3+lenny4.diff.gz
- http://trac.osgeo.org/mapserver/browser/tags/rel-5-4-2/mapserver/HISTORY.TXT
- http://trac.osgeo.org/mapserver/ticket/2943
- http://www.debian.org/security/2009/dsa-1914
Get alerted when CVE-2009-2281 or the next vulnerability affects your stack