crates.io
CVE-2026-68539
fulgur allows Unbounded string-set value accumulation causes memory/CPU exhaustion (denial of service)
- Severity
- High 7.5
- Published
- 25 Nov 2026
- Last changed
- 25 Nov 2026
- Added to UpHeron
- 25 Nov 2026
- Fixed in
- 0.28.0
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Also known as
- GHSA-vw2v-g4x7-xcqg
- Sources
- OSV.dev and GitHub
Description
fulgur converts untrusted HTML/CSS into PDF, commonly on a server that processes input supplied by many tenants. In versions from 0.4.4 up to (but not including) the patched release, the CSS string-set named-string values resolved from a document were accumulated per element with no memory budget, letting a small crafted document amplify into large retained memory (and the CPU to copy it) — a denial of service.
A string-set value is attacker-controlled: it is resolved from an element's own text (content(text)), from one of its attributes (attr(...)), or from a CSS string literal. fulgur accumulated these values per element in two unbounded places:
- Store (default path). For every element that matches a string-set rule, fulgur pushes a copy of the resolved value into a store that is retained for the whole render and cloned again downstream into a per-node lookup map. This happens on the ordinary render path with no opt-in.
Workarounds
Upgrade to 0.28.0 or later. If upgrading is not immediately possible, validate or constrain untrusted CSS — in particular a string-set rule with a large literal (or content(text) / attr(...)) value matched by many elements — before passing HTML to fulgur, and bound the size and element count of accepted input.
Affected software
| Software | Affected versions |
|---|---|
fulgurcrates.io · osv:crates.io:fulgur |
|
About fulgur
- Downloads in the last 90 days (crates.io)
- 8,491crates.io, 25 Nov 2026
- Total downloads (crates.io)
- 12,549crates.io, 25 Nov 2026
This is the only vulnerability in fulgur in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-68539
- GitHub Advisory Database https://github.com/advisories/GHSA-vw2v-g4x7-xcqg