KeygraphLabs · CVE MCP

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.

CVSS
7.8
high, from the CNA
EPSS
1.09%
percentile 66.7%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-23Published
2026-09-23Package advisory RUSTSEC-2026-0305
2026-10-22Package advisory GHSA-cpvr-w4j5-2mpg
2026-11-30EPSS when our history starts: 1.09%
2026-12-02Record last changed
2026-12-03Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-cpvr-w4j5-2mpglibrsvg (crates.io)2.57.5
GHSA-cpvr-w4j5-2mpglibrsvg (crates.io)2.60.3
GHSA-cpvr-w4j5-2mpglibrsvg (crates.io)2.61.5
GHSA-cpvr-w4j5-2mpglibrsvg (crates.io)2.62.4
GHSA-cpvr-w4j5-2mpglibrsvg (crates.io)2.63.2
RUSTSEC-2026-0305librsvg (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

CVEPublishedCVSSSummary
CVE-2015-75582016-05-207.5same package: librsvg (crates.io)
CVE-2026-1424392026-12-025.3Io.netty/netty-transport-classes-io_uring: netty: iouringbufferring.nextbid() predicts wrong buffer id under recvsend_bundle
CVE-2026-1337302026-11-207.5Dnsmasq: dhcpv6 relay remote crash via stale pointer in relay_upstream6()
CVE-2026-1247402026-11-114.3Busybox: use-after-free of requested_ipv6 in udhcpc6
CVE-2026-1257042026-11-107.5Gstreamer: gstreamer: use-after-free in gstreamer core buffer value deserialization
CVE-2026-1122612026-10-197.8Gimp: gimp: use-after-free in xcf loader via prop_selected_path
CVE-2026-1122582026-10-197.8Gimp: gimp: use-after-free in xcf loader via prop_linked and prop_selection on channels
CVE-2026-175912026-10-163.6Libarchive: 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.

NVD · CVE.org