CVE-2009-0839
Stack-based buffer overflow in mapserv.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before...
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.
Exploit likelihood
What each source reports
NVD Score used
10.0
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.
- Record
CVE-2009-0839- CVSS 2.0
- 10.0 High
AV:N/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2009-0839- Updated
- 2026-11-02
EUVDEUVD-2009-0836 No score
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.
- Record
EUVD-2009-0836- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9r5g-wj95-f57q No score
Stack-based buffer overflow in mapserv.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before...
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.
- Record
GHSA-9r5g-wj95-f57q- Weakness
- CWE-119
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2009-0839- Updated
- 2026-11-02
OSVDEBIAN-CVE-2009-0839 No score
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.
- Record
DEBIAN-CVE-2009-0839- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mapserverDebian:12 |
before 5.2.2-1 | 5.2.2-1 |
mapserverDebian:13 |
before 5.2.2-1 | 5.2.2-1 |
mapserverDebian:14 |
before 5.2.2-1 | 5.2.2-1 |
mapserverDebian:4.0 From an advisory covering 7 CVEs |
before 4.10.0-5.1+etch4, plus listed versions 4.10.0-5+etch14.10.0-5.1+etch2 |
4.10.0-5.1+etch4 |
mapserverDebian:5.0 From an advisory covering 7 CVEs |
before 5.0.3-3+lenny4, plus listed versions 5.0.3-3 |
5.0.3-3+lenny4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2009-0839 is a high vulnerability (CVSS 10.0) in Osgeo Mapserver, published March 31, 2009. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 9.01%, the 95th percentile. Fixed in mapserver 5.2.2-1.
References
positronsecurity.com/advisories/2009-000.html
securitytracker.com/id?1021952
securityfocus.com/archive/1/502271/100/0/threaded
trac.osgeo.org/mapserver/ticket/2944
secunia.com/advisories/34603
redhat.com/archives/fedora-package-announce/2009-April/msg00170.html
Show 8 moreShow less
securityfocus.com/bid/34306
secunia.com/advisories/34520
debian.org/security/2009/dsa-1914
redhat.com/archives/fedora-package-announce/2009-April/msg00147.html
lists.osgeo.org/pipermail/mapserver-users/2009-March/060600.html
nvd.nist.gov/vuln/detail/CVE-2009-0839
github.com/advisories/GHSA-9r5g-wj95-f57q
security-tracker.debian.org/tracker/CVE-2009-0839