USN-7189-1

Type: Security
Severity: Medium
Published: 2025-01-08
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that HTMLDOC incorrectly handled certain inputs, which could lead to an integer overflow. An attacker could potentially use this issue to cause a denial of service or execute arbitrary code. (CVE-2021-20308) It was discovered that HTMLDOC incorrectly handled memory in pspdf_export, which could lead to a double-free. An attacker could potentially use this issue to cause a denial of service or execute arbitrary code. (CVE-2021-23158) It was discovered that HTMLDOC incorrectly handled memory when loading a JPEG image, which could lead to a NULL pointer dereference. An attacker could potentially use this issue to cause a denial of service. (CVE-2021-23191, CVE-2021-26948) It was discovered that HTMLDOC incorrectly handled certain inputs, which could lead to a stack buffer overflow. An attacker could potentially use this issue to cause a denial of service or execute arbitrary code. (CVE-2021-23206, CVE-2021-40985, CVE-2021-43579) It was discovered that HTMLDOC incorrectly handled memory in pdpdf_prepare_page and render_table_row, which could lead to a heap buffer overflow. An attacker could potentially use this issue to cause a denial of service or execute arbitrary code. (CVE-2021-26252, CVE-2021-26259) It was discovered that HTMLDOC incorrectly handled memory in parse_paragraph, which could lead to a heap buffer overflow. An attacker could potentially use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-34119) It was discovered that HTMLDOC incorrectly handled memory in parse_tree. An attacker could potentially use this issue to leak sensitive information. (CVE-2021-34121) Update Instructions: Run `sudo pro fix USN-7189-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: htmldoc - 1.9.7-1ubuntu0.3+esm1 htmldoc-common - 1.9.7-1ubuntu0.3+esm1 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T08:40:11.722Z UTC.

Upstream Advisory

Affected Packages

  • htmldoc 1.9.7-1ubuntu0.3+esm1-1.9.7-1ubuntu0.3+esm1

  • htmldoc-common 1.9.7-1ubuntu0.3+esm1-1.9.7-1ubuntu0.3+esm1

Interested in being alerted when there are new versions of htmldoc and the other packages? Set up an alert.
USN-7189-1: HTMLDOC vulnerabilities | Package Alert