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.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.044 · newest: 0.044 · change: 0.000
Affected products
- Htmldoc — versions 1.8.24, 1.8.25, 1.8.26
Weakness classification (CWE)
Public proof-of-concept exploits
References
- packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt (Exploit)
- www.openwall.com/lists/oss-security/2009/09/01/1 (mailing-list)
- secunia.com/advisories/35780 (Vendor Advisory, third-party-advisory)
- www.htmldoc.org/str.php (Exploit)
- bugs.gentoo.org/show_bug.cgi (Exploit)
- www.openwall.com/lists/oss-security/2009/07/25/3 (mailing-list)
- www.openwall.com/lists/oss-security/2009/07/26/2 (mailing-list)
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.