CVE-2009-0839 Memory corruption in n/a

Critical 10.0 Published Updated

Remote attackers can execute arbitrary code via a crafted parameter if the server uses maps with long IMAGEPATH or NAME attributes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2009-0839?

CVE-2009-0839 is a critical memory corruption vulnerability in n/a, published on 31 Mar 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-119

Which versions are affected by CVE-2009-0839?

It affects 2 products.

Products include Osgeo Mapserver, Umn Mapserver.

How do I fix CVE-2009-0839?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2009-0839 being exploited?

There is no known exploitation of CVE-2009-0839 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2009-0839, GHSA-9r5g-wj95-f57q.

Is CVE-2009-0839 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free