CVE-2009-0840 json
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…
published 2009-03-31 17 y ago modified 2026-06-16 4 mo ago also EUVD-2009-0837
- cvss
- 10.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.3%
- EPSS 5.3% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- mapserver Debian 14, Debian 13, Debian 12 5.4.2-1
debian advisories DEBIAN-CVE-2009-0840
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-0840 updated
mapserver: multiple security fixes in 5.2.2 and 4.10.4 (CVE-2009-0839, CVE-2009-0840, CVE-2009-0841, CVE-2009-0842, CVE-2009-0843, CVE-2009-1176, CVE-2009-1177)
-
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.28% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- positronsecurity.com http://www.positronsecurity.com/advisories/2009-000.html referenced PoC, tagged "exploit" by a source, unverified
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
-
lists.osgeo.org
/pipermail/mapserver-users/2009-March/060600.html
mailing-list, patch
-
positronsecurity.com
/advisories/2009-000.html
exploit
-
redhat.com
/archives/fedora-package-announce/2009-April/msg00170.html
vendor-advisory
-
debian.org
/security/2009/dsa-1914
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2009-April/msg00147.html
vendor-advisory
-
trac.osgeo.org
/mapserver/ticket/2943
vendor-advisory
-
securitytracker.com
/id?1021952
vdb-entry
-
securityfocus.com
/archive/1/502271/100/0/threaded
mailing-list
-
secunia.com
/advisories/34603
third-party-advisory
-
securityfocus.com
/bid/34306
vdb-entry
-
secunia.com
/advisories/34520
third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/49545
vdb-entry
Sources
- CVE List CVE-2009-0840
- NVD CVE-2009-0840
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.