# CVE-2024-46478: HTMLDOC v1.9.18 contains a buffer overflow in parsepre function,ps-pdf.cxx:5681.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.07%, higher than 64% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-24T00:00:00.000Z
- Modified: 2026-06-17T07:55:25.853Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

HTMLDOC v1.9.18 contains a buffer overflow in parse_pre function,ps-pdf.cxx:5681.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- htmldoc_project htmldoc: 1.9.18

## References

- <https://github.com/michaelrsweet/htmldoc/issues/529> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/michaelrsweet/htmldoc/commit/683bec548e642cf4a17e003fb34f6bbaf2d27b98> (patch)

## Sources

- CVE List: [CVE-2024-46478](https://www.cve.org/CVERecord?id=CVE-2024-46478), CVE Terms of Use, modified 2024-10-25
- NVD: [CVE-2024-46478](https://nvd.nist.gov/vuln/detail/CVE-2024-46478), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-46478 · Whole record: https://cve.day/CVE-2024-46478.json · Rebuilt by cve.day 2026-11-25T22:58:47.267Z
