Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. fulgur
  4. ›
  5. CVE-2026-68537

CVE-2026-68537: Fulgur: Non-painting replaced elements amplify to thousands of blank PDF pages (denial of service)

September 17, 2026

fulgur converts untrusted HTML/CSS into PDF, commonly on a server that processes input supplied by many tenants. In versions prior to 0.26.0, a childless box that resolves to a pathologically tall height was amplified into thousands of blank PDF pages, even when it produces no visible output.

The childless-collapse defense that would normally collapse such a box was gated by a tag-only “replaced content” check, so any non-painting replaced element bypassed it, including:

  • an unresolved src (the common offline-first case),
  • a visibility:hidden image,
  • an undecodable image format, and
  • an empty <svg>.

A trailing-sibling variant of the same gap was also open. A few bytes of HTML therefore amplified into roughly MAX_PAGES (10,000) blank pages; the renderer allocates and runs a per-page loop over them, producing CPU and memory exhaustion. An attacker able to submit HTML to a fulgur-based conversion service can trigger this with a trivially small payload, denying service to the host and any co-tenants.

References

  • github.com/advisories/GHSA-4rf6-qx84-q9fv
  • github.com/fulgur-rs/fulgur/pull/575
  • github.com/fulgur-rs/fulgur/security/advisories/GHSA-4rf6-qx84-q9fv
  • nvd.nist.gov/vuln/detail/CVE-2026-68537
  • rustsec.org/advisories/RUSTSEC-2026-0201.html

Code Behaviors & Features

Detect and mitigate CVE-2026-68537 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.26.0

Fixed versions

  • 0.26.0

Solution

Upgrade to version 0.26.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

cargo/fulgur/CVE-2026-68537.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:21:27 +0000.