CVE-2009-3050 Memory corruption in n/a

Critical 10.0 Published Updated

A buffer overflow in HTMLDOC allows attackers to execute arbitrary code via a crafted document with a long MEDIA SIZE comment.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2009-3050?

CVE-2009-3050 is a critical memory corruption vulnerability in n/a, published on 2 Sep 2009. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Buffer overflow in the set_page_size function in util.cxx in HTMLDOC 1.8.27 and earlier allows context-dependent attackers to execute arbitrary code via a long MEDIA SIZE comment. NOTE: it was later reported that there were additional vectors in htmllib.cxx and ps-pdf.cxx using an AFM font file with a long glyph name, but these vectors do not cross privilege boundaries.

Weakness: CWE-119

Which versions are affected by CVE-2009-3050?

It affects 1 product.

Linux distribution packages (1)
htmldoc openSUSE:TumbleweedAll versions1.8.28-2.4

Products include Htmldoc Htmldoc.

How do I fix CVE-2009-3050?

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-3050 being exploited?

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

Sources

Also known as DEBIAN-CVE-2009-3050, GHSA-qmc2-x7wp-66p7, openSUSE-SU-2024:10463-1.

Is CVE-2009-3050 in your software?

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

Check your SBOMs for free