Skip to content
Fencer Vulns
critical 10.0

CVE-2009-3050 json

Buffer overflow in the set_page_size function in util.cxx in HTMLDOC 1.8.27 and earlier allows context-dependent attackers to execute arbit…

published 2009-09-02 17 y ago modified 2026-06-16 4 mo ago also EUVD-2009-3034

cvss
10.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.4%
EPSS 4.4% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

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.

Patch / fix

  • htmldoc Debian 14, Debian 13, Debian 12 1.8.27-4.1

debian advisories DEBIAN-CVE-2009-3050

  • htmldoc openSUSE Tumbleweed 1.8.28-2.4

opensuse advisories openSUSE-SU-2024:10463-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2009-3050 updated cvss 4.3

HTMLDOC: Stack-based buffer overflow when setting custom page output size

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.38% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • packetstormsecurity.org http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt referenced PoC, tagged "exploit" by a source, unverified
  • htmldoc.org http://www.htmldoc.org/str.php?L214 referenced PoC, tagged "exploit" by a source, unverified
  • bugs.gentoo.org http://bugs.gentoo.org/show_bug.cgi?id=278186 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.