Skip to content
High 7.5

fulgurに細工されたHTMLで大量のメモリとCPUを消費させられる脆弱性

CVE-2026-68539 First seen on SecPulse

Summary

細工されたHTML/CSSを処理させると、文字列の値が上限なく蓄積され、メモリとCPUが枯渇してサービス運用が妨げられるおそれがあります。影響を受けるのはfulgurの0.4.4以上0.29.0未満で、0.29.0で修正されています。複数の利用者の入力を受け付けるサーバーで使っている場合は、早めに0.29.0以降へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

細工されたHTML/CSSを処理させると、文字列の値が上限なく蓄積され、メモリとCPUが枯渇してサービス運用が妨げられるおそれがあります。影響を受けるのはfulgurの0.4.4以上0.29.0未満で、0.29.0で修正されています。複数の利用者の入力を受け付けるサーバーで使っている場合は、早めに0.29.0以降へ更新してください。

Affected packages

PackageAffected → Fixed
fulgur-rsfulgur —
rustfulgur
< 0.28.0→ 0.28.0
crates.iofulgur
≥ 0.4.4, < 0.28.0→ 0.28.0
Original description The description as published by the source.

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:

    
      p { string-set: title "……a large literal value……" }
    
      <!-- 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(...…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details