Application crash via whitespace-only HTML node handling
Published Sep 1, 2024 · Updated Sep 3, 2024
Out-of-bounds write in HTMLDOC before 1.9.19 allows context-dependent attackers to crash document conversion with crafted HTML. In parse_paragraph in ps-pdf.cxx, the leading-space loop shifts bytes through a one-character whitespace-only node and writes past its buffer. The attacker must cause HTMLDOC to process the document; the published proof of concept demonstrates a write-triggered segmentation fault and application abort, not code execution.
Summary
What happened
Out-of-bounds write in HTMLDOC before 1.9.19 allows context-dependent attackers to crash document conversion with crafted HTML. In parse_paragraph in ps-pdf.cxx, the leading-space loop shifts bytes through a one-character whitespace-only node and writes past its buffer. The attacker must cause HTMLDOC to process the document; the published proof of concept demonstrates a write-triggered segmentation fault and application abort, not code execution.
The record
- CVE
- CVE-2024-45508
- Published
- Sep 1, 2024
- Updated
- Sep 3, 2024
- Vendor
- HTMLDOC Project
- Product
- HTMLDOC
- Classifications
- CWE-787, T1499.004
- Attack vector
- Unavailable
- Privileges
- Unavailable
Timeline
How it unfolded
- Sep 1, 2024CVE publishedPublication date reported by the CVE source.
- Sep 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.9.19
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- HTMLDOC issue 528 proof-of-concept HTMLproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo