Every CVE Search/ Get API key

CVE-2009-0840

Heap-based buffer underflow in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x...

10.0 HighFix available

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.

Exploit likelihood

5.28%Up 3.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 10.0

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.

Record
CVE-2009-0840
CVSS 2.0
10.0 HighAV:N/AC:L/Au:N/C:C/I:C/A:C
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2009-0840
Updated
2026-11-02
EUVDEUVD-2009-0837 No score

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.

Record
EUVD-2009-0837
Updated
2026-11-03
GitHub AdvisoriesGHSA-53rh-gvx6-42x8 No score

Heap-based buffer underflow in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x...

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.

Record
GHSA-53rh-gvx6-42x8
Weakness
CWE-119
Updated
2026-11-02
OSV No score

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.

Record
CVE-2009-0840
Updated
2026-11-02
OSVDEBIAN-CVE-2009-0840 No score

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.

Record
DEBIAN-CVE-2009-0840
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mapserver
Debian:12
before 5.4.2-1
5.4.2-1
mapserver
Debian:13
before 5.4.2-1
5.4.2-1
mapserver
Debian:14
before 5.4.2-1
5.4.2-1
mapserver
Debian:4.0
From an advisory covering 7 CVEs
before 4.10.0-5.1+etch4, plus listed versions
4.10.0-5+etch14.10.0-5.1+etch2
4.10.0-5.1+etch4
mapserver
Debian:5.0
From an advisory covering 7 CVEs
before 5.0.3-3+lenny4, plus listed versions
5.0.3-3
5.0.3-3+lenny4

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2009-0840 is a high vulnerability (CVSS 10.0) in Osgeo Mapserver, published March 31, 2009. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.28%, the 92nd percentile. Fixed in mapserver 5.4.2-1.

References

Show 9 moreShow less
MoveEnter Open