What’s Vulnerable › Vulnerabilities
CVE-2024-45508
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-09-01 · updated 2026-06-17
- Weakness: CWE-787
Description
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 products
- htmldoc: before 1.9.19 — fixed in 1.9.19
How to fix
Upgrade to a fixed version: htmldoc 1.9.19. Check the vendor advisory for mitigations.
References
- https://github.com/michaelrsweet/htmldoc/blob/2d5b2ab9ddbf2aee2209010cebc11efdd1cab6e2/CHANGES.md
- https://github.com/michaelrsweet/htmldoc/commit/2d5b2ab9ddbf2aee2209010cebc11efdd1cab6e2
- https://github.com/michaelrsweet/htmldoc/issues/528
Get alerted when CVE-2024-45508 or the next vulnerability affects your stack