CVE-2009-3050

HTMLDOC < 1.8.27 - Buffer Overflow via Long MEDIA SIZE Comment

Title source: llm
STIX 2.1

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.

References (7)

Core 7
Core References
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2009/09/01/1
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/35780
Exploit x_refsource_confirm
http://www.htmldoc.org/str.php?L214
Exploit x_refsource_confirm
http://bugs.gentoo.org/show_bug.cgi?id=278186
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2009/07/25/3
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2009/07/26/2

Scores

EPSS 0.0438
EPSS Percentile 90.2%

Details

CWE
CWE-119
Status published
Products (4)
htmldoc/htmldoc 1.8.24
htmldoc/htmldoc 1.8.25
htmldoc/htmldoc 1.8.26
htmldoc/htmldoc < 1.8.27
Published Sep 02, 2009
Tracked Since Feb 18, 2026