Skip to content
Fencer Vulns
critical 9.8

CVE-2024-45508 json

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…

published 2024-09-01 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-41517

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 53%
public exploits
0
none known

Summary

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.

Patch / fix

  • htmldoc htmldoc 1.9.19
  • htmldoc Debian 14, Debian 13 1.9.18-2

debian advisories DEBIAN-CVE-2024-45508

  • htmldoc Ubuntu Pro 14.04 LTS 1.8.27-8ubuntu1+esm4
  • htmldoc Ubuntu Pro 16.04 LTS 1.8.27-8ubuntu1.1+esm3
  • htmldoc Ubuntu Pro 18.04 LTS 1.9.2-1ubuntu0.2+esm2
  • htmldoc Ubuntu Pro 20.04 LTS 1.9.7-1ubuntu0.3+esm2
  • htmldoc Ubuntu Pro 22.04 LTS 1.9.15-1ubuntu0.1~esm1
  • htmldoc Ubuntu Pro 24.04 LTS 1.9.17-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2024-45508

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • htmldoc openSUSE Leap 16.0 1.9.23-bp160.1.1
  • htmldoc Package Hub 15 SP5, openSUSE Leap 15.5 1.9.16-bp155.2.3.1
  • htmldoc Package Hub 15 SP6, openSUSE Leap 15.6 1.9.16-bp156.3.3.1
  • htmldoc openSUSE Tumbleweed 1.9.18-2.1

opensuse advisories openSUSE-SU-2026:20219-1openSUSE-SU-2024:0304-1openSUSE-SU-2024:0303-1openSUSE-SU-2024:14308-1

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
2 y ago

Exploit prediction

0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/michaelrsweet/htmldoc/issues/528 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

  • htmldoc htmldoc

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.