CVE-2009-3050
CVE-2009-3050 is a critical-severity vulnerability in Htmldoc with a CVSS 2.0 base score of 10.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Critical (CVSS 2.0 base score 10.0)
- EPSS exploit prediction: 4% (90th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Htmldoc
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2009-3050?
- CVE-2009-3050 has a CVSS 2.0 base score of 10.0, rated critical severity.
- Is CVE-2009-3050 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (90th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2009-3050?
- CVE-2009-3050 primarily affects Htmldoc. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2009-3050?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2009-3050 published?
- CVE-2009-3050 was published on 2009-09-02 and last updated on 2026-06-16.
References
- http://bugs.gentoo.org/show_bug.cgi?id=278186
- http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt
- http://secunia.com/advisories/35780
- http://www.htmldoc.org/str.php?L214
- 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
Affected products (4)
- cpe:2.3:a:htmldoc:htmldoc:*:*:*:*:*:*:*:*
- cpe:2.3:a:htmldoc:htmldoc:1.8.24:*:*:*:*:*:*:*
- cpe:2.3:a:htmldoc:htmldoc:1.8.25:*:*:*:*:*:*:*
- cpe:2.3:a:htmldoc:htmldoc:1.8.26:*:*:*:*:*:*:*
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.