
CVE catalog
CVE-2021-23165
htmldoc: CVE-2021-23165
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.51% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | htmldoc | sid | 1.9.24-1 | fixed |
| Debian | htmldoc | forky | 1.9.24-1 | fixed |
| Debian | htmldoc | trixie | 1.9.20-1 | fixed |
| Debian | htmldoc | bookworm | 1.9.16-1 | fixed |
| Ubuntu | htmldoc | pro | 1.8.27-8ubuntu1 | vulnerable |
| Ubuntu | htmldoc | pro | 1.8.27-8ubuntu1.1 | vulnerable |
| Ubuntu | htmldoc | pro | 1.8.27-8ubuntu1.1+esm1 | fixed |
| Ubuntu | htmldoc | 18.04 | 1.8.27-8ubuntu2 | vulnerable |
| Ubuntu | htmldoc | 18.04 | 1.8.27-8ubuntu3 | vulnerable |
| Ubuntu | htmldoc | 18.04 | 1.9.2-1 | vulnerable |
| Ubuntu | htmldoc | 18.04 | 1.9.2-1ubuntu0.1 | vulnerable |
| Ubuntu | htmldoc | 18.04 | 1.9.2-1ubuntu0.2 | fixed |
| Ubuntu | htmldoc | 20.04 | 1.9.3-1 | vulnerable |
| Ubuntu | htmldoc | 20.04 | 1.9.7-1 | vulnerable |
| Ubuntu | htmldoc | 20.04 | 1.9.7-1build1 | vulnerable |
| Ubuntu | htmldoc | 20.04 | 1.9.7-1ubuntu0.2 | vulnerable |
| Ubuntu | htmldoc | 20.04 | 1.9.7-1ubuntu0.3 | fixed |
| Ubuntu | htmldoc | pro | 1.8.27-8ubuntu1 | vulnerable |
| Ubuntu | htmldoc | pro | 1.8.27-8ubuntu1.1 | vulnerable |
| Ubuntu | htmldoc | pro | 1.8.27-8ubuntu1.1+esm1 | fixed |
| Ubuntu | htmldoc | 18.04 | 1.8.27-8ubuntu2 | vulnerable |
| Ubuntu | htmldoc | 18.04 | 1.8.27-8ubuntu3 | vulnerable |
| Ubuntu | htmldoc | 18.04 | 1.9.2-1 | vulnerable |
| Ubuntu | htmldoc | 18.04 | 1.9.2-1ubuntu0.1 | vulnerable |
| Ubuntu | htmldoc | 18.04 | 1.9.2-1ubuntu0.2 | fixed |
| Ubuntu | htmldoc | 20.04 | 1.9.3-1 | vulnerable |
| Ubuntu | htmldoc | 20.04 | 1.9.7-1 | vulnerable |
| Ubuntu | htmldoc | 20.04 | 1.9.7-1build1 | vulnerable |
| Ubuntu | htmldoc | 20.04 | 1.9.7-1ubuntu0.2 | vulnerable |
| Ubuntu | htmldoc | 20.04 | 1.9.7-1ubuntu0.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | htmldoc | source | sid | 1.9.11-4 | not yet assigned | Not reported | [989437] |
| Debian | htmldoc | source | forky | 1.9.11-4 | not yet assigned | Not reported | [989437] |
| Debian | htmldoc | source | trixie | 1.9.11-4 | not yet assigned | Not reported | [989437] |
| Debian | htmldoc | source | bookworm | 1.9.11-4 | not yet assigned | Not reported | [989437] |
| Ubuntu | htmldoc | deb | pro | 1.8.27-8ubuntu1.1+esm1 | Not reported | USN-5438-2 | Not reported |
| Ubuntu | htmldoc | deb | 18.04 | 1.9.2-1ubuntu0.2 | Not reported | USN-5438-1 | Not reported |
| Ubuntu | htmldoc | deb | 20.04 | 1.9.7-1ubuntu0.3 | Not reported | USN-5438-1 | Not reported |
| Ubuntu | htmldoc | deb | pro | 1.8.27-8ubuntu1.1+esm1 | Not reported | UBUNTU-CVE-2021-23165 | Not reported |
| Ubuntu | htmldoc | deb | 18.04 | 1.9.2-1ubuntu0.2 | Not reported | UBUNTU-CVE-2021-23165 | Not reported |
| Ubuntu | htmldoc | deb | 20.04 | 1.9.7-1ubuntu0.3 | Not reported | UBUNTU-CVE-2021-23165 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [htmldoc]Fixed
Details (2)
1.9.16-1· amd64 · bookwormFixed · Fixed:
1.9.11-4dsa · htmldoc · debian · bookworm; dsa · htmldoc · debian · 12
1.9.16-1· arm64 · bookwormFixed · Fixed:
1.9.11-4dsa · htmldoc · debian · bookworm; dsa · htmldoc · debian · 12
- [htmldoc-common]Fixed
Source package: [htmldoc]
Details (2)
1.9.16-1· all · bookwormFixed · Fixed:
1.9.11-4dsa · htmldoc · debian · bookworm; dsa · htmldoc · debian · 12
1.9.16-1· all · bookwormFixed · Fixed:
1.9.11-4dsa · htmldoc · debian · bookworm; dsa · htmldoc · debian · 12
[Debian 13 (Trixie)]
- [htmldoc]Fixed
Details (2)
1.9.20-1· amd64 · trixieFixed · Fixed:
1.9.11-4dsa · htmldoc · debian · 13
1.9.20-1· arm64 · trixieFixed · Fixed:
1.9.11-4dsa · htmldoc · debian · 13
- [htmldoc-common]Fixed
Source package: [htmldoc]
Details (2)
1.9.20-1· all · trixieFixed · Fixed:
1.9.11-4dsa · htmldoc · debian · 13
1.9.20-1· all · trixieFixed · Fixed:
1.9.11-4dsa · htmldoc · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-23165]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-23165]
- [https://osv.dev/vulnerability/USN-5438-1]
- [https://osv.dev/vulnerability/USN-5438-2]
- [https://security-tracker.debian.org/tracker/CVE-2021-23165]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]