CVE-2009-0839
No CVSS score yet. EPSS 9.0% estimated probability of exploitation activity in the next 30 days.
On this page
Stack-based buffer overflow in mapserv.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2, when the server has a map with a long IMAGEPATH or NAME attribute, allows remote attackers to execute arbitrary code via a crafted id parameter in a query action.
- EPSS
- 9.0% (unchanged from 9.0% a week ago; 9.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th 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
- Debian: fixed package versions per release
- Vendor advisory: http://trac.osgeo.org/mapserver/ticket/2944
Ask an AI about this CVE
Show the prompt
Explain CVE-2009-0839 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2009-0839?via=ask-ai-copy and https://cve.bz/cve/CVE-2009-0839?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-0839 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.
| Product | Affected |
|---|---|
| osgeo:mapserver | 4.2.0:beta1 |
| osgeo:mapserver | 4.4.0 |
| osgeo:mapserver | 4.4.0:beta1 |
| osgeo:mapserver | 4.4.0:beta2 |
| osgeo:mapserver | 4.4.0:beta3 |
| osgeo:mapserver | 4.6.0 |
| osgeo:mapserver | 4.6.0:beta1 |
| osgeo:mapserver | 4.6.0:beta2 |
| osgeo:mapserver | 4.6.0:beta3 |
| osgeo:mapserver | 4.6.0:rc1 |
| osgeo:mapserver | 4.8.0:beta1 |
| osgeo:mapserver | 4.8.0:beta2 |
| osgeo:mapserver | 4.8.0:beta3 |
| osgeo:mapserver | 4.8.0:rc1 |
| osgeo:mapserver | 4.8.0:rc2 |
| osgeo:mapserver | 4.10.0 |
| osgeo:mapserver | 4.10.0:beta1 |
| osgeo:mapserver | 4.10.0:beta2 |
| osgeo:mapserver | 4.10.0:beta3 |
| osgeo:mapserver | 4.10.0:rc1 |
| osgeo:mapserver | 4.10.1 |
| osgeo:mapserver | 4.10.2 |
| osgeo:mapserver | 4.10.3 |
| osgeo:mapserver | 5.0.0 |
| osgeo:mapserver | 5.0.0:beta1 |
| osgeo:mapserver | 5.0.0:beta2 |
| osgeo:mapserver | 5.0.0:beta3 |
| osgeo:mapserver | 5.0.0:beta4 |
| osgeo:mapserver | 5.0.0:beta5 |
| osgeo:mapserver | 5.0.0:beta6 |
| osgeo:mapserver | 5.0.0:rc1 |
| osgeo:mapserver | 5.0.0:rc2 |
| osgeo:mapserver | 5.2.0 |
| osgeo:mapserver | 5.2.0:beta1 |
| osgeo:mapserver | 5.2.0:beta2 |
| osgeo:mapserver | 5.2.0:beta3 |
| osgeo:mapserver | 5.2.0:beta4 |
| osgeo:mapserver | 5.2.0:rc1 |
| osgeo:mapserver | 5.2.1 |
| umn:mapserver | 4.0 |
| umn:mapserver | 4.0:beta1 |
| umn:mapserver | 4.0:beta2 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 4.0 | mapserver | 4.10.0-5.1+etch4 | DSA-1914-1 |
| Debian | 5.0 | mapserver | 5.0.3-3+lenny4 | DSA-1914-1 |
| Debian | 12, 13, 14 | mapserver | 5.2.2-1 | DEBIAN-CVE-2009-0839 |
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-0839.
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
- http://trac.osgeo.org/mapserver/ticket/2944
- http://lists.osgeo.org/pipermail/mapserver-users/2009-March/060600.html
- http://secunia.com/advisories/34520
- http://secunia.com/advisories/34603
- http://www.debian.org/security/2009/dsa-1914
- http://www.positronsecurity.com/advisories/2009-000.html
- http://www.securityfocus.com/archive/1/502271/100/0/threaded
- http://www.securityfocus.com/bid/34306
- http://www.securitytracker.com/id?1021952
- https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00147.html
- https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00170.html