Home / Htmldoc / Htmldoc / CVE-2009-3050
CVE-2009-3050: is it exploited, and which versions of Htmldoc are affected and fixed?
CVE-2009-3050 is a memory corruption (buffer overflow) vulnerability in Htmldoc. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: htmldoc through 1.8.27, htmldoc 1.8.24, htmldoc 1.8.25 and 1 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (10.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
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.
From the CVE record by mitre, last updated September 17, 2024, 01:17 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| htmldoc | htmldoc | through 1.8.27 | application |
| htmldoc | htmldoc | 1.8.24 | application |
| htmldoc | htmldoc | 1.8.25 | application |
| htmldoc | htmldoc | 1.8.26 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:10 UTC.
How severe is CVE-2009-3050?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2009-3050 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.38% probability of exploitation activity in the next 30 days, percentile 91.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt x_refsource_MISC
- [oss-security] 20090901 Re: CVE Request -- HTMLDOC mailing-list, x_refsource_MLIST
- 35780 third-party-advisory, x_refsource_SECUNIA
- http://www.htmldoc.org/str.php?L214 x_refsource_CONFIRM
- http://bugs.gentoo.org/show_bug.cgi?id=278186 x_refsource_CONFIRM
- [oss-security] 20090725 Re: CVE Request -- HTMLDOC mailing-list, x_refsource_MLIST
- [oss-security] 20090726 Re: CVE Request -- HTMLDOC mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- September 2, 2009
- Published
- September 2, 2009, 17:00 UTC
- CVE record updated
- September 17, 2024, 01:17 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Htmldoc?
- Mar 16, 2022CVE-2021-23165 htmldoc: heap buffer overflow
- Mar 16, 2022CVE-2021-23158 htmldoc: double free
- Mar 3, 2022CVE-2021-26948 htmldoc: signal Handler Use of a Non-reentrant Function
- Mar 3, 2022CVE-2021-26259 htmldoc: out-of-bounds write (memory corruption)
- Mar 2, 2022CVE-2021-23180 htmldoc: NULL pointer dereference (crash)
- Mar 2, 2022CVE-2021-23191 htmldoc: NULL pointer dereference (crash)
- Mar 2, 2022CVE-2021-23206 htmldoc: stack buffer overflow
- Feb 24, 2022CVE-2021-26252 htmldoc: out-of-bounds write (memory corruption)
Questions about CVE-2009-3050
Is CVE-2009-3050 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 4.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Htmldoc are affected by CVE-2009-3050?
htmldoc through 1.8.27, htmldoc 1.8.24, htmldoc 1.8.25 and htmldoc 1.8.26, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2009-3050?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2009-3050?
High (10.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2009-3050?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.