Home / Osgeo / Mapserver / CVE-2010-2540
CVE-2010-2540: is it exploited, and which versions of Osgeo Mapserver are affected and fixed?
CVE-2010-2540 is a 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, 08:38 UTC). Affected: mapserver through 4.10.5, mapserver 4.2.0, mapserver 4.4.0 and 17 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, 08:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:50 UTC.
What is CVE-2010-2540?
mapserv.c in mapserv in MapServer before 4.10.6 and 5.x before 5.6.4 does not properly restrict the use of CGI command-line arguments that were intended for debugging, which allows remote attackers to have an unspecified impact via crafted arguments.
From the CVE record by redhat, last updated August 7, 2024, 02:39 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| osgeo | mapserver | through 4.10.5 | 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 |
| umn | mapserver | 4.0 | application |
| osgeo | mapserver | through 5.6.3 | 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 |
NVD analysis (status Modified), last modified June 16, 2026, 23:20 UTC.
How severe is CVE-2010-2540?
| 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-2010-2540 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.83% probability of exploitation activity in the next 30 days, percentile 90.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- [mapserver-users] 20100709 MapServer 5.6.4 and 4.10.6 released with important security fixes mailing-list, x_refsource_MLIST
- 41855 vdb-entry, x_refsource_BID
- http://trac.osgeo.org/mapserver/ticket/3485 x_refsource_CONFIRM
- [oss-security] 20100721 Re: CVE id request: mapserver mailing-list, x_refsource_MLIST
- mapserver-cgi-code-execution(60852) vdb-entry, x_refsource_XF
- [oss-security] 20100721 CVE id request: mapserver mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- June 30, 2010
- Published
- August 2, 2010, 21:00 UTC
- CVE record updated
- August 7, 2024, 02:39 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:20 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:50 UTC; KEV December 3, 2026, 08: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-2704 Osgeo Mapserver: memory corruption (buffer overflow)
- Aug 1, 2011CVE-2011-2703 Osgeo Mapserver: SQL injection
Questions about CVE-2010-2540
Is CVE-2010-2540 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 3.83% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Osgeo Mapserver are affected by CVE-2010-2540?
mapserver through 4.10.5, mapserver 4.2.0, mapserver 4.4.0, mapserver 4.6.0, mapserver 4.8.0, mapserver 4.10.0 and 14 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2010-2540?
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-2010-2540?
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-2010-2540?
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.