cve.bz

CVE-2009-0840

no score yetExploit referenceEPSS 5.3%Fix available

No CVSS score yet. EPSS 5.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
5.3% (unchanged from 5.3% a week ago; 5.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2009-0840 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2009-0840?via=ask-ai-copy and https://cve.bz/cve/CVE-2009-0840?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2009-0840 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
osgeo:mapserver4.2.0:beta1
osgeo:mapserver4.4.0
osgeo:mapserver4.4.0:beta1
osgeo:mapserver4.4.0:beta2
osgeo:mapserver4.4.0:beta3
osgeo:mapserver4.6.0
osgeo:mapserver4.6.0:beta1
osgeo:mapserver4.6.0:beta2
osgeo:mapserver4.6.0:beta3
osgeo:mapserver4.6.0:rc1
osgeo:mapserver4.8.0:beta1
osgeo:mapserver4.8.0:beta2
osgeo:mapserver4.8.0:beta3
osgeo:mapserver4.8.0:rc1
osgeo:mapserver4.8.0:rc2
osgeo:mapserver4.10.0
osgeo:mapserver4.10.0:beta1
osgeo:mapserver4.10.0:beta2
osgeo:mapserver4.10.0:beta3
osgeo:mapserver4.10.0:rc1
osgeo:mapserver4.10.1
osgeo:mapserver4.10.2
osgeo:mapserver4.10.3
osgeo:mapserver5.0.0
osgeo:mapserver5.0.0:beta1
osgeo:mapserver5.0.0:beta2
osgeo:mapserver5.0.0:beta3
osgeo:mapserver5.0.0:beta4
osgeo:mapserver5.0.0:beta5
osgeo:mapserver5.0.0:beta6
osgeo:mapserver5.0.0:rc1
osgeo:mapserver5.0.0:rc2
osgeo:mapserver5.2.0
osgeo:mapserver5.2.0:beta1
osgeo:mapserver5.2.0:beta2
osgeo:mapserver5.2.0:beta3
osgeo:mapserver5.2.0:beta4
osgeo:mapserver5.2.0:rc1
osgeo:mapserver5.2.1
umn:mapserver4.0
umn:mapserver4.0:beta1
umn:mapserver4.0:beta2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian4.0mapserver4.10.0-5.1+etch4DSA-1914-1
Debian5.0mapserver5.0.3-3+lenny4DSA-1914-1
Debian12, 13, 14mapserver5.4.2-1DEBIAN-CVE-2009-0840

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2009-0840.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON