CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-68539

CVE-2026-68539: Unbounded Resource Consumption and Denial of Service in Fulgur CSS GCPM string-set Processing

Alon Barad
Alon Barad
Software Engineer

Nov 25, 2026·10 min read·1 visit

Executive Summary (TL;DR)

Unbounded memory allocation and un-cached DOM subtree traversals in Fulgur's CSS string-set implementation (< 0.29.0) allow unauthenticated remote attackers to cause out-of-memory crashes and CPU exhaustion via crafted HTML/CSS inputs.

CVE-2026-68539 is a remote Denial of Service (DoS) vulnerability in Fulgur, a Rust-based offline HTML/CSS-to-PDF rendering engine. Prior to version 0.29.0, the engine's CSS Generated Content for Paged Media (GCPM) implementation resolved and stored named strings via the string-set property without enforcing memory caps or caching DOM subtree text extraction. An unauthenticated attacker supplying crafted HTML and CSS to a rendering endpoint can trigger multi-gigabyte heap memory allocations and redundant O(M * L) subtree traversals, leading to CPU starvation and out-of-memory (OOM) process aborts.

Vulnerability Overview

Fulgur is an offline HTML and CSS to PDF conversion engine written in Rust, utilizing the Blitz DOM/layout system and Krilla PDF generation library. It is distributed as a core Rust crate (fulgur), a command-line utility (fulgur-cli), and language bindings for Python (pyfulgur), Ruby (fulgur-ruby), and WebAssembly (fulgur-wasm). Because PDF generation engines are frequently deployed in multi-tenant web applications and backend reporting services to render user-supplied templates or untrusted documents, their parser and layout subsystems represent a direct remote attack surface.

In versions 0.4.4 through 0.28.0, Fulgur contains an uncontrolled resource consumption flaw (CWE-400) and allocation of resources without limits (CWE-770) within its CSS Generated Content for Paged Media (GCPM) subsystem. The GCPM specification defines the string-set property, which extracts text content from matched DOM elements into named variables, and the string() function, which retrieves those values for insertion into page margin boxes or PDF bookmark outlines.

During DOM traversal in crates/fulgur/src/blitz_adapter.rs and crates/fulgur/src/engine.rs, Fulgur resolves string-set declarations and retains the output across three distinct data structures: a flat list of resolved assignments (StringSetStore), a live lookup table of current variable states (running), and a per-node historical snapshot table (node_snapshots). Prior to version 0.29.0, none of these data structures enforced aggregate memory budgets or entry count limits.

Furthermore, the text extraction routine responsible for evaluating content(text) declarations performed a full, un-cached traversal of the target element's DOM subtree for every matching CSS rule. When an application processes a compact HTML document engineered to exploit these accumulation and traversal paths, the rendering worker experiences rapid heap expansion into the multi-gigabyte range alongside sustained 100% CPU utilization, terminating the process via an out-of-memory (OOM) abort.

Root Cause Analysis

The vulnerability stems from four distinct resource accumulation and algorithmic complexity sinks within the StringSetPass traversal logic in crates/fulgur/src/blitz_adapter.rs and crates/fulgur/src/gcpm/string_set.rs. As StringSetPass walks the DOM tree, it checks each element against parsed CSS string-set selectors and updates internal state without tracking cumulative byte consumption.

The first sink resides in StringSetStore::push. For every (element, matching_rule) pair encountered during the tree walk, the engine allocates a StringSetEntry { name, value } and appends it to a vector. If a document contains $N$ elements matching a rule that captures a large string, memory retention scales linearly at $O(N \times \text{value_size})$. This allocation is subsequently compounded in Engine::render_html, which clones these entries into per-node lookup maps (string_set_by_node), multiplying peak heap usage.

The second sink occurs when PDF bookmark generation is active (self.config.effective_bookmarks()). To allow BookmarkPass to resolve bookmark-label: string(name) at arbitrary points in the document, StringSetPass captures the state of all active named strings at every visited DOM node. At each of the $N$ nodes in the document, the engine unconditionally executed self.running.borrow().clone() and inserted the resulting BTreeMap<String, String> into node_snapshots. Defining a single 64 KiB string at the top of the document followed by 10,000 empty <p></p> elements forces 10,000 deep copies of the 64 KiB payload. Even when string payloads are zero bytes, storing thousands of empty BTreeMap instances incurs untracked structural heap overhead.

The third sink involves the live running: RefCell<BTreeMap<String, String>> map itself. An initial hardening attempt in version 0.28.0 placed byte caps on StringSetStore and node_snapshots, but left running unbounded. An attacker can attach $M$ distinct CSS classes to a single element (e.g., .c0 through .c400), each assigning content(text) to a unique variable name (s0 through s400). The engine inserts all $M$ copies of the element's text into running. Furthermore, gating only newly inserted keys is insufficient: an attacker can initialize 10,000 distinct keys with 1-byte strings to pass initial budget checks, and subsequently overwrite all 10,000 keys on a later element with a 1 MiB string, expanding running to 10 GiB.

The fourth sink is an algorithmic complexity flaw in resolve_string_set_values(). Evaluating StringSetValue::ContentText calls extract_text_content(doc, node_id), which recursively traverses the element's descendant nodes to concatenate text nodes. Because the extracted string was not cached per element, an element matching $M$ distinct string-set rules forced the engine to re-walk the entire $L$-byte subtree $M$ times, degrading traversal complexity from $O(L)$ to $O(M \times L)$.

Code Analysis

The remediation was implemented across two commits: 1c4cdad003daef7c9dc6ef1362c50bcfaac13ea9 (PR #582, released in v0.28.0) and 9248fbfd91a2ba8fc3dbd9e44ba681f52ed1ecd0 (PR #584, released in v0.29.0). The patches establish hard memory ceilings and structural overhead accounting in crates/fulgur/src/lib.rs:

/// Total-storage budget (in bytes) for per-node named-string snapshots (8 MiB)
pub(crate) const MAX_STRING_SNAPSHOT_BYTES: usize = 8 * 1024 * 1024;
 
/// Approximate per-record heap + struct overhead charged against budgets (64 B)
/// Bounds entry count ceiling to ~131,072 entries even for empty strings
pub(crate) const STRING_ENTRY_OVERHEAD_BYTES: usize = 64;
 
/// Total-storage budget (in bytes) for resolved string-set values in StringSetStore (8 MiB)
pub(crate) const MAX_STRING_SET_STORE_BYTES: usize = 8 * 1024 * 1024;

In crates/fulgur/src/gcpm/string_set.rs, StringSetStore::push was modified to track cumulative byte allocation via self.total_bytes. By charging STRING_ENTRY_OVERHEAD_BYTES (64 bytes) per entry in addition to the byte lengths of name and value, the store prevents attackers from flooding the vector with zero-length strings to exhaust memory via struct metadata overhead:

pub fn push(&mut self, entry: StringSetEntry) {
    // Charge 64-byte structural overhead plus dynamic string lengths
    let add = crate::STRING_ENTRY_OVERHEAD_BYTES + entry.name.len() + entry.value.len();
    if self.total_bytes.saturating_add(add) > crate::MAX_STRING_SET_STORE_BYTES {
        return; // Silently drop entries exceeding the 8 MiB store budget
    }
    self.total_bytes += add;
    self.entries.push(entry);
}

In crates/fulgur/src/blitz_adapter.rs, the patches address both the $O(M \times L)$ CPU traversal bottleneck and the running map overwrite bypass. A per-element content_text_cache: Option<String> was added to memoize the result of extract_text_content(doc, node_id) across all rules matching the current DOM node. Simultaneously, updates to self.running calculate the exact byte delta when overwriting an existing key versus inserting a new key:

let mut content_text_cache: Option<String> = None;
for mapping in self.mappings.iter().filter(|m| selector_matches(&m.parsed, elem)) {
    let value = resolve_string_set_values(
        doc,
        node_id,
        elem,
        &mapping.values,
        &mut content_text_cache, // Memoizes subtree text extraction per node
    );
 
    if self.record_node_snapshots {
        let mut running = self.running.borrow_mut();
        // Calculate projected byte usage accounting for key overwrites
        let projected = match running.get(&mapping.name) {
            Some(existing) => self
                .running_bytes
                .get()
                .saturating_sub(existing.len())
                .saturating_add(value.len()),
            None => self.running_bytes.get().saturating_add(
                crate::STRING_ENTRY_OVERHEAD_BYTES + mapping.name.len() + value.len(),
            ),
        };
        // Enforce 8 MiB ceiling on the live running map
        if projected <= crate::MAX_STRING_SNAPSHOT_BYTES {
            self.running_bytes.set(projected);
            running.insert(mapping.name.clone(), value.clone());
        }
    }
    self.store.borrow_mut().push(StringSetEntry {
        node_id,
        name: mapping.name.clone(),
        value,
    });
}

Finally, in crates/fulgur/src/engine.rs, snapshot recording is explicitly gated so that running and node_snapshots are only populated when bookmarks are both enabled in the configuration and actively referenced by GCPM bookmark mappings:

let bookmark_active = self.config.effective_bookmarks() && !gcpm.bookmark_mappings.is_empty();
let record_string_snapshots = bookmark_active;
if record_string_snapshots {
    pass = pass.with_snapshot_recording();
}

> [!NOTE] > The combination of PR #582 and PR #584 provides complete remediation against this vector class. Charging a fixed 64-byte overhead per entry caps the maximum number of empty records at 131,072 ($8\text{ MiB} / 64\text{ B}$), eliminating struct-flooding variants, while delta accounting on key overwrites prevents two-stage budget bypasses.

Exploitation

Exploiting CVE-2026-68539 requires no authentication or specialized privileges if the target application exposes an HTML-to-PDF conversion endpoint that accepts user-controlled HTML or CSS. The attacker delivers a compact HTML payload containing standard CSS GCPM directives. Because the amplification occurs entirely during in-memory DOM pass resolution prior to PDF serialization, a payload of a few kilobytes can exhaust several gigabytes of system RAM.

To trigger heap exhaustion via per-node snapshot cloning (BookmarkPass), the attacker defines a string-set rule alongside a bookmark-label referencing that string, which activates record_node_snapshots. Placing a 64 KiB text block inside the matched heading followed by 10,000 empty <p></p> tags forces Fulgur to clone the 64 KiB BTreeMap 10,000 times, consuming over 640 MB of heap memory:

<!doctype html>
<html>
<head>
<style>
  h1 {
    string-set: title content(text);
    bookmark-level: 1;
    bookmark-label: string(title);
  }
</style>
</head>
<body>
  <h1>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...[64 KiB]...</h1>
  <p></p>
  <p></p>
  <!-- Repeat <p></p> 10,000 times -->
</body>
</html>

To trigger heap exhaustion in the running map (which affects even version 0.28.0 where StringSetStore is capped), the attacker defines hundreds of distinct CSS class selectors that each assign content(text) to a distinct variable name, and applies all classes to a single container element holding 1 MiB of text:

<!doctype html>
<html>
<head>
<style>
  .c0 { string-set: s0 content(text); }
  .c1 { string-set: s1 content(text); }
  /* ... repeat up to .c400 ... */
  .c400 { string-set: s400 content(text); }
</style>
</head>
<body class="c0 c1 ... c400">
  ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ...[1 MiB text]...
</body>
</html>

To trigger CPU starvation via un-cached subtree re-walking, the attacker defines 15,000 distinct class rules matching the <body> tag over a moderate 200 KiB text subtree. When resolve_string_set_values executes, it invokes extract_text_content 15,000 consecutive times over the 200 KiB DOM subtree (~3 GB of cumulative text traversal and concatenation), stalling the rendering thread for tens of seconds per request.

Impact Assessment

The primary impact of CVE-2026-68539 is high-severity Denial of Service (DoS) against availability, reflected in its CVSS v3.1 score of 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). The vulnerability does not permit arbitrary code execution, memory corruption, or unauthorized information disclosure, as Fulgur is implemented in safe Rust and all allocations occur via standard bounds-checked heap containers (String, Vec, and BTreeMap).

In server-side deployments where Fulgur is linked directly into a long-running web service (via the fulgur Rust crate, pyfulgur in Python application servers, or fulgur-ruby in Ruby workers), exhausting the process heap triggers a Rust allocator abort (handle_alloc_error / SIGABRT) or invokes the operating system's OOM killer (SIGKILL). This terminates the entire host worker process, dropping all concurrent in-flight requests handled by that process.

If the application architecture spawns fulgur-cli as an isolated child process per conversion job without cgroup or ulimit memory constraints, concurrent malicious submissions will rapidly deplete host system RAM and saturate CPU cores. This degrades or halts co-located services on the same virtual machine or Kubernetes node.

As of the advisory publication, the Exploit Prediction Scoring System (EPSS) assigns CVE-2026-68539 a score of 0.00684 (~47.78th percentile), and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, functional proof-of-concept payloads are publicly available within the upstream repository's regression test suite.

Remediation

To fully remediate CVE-2026-68539, upgrade Fulgur and any associated language bindings (fulgur, fulgur-cli, pyfulgur, fulgur-ruby, fulgur-wasm) to version 0.29.0 or later. Version 0.28.0 contains only a partial fix (PR #582) and remains vulnerable to the running map folding sink, overwrite bypass, and un-cached content(text) CPU exhaustion vectors resolved in 0.29.0 (PR #584).

For Rust projects, update Cargo.toml to require at least version 0.29.0:

[dependencies]
fulgur = ">= 0.29.0"

For Python and Ruby deployments, update the respective package manager manifests (requirements.txt or Gemfile) to specify pyfulgur>=0.29.0 or gem "fulgur", ">= 0.29.0" and rebuild the deployment environment.

If an immediate upgrade to 0.29.0 cannot be performed, operators can apply partial mitigations at the configuration and infrastructure layers. Disabling PDF bookmark generation in the Fulgur engine configuration (Engine::builder().bookmarks(false).build()) prevents BookmarkPass snapshot cloning, eliminating the per-node BTreeMap amplification vector, though StringSetStore accumulation and content(text) CPU traversal remain reachable. Additionally, rendering tasks should be executed inside isolated sub-processes or containers constrained by strict memory limits (such as Docker --memory="512m", systemd MemoryMax, or POSIX ulimit -v) and hard execution timeouts to prevent host-wide resource exhaustion.

Official Patches

fulgur-rsOfficial GitHub Security Advisory GHSA-vw2v-g4x7-xcqg
fulgur-rsFulgur v0.29.0 Release Notes
fulgur-rsPull Request #582: Store and Snapshot Budget Hardening
fulgur-rsPull Request #584: Running Map Hardening and Subtree Caching

Fix Analysis (2)

Technical Appendix

CVSS Score
7.5/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Probability
0.68%
Top 52% most exploited

Affected Systems

fulgur (Rust crate)fulgur-cli (CLI binary)fulgur-ruby (Ruby gem)pyfulgur (Python package)fulgur-wasm (WebAssembly package)

Affected Versions Detail

Product
Affected Versions
Fixed Version
fulgur
fulgur-rs
>= 0.4.4, < 0.29.00.29.0
fulgur-cli
fulgur-rs
>= 0.4.4, < 0.29.00.29.0
fulgur-ruby
fulgur-rs
>= 0.4.4, < 0.29.00.29.0
pyfulgur
fulgur-rs
>= 0.4.4, < 0.29.00.29.0
fulgur-wasm
fulgur-rs
>= 0.4.4, < 0.29.00.29.0
AttributeDetail
Vulnerability TypeUncontrolled Resource Consumption / Denial of Service
CWE IDCWE-400 / CWE-770
CVSS v3.1 Score7.5 High (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
EPSS Score0.68% (47.78th Percentile)
Attack VectorNetwork (Crafted HTML/CSS Input)
Affected Versionsfulgur >= 0.4.4, < 0.29.0
Patched Version0.29.0
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1499Endpoint Denial of Service
Impact
T1499.003Endpoint Denial of Service: Application Exhaustion Flood
Impact
CWE-400
Uncontrolled Resource Consumption

The software does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

Known Exploits & Detection

GitHubUpstream PR #582 containing reproduction cases and regression tests for StringSetStore and per-node snapshot heap amplification.
GitHubUpstream PR #584 containing reproduction tests for running-map distinct key folding, overwrite budget bypass, and O(M * L) subtree traversal CPU exhaustion.

Vulnerability Timeline

PR #582 merged (1c4cdad003daef7c9dc6ef1362c50bcfaac13ea9) and Fulgur v0.28.0 released with initial store and snapshot byte budgets.
2026-07-05
Code review identifies remaining sinks in live running map, key overwrite bypass, and un-cached content(text) subtree walks.
2026-07-05
PR #584 merged (9248fbfd91a2ba8fc3dbd9e44ba681f52ed1ecd0) and Fulgur v0.29.0 released with complete remediation.
2026-07-05
CVE-2026-68539 and GitHub Security Advisory GHSA-vw2v-g4x7-xcqg published.
2026-11-11
NVD publishes official CVSS v3.1 score of 7.5 (High).
2026-11-12

References & Sources

  • [1]CVE-2026-68539 Record (CVE.org)
  • [2]National Vulnerability Database (NVD) - CVE-2026-68539
  • [3]GitHub Security Advisory GHSA-vw2v-g4x7-xcqg
  • [4]Upstream Pull Request #582 (Store and Snapshot Budget Hardening)
  • [5]Upstream Pull Request #584 (Running Map Hardening & Subtree Caching)
  • [6]Fix Commit 1c4cdad003daef7c9dc6ef1362c50bcfaac13ea9 (PR #582)
  • [7]Fix Commit 9248fbfd91a2ba8fc3dbd9e44ba681f52ed1ecd0 (PR #584)
  • [8]Fulgur Release v0.29.0

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 4 hours ago•CVE-2026-64670
9.3

CVE-2026-64670: Stored Cross-Site Scripting in @waline/client Comment Editor Preview

A stored cross-site scripting (XSS) vulnerability in @waline/client allows unauthenticated attackers to execute arbitrary JavaScript in the context of an administrator's browser session. The flaw exists because the client-side markdown preview renderer utilizes the marked library without HTML sanitization and injects the resulting output directly into the DOM via Vue's v-html directive. When an administrator opens the edit interface for a comment, the preview element is mounted and evaluated immediately due to the combination of watchImmediate and v-show, leading to automatic payload execution and administrative token compromise.

Amit Schendel
Amit Schendel
4 views•8 min read
•about 17 hours ago•CVE-2026-63304
8.1

CVE-2026-63304: OS Command Injection in WWBN AVideo via listFFmpegProcesses

WWBN AVideo versions through 29.0 contain an OS command injection vulnerability (CWE-78) in the standalone API utility function listFFmpegProcesses(). The function constructs a shell pipeline to monitor active FFmpeg processes by interpolating a user-controlled keyword parameter directly into a single-quoted grep argument without sanitization or shell escaping. An attacker capable of crafting or submitting a valid encrypted codeToExec payload can break out of the single-quoted argument context and execute arbitrary operating system commands with the privileges of the web server user.

Alon Barad
Alon Barad
5 views•9 min read
•about 18 hours ago•CVE-2026-59726
10.0

CVE-2026-59726: Unauthenticated Remote Code Execution in Ruflo MCP Bridge

Ruflo versions prior to 3.16.3 expose the Model Context Protocol (MCP) bridge HTTP endpoints (`POST /mcp` and `POST /mcp/:group`) on all network interfaces (`0.0.0.0:3001`) without authentication. Because the primary JSON-RPC tool dispatcher (`executeTool()`) bypasses existing tool blocklists, an unauthenticated network attacker can invoke the `terminal_execute` tool to achieve arbitrary command execution inside the bridge container. This initial access permits full exfiltration of third-party LLM provider API keys, unauthorized access to the co-located MongoDB instance, and manipulation of the AgentDB learning store.

Alon Barad
Alon Barad
11 views•2 min read
•about 19 hours ago•CVE-2026-59818
6.5

CVE-2026-59818: Improper Certificate Revocation List (CRL) Validation on Split gRPC Listeners in etcd

In etcd versions prior to 3.5.32 and 3.6.13, configuring the server with --listen-client-http-urls decouples HTTP and gRPC traffic onto distinct network listeners. Due to an implementation flaw in how TLS configurations are passed to the gRPC server instance, the Certificate Revocation List (CRL) defined by --client-crl-file is enforced exclusively on the HTTP listener and omitted entirely on the dedicated gRPC listener. This allows an adversary possessing a revoked, CA-signed client certificate to bypass mutual TLS (mTLS) revocation checks and authenticate directly to the gRPC interface.

Amit Schendel
Amit Schendel
6 views•10 min read
•about 20 hours ago•CVE-2026-59831
4.4

CVE-2026-59831: Remote Code Execution via Unvalidated URL Scheme Handling in GitHub CLI

GitHub CLI (gh) versions 2.10.0 through 2.95.0 contain an input validation vulnerability in the `gh codespace jupyter` command path. When connecting to a remote Codespace to launch a JupyterLab session, the CLI retrieves a server URL via a remote procedure call (RPC) and passes it directly to the host operating system's default URL dispatcher without validating the scheme or target host. A compromised or malicious Codespace can return a custom protocol URI, such as `vscode://` or `vscode-insiders://`, allowing an attacker to invoke local desktop application handlers and achieve arbitrary command execution on the developer's workstation.

Alon Barad
Alon Barad
13 views•9 min read
•about 21 hours ago•CVE-2026-59191
6.9

CVE-2026-59191: Path Traversal and Arbitrary File Read in CakePHP TwigView FileLoader

A path traversal vulnerability exists in the cakephp/twig-view plugin for the CakePHP framework prior to versions 1.3.3 and 2.1.2. The Cake\TwigView\Twig\FileLoader::findTemplate() method verifies template existence using PHP's native file_exists() function without ensuring the target path resides within configured application or plugin template directories. When user-controlled input is passed to template inclusion mechanisms, an unauthenticated remote attacker can read arbitrary local files accessible to the PHP runtime.

Alon Barad
Alon Barad
6 views•9 min read