NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🦀
🦀 crates.io
Not in CISA KEV
HIGH severity

fulgur allows Unbounded string-set value accumulation causes memory/CPU exhaustion (denial of service)GHSA-vw2v-g4x7-xcqg

HIGHFix: fulgur-rs/fulgur#582

GHSA-vw2v-g4x7-xcqg is a high-severity (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in fulgur. A fix is available for fulgur — see the affected versions and patch details below.

Also known asCVE-2026-68539
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 24, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-vw2v-g4x7-xcqg.

EPSS Exploitation Probability

via FIRST.org ↗
0.7%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs53th percentile — riskier than 53% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🦀fulgur

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io packages — download data is not available via public APIs for these ecosystems.

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:

  1. 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. A single literal reused across many elements therefore expands from one copy in the input to N copies in memory:

    <style>
      p { string-set: title "……a large literal value……" }
    </style>
    <p></p>  <!-- repeated N times -->
    

    The store grows to roughly value_size × N bytes (and ~3× that across the downstream clones) from an input whose large part appears only once — a breadth-unbounded amplification.

  2. Per-node snapshot (bookmark / cross-reference path). When PDF bookmarks (bookmark-label: string(...)) or CSS target-* references are in play, fulgur additionally cloned the full running name → value map at every visited element so string() can resolve at that position. One large value is then re-cloned at each of N following elements — an O(N × value_size) retained-memory sink. This is the string counterpart of the counter-snapshot sink fixed in GHSA-395p-pj7r-jm42; that fix bounded the counter snapshots but did not bound this string twin.

An attacker able to submit HTML/CSS to a fulgur-based conversion service can trigger memory and CPU exhaustion with a trivially small payload, denying service to the host and any co-tenants.

Patches

Fixed in 0.28.0. The aggregate of each sink is now separately bounded: the resolved string-set store (MAX_STRING_SET_STORE_BYTES) and the retained per-node named-string snapshots (MAX_STRING_SNAPSHOT_BYTES). In addition, the snapshot is no longer recorded for target-*-only renders — those snapshots are consumed only by bookmark-label: string(...), so recording them when no bookmarks are emitted was both wasted work and the only path that let inline target-* CSS enable the snapshot clone with no bookmark opt-in. The caps are kept far above any realistic document (short named strings, even thousands of them); past the cap a string() reference degrades to its last recorded value, which only occurs under adversarial input.

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.

Attack Vector rationale

fulgur performs no network I/O of its own; it renders HTML/CSS handed to it by the embedding application. This advisory scores the crate independent of any specific adopting program, so per the CVSS v3.1 User Guide §3.7 (scoring library vulnerabilities related to incoming data) the Attack Vector is assessed as Network for the reasonable worst-case deployment — a network-facing service that renders untrusted, attacker-supplied HTML without user interaction. A concrete system that receives the HTML in one component and passes it to fulgur in a separate component may assess a lower environmental Attack Vector (Local, per §3.10).

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🦀crates.iofulgur≥ 0.4.4&&< 0.28.00.28.0cargo update -p fulgur --precise 0.28.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for fulgur, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update fulgur to 0.28.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-vw2v-g4x7-xcqg is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Frequently Asked Questions

`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. fu
O3 Security · Impact-Aware SCA

Is GHSA-vw2v-g4x7-xcqg in your dependencies?

Find it across crates.io, including transitive dependencies.

fulgur allows Unbounded string-set value accumulation…