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.
Metrics
CVSS 2.0 10.0/10
AV:N/AC:L/Au:N/C:C/I:C/A:CWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://bugs.gentoo.org/show_bug.cgi?id=278186Exploit
- http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txtExploit
- http://secunia.com/advisories/35780Vendor Advisory
- http://www.htmldoc.org/str.php?L214Exploit
- http://www.openwall.com/lists/oss-security/2009/07/25/3
- http://www.openwall.com/lists/oss-security/2009/07/26/2
- http://www.openwall.com/lists/oss-security/2009/09/01/1
- http://bugs.gentoo.org/show_bug.cgi?id=278186Exploit
- http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txtExploit
- http://secunia.com/advisories/35780Vendor Advisory
- http://www.htmldoc.org/str.php?L214Exploit
- http://www.openwall.com/lists/oss-security/2009/07/25/3
- http://www.openwall.com/lists/oss-security/2009/07/26/2
- http://www.openwall.com/lists/oss-security/2009/09/01/1
Timeline
- Published
- Sep 2, 2009
- Last modified
- Jun 16, 2026
- NVD status
- Modified