CVE-2021-23206: htmldoc_project htmldoc Stack-based Buffer Overflow
Modified
AliasesUBUNTU-CVE-2021-23206DEBIAN-CVE-2021-23206
Published 02-03-2022Last modified 03-08-2024
Vulnerability summary
CVE-2021-23206 is a high (CVSS 7.8) Stack-based Buffer Overflow vulnerability in htmldoc_project htmldoc. EPSS estimates a 1.48% chance of exploitation in the next 30 days, higher than 73.7% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.8/10
010
High · v3.1 (NVD)EPSS score
1.48%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github
Advisory lineage
Upstream 0 · Downstream 4 · Related 1Timeline
- 02-03-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
A flaw was found in htmldoc in v1.9.12 and prior. A stack buffer overflow in parse_table() in ps-pdf.cxx may lead to execute arbitrary code and denial of service.
CVSS metrics
4 scores · 3 sources · 2 versionsHigh 7.8Preferred score · NVD (NIST)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
1.48%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.48% on 22-09-2026
22-09-202622-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundHtmldoc
Maturity: poc
Weaknesses
CWE · root cause- CWE-121Stack-based Buffer OverflowA stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Debian1 product
- htmldoc< 1.9.11-4
Htmldoc_project1 product
- htmldoc≤ 1.9.12
Ubuntu1 product
- htmldoc< 1.8.27-8ubuntu1+esm3 | < 1.8.27-8ubuntu1.1+esm2 | < 1.9.2-1ubuntu0.2+esm1 | < 1.9.7-1ubuntu0.3+esm1
3 vendors · 3 products
References
7 links- github.com/michaelrsweet/htmldoc/issues/416X Refsource MISCREPORTExploitIssue TrackingThird Party Advisory
- github.com/michaelrsweet/htmldoc/commit/ba61a3ece382389ae4482c7027af8b32e8ab4cc8X Refsource MISCREPORTPatchThird Party Advisory