CVE-2024-45508
published 2024-09-01CVE-2024-45508: HTMLDOC before 1.9.19 has an out-of-bounds write in parse_paragraph in ps-pdf.cxx because of an attempt to strip leading whitespace from a whitespace-only node.
PriorityP345critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
0.71%
48.7th percentile
HTMLDOC before 1.9.19 has an out-of-bounds write in parse_paragraph in ps-pdf.cxx because of an attempt to strip leading whitespace from a whitespace-only node.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | htmldoc | < htmldoc 1.9.18-2 (forky) | htmldoc 1.9.18-2 (forky) |
| htmldoc_project | htmldoc | < 1.9.19 | 1.9.19 |
| htmldoc_project | htmldoc | >= 0 < 1.9.18-2 | 1.9.18-2 |
| htmldoc_project | htmldoc | >= 0 < 1.9.18-2 | 1.9.18-2 |
| htmldoc_project | htmldoc | >= 0 < 1.8.27-8ubuntu1+esm4 | 1.8.27-8ubuntu1+esm4 |
| htmldoc_project | htmldoc | >= 0 < 1.8.27-8ubuntu1.1+esm3 | 1.8.27-8ubuntu1.1+esm3 |
| htmldoc_project | htmldoc | >= 0 < 1.9.2-1ubuntu0.2+esm2 | 1.9.2-1ubuntu0.2+esm2 |
| htmldoc_project | htmldoc | >= 0 < 1.9.7-1ubuntu0.3+esm2 | 1.9.7-1ubuntu0.3+esm2 |
| htmldoc_project | htmldoc | >= 0 < 1.9.15-1ubuntu0.1~esm1 | 1.9.15-1ubuntu0.1~esm1 |
| htmldoc_project | htmldoc | >= 0 < 1.9.17-1ubuntu0.1~esm1 | 1.9.17-1ubuntu0.1~esm1 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
HTMLDOC vulnerabilities
vendor_ubuntu·2025-01-22·CVSS 7.5
CVE-2022-0534 [HIGH] HTMLDOC vulnerabilities
Title: HTMLDOC vulnerabilities
Summary: Several security issues were fixed in htmldoc.
It was discovered that HTMLDOC incorrectly handled memory in the
image_set_mask, git_read_lzw, write_header and write_node functions, which
could lead to a heap buffer overflow. An attacker could possibly use this
issue to cause a denial of service or execute arbitrary code. This issue
only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and
Ubuntu 20.04 LTS. (CVE-2022-0137, CVE-2022-24191, CVE-2022-34033,
CVE-2022-34035)
It was discovered that HTMLDOC incorrectly handled memory in the
gif_get_code function, which could lead to a segmentation fault. If a
user or application were tricked into opening a crafted GIF file, an
attacker could possibly use this issue to cause a denial of servic
Debian
CVE-2024-45508: htmldoc - HTMLDOC before 1.9.19 has an out-of-bounds write in parse_paragraph in ps-pdf.cx...
vendor_debian·2024·CVSS 9.8
CVE-2024-45508 [CRITICAL] CVE-2024-45508: htmldoc - HTMLDOC before 1.9.19 has an out-of-bounds write in parse_paragraph in ps-pdf.cx...
HTMLDOC before 1.9.19 has an out-of-bounds write in parse_paragraph in ps-pdf.cxx because of an attempt to strip leading whitespace from a whitespace-only node.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 1.9.18-2)
sid: resolved (fixed in 1.9.18-2)
trixie: resolved (fixed in 1.9.18-2)
OSV
HTMLDOC vulnerabilities
osv·2025-01-22·CVSS 5.5
CVE-2022-0137 [MEDIUM] HTMLDOC vulnerabilities
HTMLDOC vulnerabilities
It was discovered that HTMLDOC incorrectly handled memory in the
image_set_mask, git_read_lzw, write_header and write_node functions, which
could lead to a heap buffer overflow. An attacker could possibly use this
issue to cause a denial of service or execute arbitrary code. This issue
only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and
Ubuntu 20.04 LTS. (CVE-2022-0137, CVE-2022-24191, CVE-2022-34033,
CVE-2022-34035)
It was discovered that HTMLDOC incorrectly handled memory in the
gif_get_code function, which could lead to a segmentation fault. If a
user or application were tricked into opening a crafted GIF file, an
attacker could possibly use this issue to cause a denial of service.
This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS,
GHSA
GHSA-jmwj-mmwj-qm9h: HTMLDOC before 1
ghsa_unreviewed·2024-09-02
CVE-2024-45508 [CRITICAL] CWE-787 GHSA-jmwj-mmwj-qm9h: HTMLDOC before 1
HTMLDOC before 1.9.19 has an out-of-bounds write in parse_paragraph in ps-pdf.cxx because of an attempt to strip leading whitespace from a whitespace-only node.
OSV
CVE-2024-45508: HTMLDOC before 1
osv·2024-09-01·CVSS 9.8
CVE-2024-45508 [CRITICAL] CVE-2024-45508: HTMLDOC before 1
HTMLDOC before 1.9.19 has an out-of-bounds write in parse_paragraph in ps-pdf.cxx because of an attempt to strip leading whitespace from a whitespace-only node.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-09-01
Published