CVE-2026-68523

Fulgur: Unbounded page slicing from attacker-controlled CSS height causes denial of service

Published Sep 17, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
`fulgur` converts untrusted HTML/CSS into PDF, commonly on a server that processes input supplied by many tenants. In versions prior to 0.19.0, a body-direct child whose CSS-resolved height greatly exceeds the page height was sliced into one fragment per page with no upper bound. This is fixed in 0.19.0. A `MAX_PAGES` cap bounds the slice loop — halting it even
for a `+inf` height — and non-finite layout heights are sanitized so they can no longer drive the loop. As a workaround, validate or constrain untrusted CSS (in particular `height` / `vh` on body-level elements) before passing HTML to fulgur.

Analysis

AI-generated

Technical impact

This vulnerability arises when using fulgur to convert untrusted HTML and CSS to PDF. The issue is that an attacker can supply a body element with a CSS‑resolved height that far exceeds the page height, causing fulgur to slice the content into a fragment for each page without an upper bound. The result is an unbounded loop that consumes CPU and memory, ultimately exhausting system resources and leading to a denial‑of‑service condition. The flaw is identified as uncontrolled resource consumption (CWE‑400) and an infinite loop (CWE‑835).

Affected Systems

The problem affects the fulgur‑rs fulgur project, versions older than 0.19.0. All installations that rely on these earlier releases to convert untrusted web content on a multi‑tenant server are vulnerable. Affected builds include any release prior to 0.19.0.

Risk and Exploitability

The CVSS score of 7.5 assigns a high severity rating. The EPSS score of less than 1% indicates a very low probability of exploitation, and the vulnerability is not listed in CISA's KEV catalog. However, because the converter is typically exposed as a server that processes data supplied by external parties, an attacker can remotely send malicious HTML/CSS to trigger the crash. The exploit would perform a resource‑intensive loop that can be mitigated by the MAX_PAGES cap introduced in 0.19.0 or by sanitizing non‑finite layout heights.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade fulgur to version 0.19.0 or later
  • Verify that the MAX_PAGES cap is enabled in the configuration
  • Validate or constrain untrusted CSS height before passing HTML to fulgur

Generated by OpenCVE AI on September 19, 2026 at 02:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-j5cx-ph8g-95v3 Fulgur: Unbounded page slicing from attacker-controlled CSS height causes denial of service
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Fulgur-rs
Fulgur-rs fulgur
Vendors & Products Fulgur-rs
Fulgur-rs fulgur
Type Values Removed Values Added
Description `fulgur` converts untrusted HTML/CSS into PDF, commonly on a server that processes input supplied by many tenants. In versions prior to 0.19.0, a body-direct child whose CSS-resolved height greatly exceeds the page height was sliced into one fragment per page with no upper bound. This is fixed in 0.19.0. A `MAX_PAGES` cap bounds the slice loop — halting it even for a `+inf` height — and non-finite layout heights are sanitized so they can no longer drive the loop. As a workaround, validate or constrain untrusted CSS (in particular `height` / `vh` on body-level elements) before passing HTML to fulgur.
Title Fulgur: Unbounded page slicing from attacker-controlled CSS height causes denial of service
Weaknesses CWE-400
CWE-835
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 21, 2026, 9:16 PM
Reserved
Jul 30, 2026, 4:19 PM
Status
Deferred
Published
Sep 17, 2026, 9:17 PM
Modified
Sep 24, 2026, 9:25 PM