Home / Osgeo / Mapserver / CVE-2011-2704
CVE-2011-2704: is it exploited, and which versions of Osgeo Mapserver are affected and fixed?
CVE-2011-2704 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, 06:38 UTC). Affected: mapserver through 4.10.6, mapserver 4.2.0, mapserver 4.4.0 and 22 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:49 UTC.
What is CVE-2011-2704?
Stack-based buffer overflow in MapServer before 4.10.7 and 5.x before 5.6.7 allows remote attackers to execute arbitrary code via vectors related to OGC filter encoding.
From the CVE record by redhat, last updated August 6, 2024, 23:08 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| osgeo | mapserver | through 4.10.6 | application |
| 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 | 4.10.5 | application |
| osgeo | mapserver | 5.0.0 | application |
| osgeo | mapserver | 5.2.0 | application |
| osgeo | mapserver | 5.2.1 | application |
| osgeo | mapserver | 5.4.0 | application |
| osgeo | mapserver | 5.4.1 | application |
| osgeo | mapserver | 5.4.2 | application |
| osgeo | mapserver | 5.6.0 | application |
| osgeo | mapserver | 5.6.1 | application |
| osgeo | mapserver | 5.6.3 | application |
| umn | mapserver | 5.2.2 | application |
| umn | mapserver | 5.2.3 | application |
| umn | mapserver | 5.6.4 | application |
| umn | mapserver | 5.6.5 | application |
| umn | mapserver | 5.6.6 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:31 UTC.
How severe is CVE-2011-2704?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | 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-2011-2704 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 5.22% probability of exploitation activity in the next 30 days, percentile 92.7 (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?
- http://trac.osgeo.org/mapserver/ticket/3903 x_refsource_CONFIRM
- mapserver-ogc-bo(68719) vdb-entry, x_refsource_XF
- 45257 third-party-advisory, x_refsource_SECUNIA
- DSA-2285 vendor-advisory, x_refsource_DEBIAN
- https://bugzilla.redhat.com/show_bug.cgi?id=723293 x_refsource_CONFIRM
- [oss-security] 20110719 CVE Request -- MapServer -- Stack based buffer overflow [was: Re: Re: CVE Request -- MapServer -- SQL injections in OGC filter encoding mailing-list, x_refsource_MLIST
- 45368 third-party-advisory, x_refsource_SECUNIA
- [mapserver-users] 20110713 MapServer 6.0.1, 5.6.7 and 4.10.7 releases with security fixes mailing-list, x_refsource_MLIST
- 48720 vdb-entry, x_refsource_BID
- [oss-security] 20110720 Re: CVE Request -- MapServer -- Stack based buffer overflow [was: Re: Re: CVE Request -- MapServer -- SQL injections in OGC filter encod mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- July 11, 2011
- Published
- August 1, 2011, 19:00 UTC
- CVE record updated
- August 6, 2024, 23:08 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:31 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:49 UTC; KEV December 3, 2026, 06:38 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-2703 Osgeo Mapserver: SQL injection
- Aug 2, 2010CVE-2010-2540 Osgeo Mapserver: n/a
Questions about CVE-2011-2704
Is CVE-2011-2704 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 5.22% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Osgeo Mapserver are affected by CVE-2011-2704?
mapserver through 4.10.6, mapserver 4.2.0, mapserver 4.4.0, mapserver 4.6.0, mapserver 4.8.0, mapserver 4.10.0 and 19 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2011-2704?
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-2011-2704?
High (7.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2011-2704?
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.