Saltar al contenido
DayZeroHub
Alta Sin redactarCVSS 7.5GHSA-vw2v-g4x7-xcqgCVE-2026-68539

CVE-2026-68539: fulgur allows Unbounded string-set value accumulation causes memory/CPU exhaustion (denial of service)

fulgur

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-68539: vulnerabilidad de severidad alta (CVSS 7.5) en fulgur.

Qué ocurre

Descripción original de la fuente (en inglés): `fulgur` converts untrusted HTML/CSS into PDF, commonly on a server that processes input supplied by many tenants. In versions from 0.4.4 up to (but not including) the patched release, the CSS `string-set` named-string values resolved from a document were accumulated per element with no memory budget, letting a small crafted document amplify into large retained memory (and the CPU to copy it) — a denial of service. A `string-set` value is attacker-controlled: it is resolved from an element's own text (`content(text)`), from one of its attributes (`attr(...)`), or from a CSS string literal. fulgur accumulated these values per element in two unbounded places: 1. **Store (default path).** For every element that matches a `string-set` rule, fulgur pushes a copy of the resolved value into a store that is retained for the whole render and cloned again downstream into a per-node lookup map. This happens on the ordinary render path with no opt-in. A single literal reused across many elements therefore expands from one copy in the input to N copies in memory: ```html <style> p { string-set: title "……a large literal value……" } </style> <p></p> <!-- repeated N times --> ``` The store grows to roughly `value_size × N` bytes (and ~3× that across the downstream clones) from an input whose large part appears only once — a breadth-unbounded amplification. 2. **Per-node snapshot (bookmark / cross-reference path).** When PDF bookmarks (`bookmark-label: string(...)`) or CSS `target-*` references are in play, fulgur additionally cloned the full running `name → value` map at every visited element so `string()` can resolve at that position. One large value is then re-cloned at each of N follo…

Por qué importa

Severidad alta, CVSS 7.5.

Productos y versiones afectados

fulgur >= 0.4.4, < 0.28.0 (corregido en 0.28.0)

ProductoVersionesCorregido en
fulgur>= 0.4.4, < 0.28.00.28.0

Acción recomendada por la fuente

Actualizar a una versión corregida: 0.28.0.

Corregido en: 0.28.0

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Debilidades (CWE): CWE-400, CWE-770

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.