Skip to main content
← All vulnerabilities
CVE-2026-96889GHSA-CPVR-W4J5-2MPGRUSTSEC-2026-0305

Librsvg: use-after-free when xml includes have duplicated entities

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.57.5, 2.60.3, 2.61.5, 2.62.4, 2.63.2
5 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

A flaw was found in librsvg. When processing an SVG document containing nested XML inclusions (Xincludes) with duplicate entity declarations, a use-after-free error can occur. This vulnerability arises because the library incorrectly frees an XML entity that is still in use by the parser. An attacker could potentially exploit this to cause a denial of service or execute arbitrary code.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • glycin-loaders

    Version range not reported

  • librsvg2

    Version range not reported

  • librsvg2

    Version range not reported

  • glycin-loaders

    Version range not reported

  • librsvg2

    Version range not reported

  • librsvg2

    Version range not reported

  • librsvg2

    Version range not reported

  • librsvg2

    Version range not reported

  • librsvg2

    Version range not reported

  • librsvg2

    Version range not reported

  • librsvg2

    Version range not reported

  • librsvg2

    Version range not reported

  • librsvg2

    Version range not reported

  • librsvg2

    Version range not reported

  • librsvg2

    Version range not reported

  • librsvg2

    Version range not reported

  • librsvg2

    Version range not reported

  • librsvgcrates.io

    From 0.0.0-0 · fixed in 2.57.5; From 2.57.90 · fixed in 2.60.3; From 2.61.0 · fixed in 2.61.5; From 2.61.90 · fixed in 2.62.4; From 2.62.90 · fixed in 2.63.2

  • librsvgcrates.io

    fixed in 2.57.5

  • librsvgcrates.io

    From 2.60.0-beta.0 · fixed in 2.60.3

  • librsvgcrates.io

    From 2.61.0 · fixed in 2.61.5

  • librsvgcrates.io

    From 2.62.0-beta.0 · fixed in 2.62.4

  • librsvgcrates.io

    From 2.63.0-beta.0 · fixed in 2.63.2

References 24

access.redhat.com

bugzilla.redhat.com

crates.io

gitlab.gnome.org

rustsec.org

GitHub · AmanSin001/next-security-check

GitHub · CompleteTech-Security/sharp-rsvg-rce-check

GitHub · lion9453/CVE-2026-96889-nextjs-rce

GitHub · pauleprichna/cybersecurity

GitHub · rafabd1/VectorFreed

GitHub · CompleTech-Security/sharp-rsvg-rce-check