CVE-2009-2281 json
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…
published 2009-10-23 17 y ago modified 2026-06-16 4 mo ago also EUVD-2009-2277
- cvss
- 10.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.9%
- EPSS 5.9% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- mapserver Debian 14, Debian 13, Debian 12 5.4.2-1
debian advisories DEBIAN-CVE-2009-2281
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-2281 updated
mapserver: incomplete upstream fix for CVE-2009-0840
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.95% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
security.debian.org
/pool/updates/main/m/mapserver/mapserver_4.10.0-5.1+etch4.diff.gz
patch
-
security.debian.org
/pool/updates/main/m/mapserver/mapserver_5.0.3-3+lenny4.diff.gz
patch
-
debian.org
/security/2009/dsa-1914
vendor-advisory
-
openwall.com
/lists/oss-security/2009/07/01/6
mailing-list
- trac.osgeo.org /mapserver/browser/tags/rel-5-4-2/mapserver/HISTORY.TXT
-
openwall.com
/lists/oss-security/2009/07/01/1
mailing-list
- trac.osgeo.org /mapserver/ticket/2943
Sources
- CVE List CVE-2009-2281
- NVD CVE-2009-2281
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.