CVEvulnerability
CVE-2009-3050
10.0 HIGH
Official page ↗
- Status
- Modified
- Published
- 2009-09-02
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 10.0 HIGH — AV:N/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-119
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.
Affected configurations
• htmldoc htmldoc (<= 1.8.27)
• htmldoc htmldoc 1.8.24
• htmldoc htmldoc 1.8.25
• htmldoc htmldoc 1.8.26
Related
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- http://bugs.gentoo.org/show_bug.cgi?id=278186 Exploit
- http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt Exploit
- http://secunia.com/advisories/35780 Vendor Advisory
- http://www.htmldoc.org/str.php?L214 Exploit
- http://www.openwall.com/lists/oss-security/2009/07/25/3 www.openwall.com
- http://www.openwall.com/lists/oss-security/2009/07/26/2 www.openwall.com
- http://www.openwall.com/lists/oss-security/2009/09/01/1 www.openwall.com
- http://bugs.gentoo.org/show_bug.cgi?id=278186 Exploit
- http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt Exploit
- http://secunia.com/advisories/35780 Vendor Advisory
- http://www.htmldoc.org/str.php?L214 Exploit
- http://www.openwall.com/lists/oss-security/2009/07/25/3 www.openwall.com
- http://www.openwall.com/lists/oss-security/2009/07/26/2 www.openwall.com
- http://www.openwall.com/lists/oss-security/2009/09/01/1 www.openwall.com