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
Published · last modified .
CVSS v2 metric
CVSS v2 base score 10.0 (High). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.044, 91.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Htmldoc — versions 1.8.24, 1.8.25, 1.8.26
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (mudongliang/LinuxFlaw, oneoy/cve-). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt (Exploit)
- [oss-security] 20090901 Re: CVE Request -- HTMLDOC (mailing-list)
- secunia.com/advisories/35780 (third-party-advisory, Vendor Advisory)
- www.htmldoc.org/str.php (Exploit)
- bugs.gentoo.org/show_bug.cgi (Exploit)
- [oss-security] 20090725 Re: CVE Request -- HTMLDOC (mailing-list)
- [oss-security] 20090726 Re: CVE Request -- HTMLDOC (mailing-list)