Patch Ticker
EnglishEN
Elevated

fulgur HTML-to-PDF library counters() resource exhaustion (denial of service)

CVE-2026-68538

It turns HTML into PDFs, so one malicious HTML file can stall servers.

CVE
CVE-2026-68538 (opens in a new tab)
Score
CVSS 7.5
First seen
7.5
Products

Mitigation

Update to 0.27.0 or later. If that is not immediately possible, validate or constrain untrusted CSS before passing HTML to fulgur.

Summary

fulgur's counters() handling has no size limit, so a very small HTML/CSS input can exhaust CPU and memory and stop a conversion service. Versions 0.15.0 or later and before 0.27.0 are affected.

Affected when

  • A conversion service that accepts HTML/CSS from untrusted users
  • fulgur 0.15.0 or later, before 0.27.0

2 other Incidents of this product in the last 30 days

Incidents by product: fulgur

Other recent Incidents of fulgur

Read the advisory · github.com (opens in a new tab)