CVE-2021-23165 json
A flaw was found in htmldoc before v1.9.12.
published 2022-03-16 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-10275
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.5%
- EPSS 3.5% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
A flaw was found in htmldoc before v1.9.12. Heap buffer overflow in pspdf_prepare_outpages(), in ps-pdf.cxx may lead to execute arbitrary code and denial of service.
Patch / fix
- htmldoc_project htmldoc 1.9.12
- htmldoc Debian 14, Debian 13, Debian 12 1.9.11-4
debian advisories DEBIAN-CVE-2021-23165
- htmldoc Ubuntu 18.04 LTS 1.9.2-1ubuntu0.2
- htmldoc Ubuntu 20.04 LTS 1.9.7-1ubuntu0.3
- htmldoc Ubuntu Pro 14.04 LTS 1.8.27-8ubuntu1+esm2
- htmldoc Ubuntu Pro 16.04 LTS 1.8.27-8ubuntu1.1+esm1
ubuntu advisories UBUNTU-CVE-2021-23165
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- htmldoc Arch Linux 1.9.12-1
arch linux advisories AVG-1773
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-23165 updated cvss 8.6
htmldoc: heap-buffer-overflow in pspdf_prepare_outpages()
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.51% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1967014 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/michaelrsweet/htmldoc/issues/413 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected products
- n/a htmldoc
Classification
References
-
github.com
/michaelrsweet/htmldoc/commit/6e8a95561988500b5b5ae4861b3b0cbf4fba517f
patch, third-party-advisory
-
github.com
/michaelrsweet/htmldoc/commit/6e8a95561988500b5b5ae4861b3b0cbf4fba517f.patch
mailing-list, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1967014
exploit, issue-tracking, patch, third-party-advisory
-
github.com
/michaelrsweet/htmldoc/issues/413
exploit, issue-tracking, third-party-advisory
Sources
- CVE List CVE-2021-23165
- NVD CVE-2021-23165
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.