CVE-2026-96889 · redhat
Librsvg: use-after-free when xml includes have duplicated entities
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.
Published 2026-09-23, last changed 2026-12-02. Weakness: CWE-416.
How to fix
Upgrade to a fixed version: librsvg 2.57.5, 2.60.3, 2.61.5, 2.62.4, 2.63.2 (crates.io) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in GNOME/librsvg. Functions changed by the fix: entity_insert, xmlFreeNode, drop, into_xml_entity, name. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2026-09-23 | Published |
| 2026-09-23 | Package advisory RUSTSEC-2026-0305 |
| 2026-10-22 | Package advisory GHSA-cpvr-w4j5-2mpg |
| 2026-11-30 | EPSS when our history starts: 1.09% |
| 2026-12-02 | Record last changed |
| 2026-12-03 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-cpvr-w4j5-2mpg | librsvg (crates.io) | 2.57.5 |
| GHSA-cpvr-w4j5-2mpg | librsvg (crates.io) | 2.60.3 |
| GHSA-cpvr-w4j5-2mpg | librsvg (crates.io) | 2.61.5 |
| GHSA-cpvr-w4j5-2mpg | librsvg (crates.io) | 2.62.4 |
| GHSA-cpvr-w4j5-2mpg | librsvg (crates.io) | 2.63.2 |
| RUSTSEC-2026-0305 | librsvg (crates.io) | 2.57.5, 2.60.3, 2.61.5, 2.62.4, 2.63.2 |
Also known as: GHSA-cpvr-w4j5-2mpg, RUSTSEC-2026-0305
Credited: Red Hat would like to thank Rafael B. Dias for reporting this issue. (other)
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2015-7558 | 2016-05-20 | 7.5 | same package: librsvg (crates.io) |
| CVE-2026-142439 | 2026-12-02 | 5.3 | Io.netty/netty-transport-classes-io_uring: netty: iouringbufferring.nextbid() predicts wrong buffer id under recvsend_bundle |
| CVE-2026-133730 | 2026-11-20 | 7.5 | Dnsmasq: dhcpv6 relay remote crash via stale pointer in relay_upstream6() |
| CVE-2026-124740 | 2026-11-11 | 4.3 | Busybox: use-after-free of requested_ipv6 in udhcpc6 |
| CVE-2026-125704 | 2026-11-10 | 7.5 | Gstreamer: gstreamer: use-after-free in gstreamer core buffer value deserialization |
| CVE-2026-112261 | 2026-10-19 | 7.8 | Gimp: gimp: use-after-free in xcf loader via prop_selected_path |
| CVE-2026-112258 | 2026-10-19 | 7.8 | Gimp: gimp: use-after-free in xcf loader via prop_linked and prop_selection on channels |
| CVE-2026-17591 | 2026-10-16 | 3.6 | Libarchive: libarchive: use-after-free via aliased mac metadata copy |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2026-96889, or call /api/v1/vulnerabilities/CVE-2026-96889. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.