---
id: CVE-2026-68537
title: >-
  `fulgur` converts untrusted HTML/CSS into PDF, commonly on a server that
  processes input supplied by many tenants
summary: >-
  `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…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-400
  - CWE-835
vendor: fulgur-rs
product: fulgur
affected:
  - fulgur < 0.19.0
patched:
  - fulgur 0.26.0
published: '2026-09-17'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:25:27.050'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-68537'
references:
  - url: 'https://github.com/fulgur-rs/fulgur/pull/501'
    label: security-advisories@github.com
  - url: >-
      https://github.com/fulgur-rs/fulgur/security/advisories/GHSA-4rf6-qx84-q9fv
    label: security-advisories@github.com
  - url: 'https://rustsec.org/advisories/RUSTSEC-2026-0200.html'
    label: security-advisories@github.com
  - url: 'https://github.com/fulgur-rs/fulgur/pull/575'
  - url: 'https://rustsec.org/advisories/RUSTSEC-2026-0201.html'
  - url: 'https://github.com/advisories/GHSA-4rf6-qx84-q9fv'
  - url: 'https://crates.io/crates/fulgur'
  - url: 'https://github.com/fulgur-rs/fulgur'
tags:
  - nvd
  - cve.org
  - ghsa
  - rust
  - osv
epss: 0.00609
epssPercentile: 0.46937
aliases:
  - GHSA-4rf6-qx84-q9fv
  - RUSTSEC-2026-0201
ecosystem: rust
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-17T20:23:00.998569Z'
ingestedAt: '2026-09-17T19:26:25.321Z'
---

## Overview

`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 version 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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-68537)

Affected packages:

- `fulgur < 0.26.0`

Patched in:

- `fulgur 0.26.0`

Source: https://github.com/advisories/GHSA-4rf6-qx84-q9fv
