Buffer overflow in Htmldoc

CVE-2009-3050

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.

Vulnerability class: Buffer Overflow

EPSS: 0.044 (90.3th percentile) — read the EPSS interpretation.

Affected products

  • Htmldoc — versions 1.8.24, 1.8.25, 1.8.26
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2009-3050?
CVE-2009-3050 is a vulnerability in Htmldoc, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. Published 2009-09-02.
Is CVE-2009-3050 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.