Vulnerability · Published Mar 16, 2022 · Assigned by redhat
CVE-2021-23158
Critical 9.8
In plain English
A critical-severity double free in htmldoc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.4%top 15.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A flaw was found in htmldoc in v1.9.12. Double-free in function pspdf_export(),in ps-pdf.cxx may result in a write-what-where condition, allowing an attacker to execute arbitrary code and denial of service.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | htmldoc | 1.9.11-4 | DEBIAN-CVE-2021-23158 |
| Debian:13 | htmldoc | 1.9.11-4 | DEBIAN-CVE-2021-23158 |
| Debian:14 | htmldoc | 1.9.11-4 | DEBIAN-CVE-2021-23158 |
Affected products (as reported)
Weakness: CWE-415
References
- https://github.com/michaelrsweet/htmldoc/issues/414 x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=1967018 x_refsource_MISC
- https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc x_refsource_MISC