CVE-2009-2281
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
5.949%
chance of exploitation in the next 30 days
higher than 93.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Timeline
- 2009-10-23Published by the CNA18:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| osgeo mapserver | 4.10.0no fix listed4.10.1no fix listed4.10.2no fix listed4.10.3no fix listed4.10.4no fix listed(+8 more) | not listednot listednot listednot listednot listed |
| umn mapserver | 4.0no fix listed | not listed |
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://www.debian.org/security/2009/dsa-1914
- http://trac.osgeo.org/mapserver/browser/tags/rel-5-4-2/mapserver/HISTORY.TXT
- http://trac.osgeo.org/mapserver/ticket/2943
- http://www.openwall.com/lists/oss-security/2009/07/01/1
- http://www.openwall.com/lists/oss-security/2009/07/01/6
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2009-2281'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2009-2281'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2009-2281'curl 'https://api.contrastcyber.com/cve_products/CVE-2009-2281'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).