Home / Osgeo / Mapserver / CVE-2009-2281
CVE-2009-2281: is it exploited, and which versions of Osgeo Mapserver are affected and fixed?
CVE-2009-2281 is a memory corruption (buffer overflow) vulnerability in Osgeo Mapserver. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: mapserver 4.2.0, mapserver 4.4.0, mapserver 4.6.0 and 11 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (10.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
What is CVE-2009-2281?
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.
From the CVE record by mitre, last updated September 16, 2024, 16:23 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| osgeo | mapserver | 4.2.0 | application |
| osgeo | mapserver | 4.4.0 | application |
| osgeo | mapserver | 4.6.0 | application |
| osgeo | mapserver | 4.8.0 | application |
| osgeo | mapserver | 4.10.0 | application |
| osgeo | mapserver | 4.10.1 | application |
| osgeo | mapserver | 4.10.2 | application |
| osgeo | mapserver | 4.10.3 | application |
| osgeo | mapserver | 4.10.4 | application |
| osgeo | mapserver | 5.0.0 | application |
| osgeo | mapserver | 5.2.0 | application |
| osgeo | mapserver | 5.4.0 | application |
| osgeo | mapserver | 5.4.1 | application |
| umn | mapserver | 4.0 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:09 UTC.
How severe is CVE-2009-2281?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2009-2281 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 5.95% probability of exploitation activity in the next 30 days, percentile 93.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- [oss-security] 20090701 Re: incorrect upstream fix for CVE-2009-0840 (mapserver) mailing-list, x_refsource_MLIST
- http://security.debian.org/pool/updates/main/m/mapserver/mapserver_4.10.0-5.1+etch4.diff.gz x_refsource_CONFIRM
- http://trac.osgeo.org/mapserver/browser/tags/rel-5-4-2/mapserver/HISTORY.TXT x_refsource_CONFIRM
- [oss-security] 20090701 Re: incorrect upstream fix for CVE-2009-0840 (mapserver) mailing-list, x_refsource_MLIST
- DSA-1914 vendor-advisory, x_refsource_DEBIAN
- http://trac.osgeo.org/mapserver/ticket/2943 x_refsource_CONFIRM
- http://security.debian.org/pool/updates/main/m/mapserver/mapserver_5.0.3-3+lenny4.diff.gz x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- July 1, 2009
- Published
- October 23, 2009, 18:00 UTC
- CVE record updated
- September 16, 2024, 16:23 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:09 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mapserver?
- May 5, 2021CVE-2021-32062 Osgeo Mapserver: path traversal (reading or writing files outside the intended folder)
- Oct 29, 2019CVE-2010-1678 Osgeo Mapserver: improper input validation
- Mar 15, 2017CVE-2017-5522 Debian Linux: memory corruption (buffer overflow)
- Dec 8, 2016CVE-2016-9839 Osgeo Mapserver: information disclosure
- Jan 5, 2014CVE-2013-7262 Osgeo Mapserver: SQL injection
- Aug 1, 2011CVE-2011-2975 Osgeo Mapserver: n/a
- Aug 1, 2011CVE-2011-2704 Osgeo Mapserver: memory corruption (buffer overflow)
- Aug 1, 2011CVE-2011-2703 Osgeo Mapserver: SQL injection
Questions about CVE-2009-2281
Is CVE-2009-2281 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 5.95% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Osgeo Mapserver are affected by CVE-2009-2281?
mapserver 4.2.0, mapserver 4.4.0, mapserver 4.6.0, mapserver 4.8.0, mapserver 4.10.0, mapserver 4.10.1 and 8 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2009-2281?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2009-2281?
High (10.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2009-2281?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.