Librsvg: use-after-free when xml includes have duplicated entities
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 2.57.5, 2.60.3, 2.61.5, 2.62.4, 2.63.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: total
- 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
- errata/RHSA-2026:86331
- errata/RHSA-2026:86841
- errata/RHSA-2026:86842
- errata/RHSA-2026:86921
- errata/RHSA-2026:92212
- errata/RHSA-2026:92213
- errata/RHSA-2026:92214
- errata/RHSA-2026:92218
- errata/RHSA-2026:92336
- errata/RHSA-2026:92353
- errata/RHSA-2026:92382
- errata/RHSA-2026:92573
- errata/RHSA-2026:92579
- security/cve/CVE-2026-96889