Skip to content

CVE-2026-68537 Fulgur: Unbounded page slicing from attacker-controlled CSS height causes denial of service

HighCVSS 7.5 EPSS 0.61%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

fulgur converts untrusted HTML/CSS into PDF, commonly on a server that processes input supplied by many tenants. In versions prior to 0.19.0, a body-direct child whose CSS-resolved height greatly exceeds the page height was sliced into one fragment per page with no upper bound. This is fixed in version 0.19.0. A MAX_PAGES cap bounds the slice loop — halting it even for a +inf height — and non-finite layout heights are sanitized so they can no longer drive the loop. As a workaround, validate or constrain untrusted CSS (in particular height / vh on body-level elements) before passing HTML to fulgur.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
crates.io fulgur(crates.io) < 0.26.0; >= 0.0.0-0, < 0.26.0 0.26.0 Fixed
fulgur-rs fulgur = < 0.19.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
fulgur-rs fulgur = < 0.19.0 No fix listed
crates.io fulgur(crates.io) < 0.26.0 0.26.0
crates.io fulgur(crates.io) >= 0.0.0-0, < 0.26.0 0.26.0

References