Vulnerabilities / CVE-2021-23165

critical

CVE-2021-23165

A flaw was found in htmldoc before v1.9.12. Heap buffer overflow in ps ...

Published Modified CWE 122, 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 10htmldoc1.9.3-1+deb10u2
debian 11htmldoc1.9.11-4
debian 12htmldoc1.9.11-4
debian 13htmldoc1.9.11-4
debian 14htmldoc1.9.11-4
debian 9htmldoc1.8.27-8+deb9u1
echohtmldoc1.9.11-4
ubuntu 14.04-ESMhtmldoc1.8.27-8ubuntu1+esm2
ubuntu 16.04-ESMhtmldoc1.8.27-8ubuntu1.1+esm1
ubuntu 18.04htmldoc1.9.2-1ubuntu0.2
ubuntu 18.04-ESMhtmldoc1.9.2-1ubuntu0.2
ubuntu 20.04htmldoc1.9.7-1ubuntu0.3
Show all 13 entries from 13 sources
SourcePackageFixed in
debian 10htmldoc1.9.3-1+deb10u2
debian 11htmldoc1.9.11-4
debian 12htmldoc1.9.11-4
debian 13htmldoc1.9.11-4
debian 14htmldoc1.9.11-4
debian 9htmldoc1.8.27-8+deb9u1
echohtmldoc1.9.11-4
ubuntu 14.04-ESMhtmldoc1.8.27-8ubuntu1+esm2
ubuntu 16.04-ESMhtmldoc1.8.27-8ubuntu1.1+esm1
ubuntu 18.04htmldoc1.9.2-1ubuntu0.2
ubuntu 18.04-ESMhtmldoc1.9.2-1ubuntu0.2
ubuntu 20.04htmldoc1.9.7-1ubuntu0.3
ubuntu 20.04-ESMhtmldoc1.9.7-1ubuntu0.3

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.