CVE-2026-68539: Fulgur Denial of Service Vulnerability
HIGHCVE-2026-68539 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Fulgur libraries in the crates.io ecosystem. The issue involves fulgur allows unbounded string-set value accumulation causes memory/cpu exhaustion (denial of service). Remediation is available by upgrading affected packages to version 0.28.0.
CVE-2026-68539 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-68539
To remediate this vulnerability, upgrade all affected Fulgur dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade fulgur to 0.28.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for fulgur
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-68539, inspect your project dependencies for Fulgur:
inspect dependencies for fulgur
Analyze the terminal output to locate any version of Fulgur in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.28.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Fulgur, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-68539 Affected Fulgur Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
fulgur
|
crates.io |
≥ 0.4.4
< 0.28.0
|
0.28.0
|
References
Frequently Asked Questions
What is CVE-2026-68539?
Which Fulgur versions are affected?
What version fixes CVE-2026-68539?
Is fulgur affected?
What is the CVSS score of CVE-2026-68539?
What CWE is associated with CVE-2026-68539?
How can I check crates.io dependencies for CVE-2026-68539?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vw2v-g4x7-xcqg",
"modified" : "2026-11-25T19:46:45Z",
"published" : "2026-11-25T19:46:45Z",
"aliases" : [ "CVE-2026-68539" ],
"summary" : "fulgur allows Unbounded string-set value accumulation causes memory/CPU exhaustion (denial of service)",
"details" : "`fulgur` converts untrusted HTML/CSS into PDF, commonly on a server that\nprocesses input supplied by many tenants. In versions from 0.4.4 up to (but not\nincluding) the patched release, the CSS `string-set` named-string values\nresolved from a document were accumulated per element with no memory budget,\nletting a small crafted document amplify into large retained memory (and the CPU\nto copy it) — a denial of service.\n\nA `string-set` value is attacker-controlled: it is resolved from an element's\nown text (`content(text)`), from one of its attributes (`attr(...)`), or from a\nCSS string literal. fulgur accumulated these values per element in two unbounded\nplaces:\n\n1. **Store (default path).** For every element that matches a `string-set` rule,\n fulgur pushes a copy of the resolved value into a store that is retained for\n the whole render and cloned again downstream into a per-node lookup map. This\n happens on the ordinary render path with no opt-in. A single literal reused\n across many elements therefore expands from one copy in the input to N copies\n in memory:\n\n ```html\n <style>\n p { string-set: title \"……a large literal value……\" }\n </style>\n <p></p> <!-- repeated N times -->\n ```\n\n The store grows to roughly `value_size × N` bytes (and ~3× that across the\n downstream clones) from an input whose large part appears only once — a\n breadth-unbounded amplification.\n\n2. **Per-node snapshot (bookmark / cross-reference path).** When PDF bookmarks\n (`bookmark-label: string(...)`) or CSS `target-*` references are in play,\n fulgur additionally cloned the full running `name → value` map at every\n visited element so `string()` can resolve at that position. One large value\n is then re-cloned at each of N following elements — an `O(N × value_size)`\n retained-memory sink. This is the string counterpart of the counter-snapshot\n sink fixed in\n [GHSA-395p-pj7r-jm42](https://github.com/fulgur-rs/fulgur/security/advisories/GHSA-395p-pj7r-jm42);\n that fix bounded the counter snapshots but did not bound this string twin.\n\nAn attacker able to submit HTML/CSS to a fulgur-based conversion service can\ntrigger memory and CPU exhaustion with a trivially small payload, denying\nservice to the host and any co-tenants.\n\n## Patches\n\nFixed in **0.28.0**. The aggregate of each sink is now separately bounded: the\nresolved `string-set` store (`MAX_STRING_SET_STORE_BYTES`) and the retained\nper-node named-string snapshots (`MAX_STRING_SNAPSHOT_BYTES`). In addition, the\nsnapshot is no longer recorded for `target-*`-only renders — those snapshots are\nconsumed only by `bookmark-label: string(...)`, so recording them when no\nbookmarks are emitted was both wasted work and the only path that let inline\n`target-*` CSS enable the snapshot clone with no bookmark opt-in. The caps are\nkept far above any realistic document (short named strings, even thousands of\nthem); past the cap a `string()` reference degrades to its last recorded value,\nwhich only occurs under adversarial input.\n\n## Workarounds\n\nUpgrade to 0.28.0 or later. If upgrading is not immediately possible, validate\nor constrain untrusted CSS — in particular a `string-set` rule with a large\nliteral (or `content(text)` / `attr(...)`) value matched by many elements —\nbefore passing HTML to fulgur, and bound the size and element count of accepted\ninput.\n\n## Attack Vector rationale\n\n`fulgur` performs no network I/O of its own; it renders HTML/CSS handed to it by\nthe embedding application. This advisory scores the crate independent of any\nspecific adopting program, so per the CVSS v3.1 User Guide §3.7 (scoring library\nvulnerabilities related to incoming data) the Attack Vector is assessed as\n**Network** for the reasonable worst-case deployment — a network-facing service\nthat renders untrusted, attacker-supplied HTML without user interaction. A\nconcrete system that receives the HTML in one component and passes it to fulgur\nin a separate component may assess a lower environmental Attack Vector (Local,\nper §3.10).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "fulgur"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.4.4"
}, {
"fixed" : "0.28.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/fulgur-rs/fulgur/security/advisories/GHSA-vw2v-g4x7-xcqg"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-68539"
}, {
"type" : "WEB",
"url" : "https://github.com/fulgur-rs/fulgur/pull/582"
}, {
"type" : "WEB",
"url" : "https://github.com/fulgur-rs/fulgur/pull/584"
}, {
"type" : "WEB",
"url" : "https://github.com/fulgur-rs/fulgur/commit/1c4cdad003daef7c9dc6ef1362c50bcfaac13ea9"
}, {
"type" : "WEB",
"url" : "https://github.com/fulgur-rs/fulgur/commit/9248fbfd91a2ba8fc3dbd9e44ba681f52ed1ecd0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/fulgur-rs/fulgur"
}, {
"type" : "WEB",
"url" : "https://github.com/fulgur-rs/fulgur/releases/tag/v0.29.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400", "CWE-770" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-11-25T19:46:45Z",
"nvd_published_at" : "2026-11-11T22:17:30Z"
}
}