CVE-2026-96889

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

Published Sep 23, 2026 CVSS 3.1 · 7.8 High EPSS 1.1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A use‑after‑free fault arises when librsvg processes an SVG document that contains nested XML inclusions (Xincludes) with duplicate entity declarations. The library mistakenly frees an XML entity that remains in use by the parser, which can lead to a program crash or the execution of arbitrary code if the attacker supplies a crafted SVG file.

Affected Systems

The flaw is present in Red Hat Enterprise Linux releases 6 through 10, where the bundled librsvg library is used by graphical and document‑rendering components. All supported versions that ship the affected librsvg package are impacted.

Risk and Exploitability

The vulnerability has a CVSS score of 7.8, indicating high severity. The EPSS score is not available and it is not listed in CISA's KEV catalog, so exploitation has not been documented in the wild. Based on the description, it is inferred that an attacker would need to supply or manipulate a trusted application that loads an SVG file via librsvg, indicating a local or service‑level attack surface. The lack of a public exploit does not negate the risk, but it indicates that the likelihood of widespread exploitation remains uncertain.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.


OpenCVE Recommended Actions

  • Upgrade librsvg to a version that includes the fix once the Red Hat security team releases an update
  • Avoid loading untrusted or user‑supplied SVG documents in applications that use librsvg
  • If an update cannot be applied, consider disabling or sandboxing librsvg usage to limit potential damage
  • No vendor‑approved workaround exists; no temporary mitigations available.

Generated by OpenCVE AI on September 23, 2026 at 22:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6555-1 librsvg security update
Github GHSA Github GHSA GHSA-cpvr-w4j5-2mpg Librsvg: Use-after-free when XML includes have duplicated entities
References
Link Providers
https://access.redhat.com/errata/RHSA-2026:86331 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:86841 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:86842 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:86921 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:92212 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:92213 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:92214 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:92218 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:92336 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:92353 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:92382 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:92573 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:92579 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94452 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94453 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94454 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94455 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94457 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94458 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94459 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94460 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94461 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94462 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94463 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94464 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94465 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94466 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94467 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94468 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94469 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94470 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94471 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94472 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94473 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94474 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:94476 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:98482 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:98584 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:98591 cve-icon cve-icon
https://access.redhat.com/security/cve/CVE-2026-96889 cve-icon cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=2539279 cve-icon cve-icon
https://crates.io/crates/librsvg cve-icon cve-icon cve-icon
https://gitlab.gnome.org/GNOME/librsvg/-/work_items/1241 cve-icon cve-icon cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2026-96889 cve-icon
https://rustsec.org/advisories/RUSTSEC-2026-0305.html cve-icon cve-icon cve-icon
https://www.cve.org/CVERecord?id=CVE-2026-96889 cve-icon
History
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10.3
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:6 cpe:/o:redhat:rhel_els:6
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux Ai
CPEs cpe:/a:redhat:enterprise_linux_ai:3
cpe:/a:redhat:openshift_ai
Vendors & Products Redhat enterprise Linux Ai
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux Eus
Redhat rhel E4s
Redhat rhel Els
Redhat rhel Eus
Redhat rhel Tus
CPEs cpe:/o:redhat:enterprise_linux:7 cpe:/a:redhat:rhel_e4s:8.8::appstream
cpe:/a:redhat:rhel_e4s:9.2::appstream
cpe:/a:redhat:rhel_e4s:9.4::appstream
cpe:/a:redhat:rhel_eus:9.6::appstream
cpe:/a:redhat:rhel_tus:8.8::appstream
cpe:/o:redhat:enterprise_linux_eus:10.0
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat enterprise Linux Eus
Redhat rhel E4s
Redhat rhel Els
Redhat rhel Eus
Redhat rhel Tus
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_aus:8.4::appstream
cpe:/a:redhat:rhel_eus_long_life:8.4::appstream
References
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel Eus Long Life
CPEs cpe:/a:redhat:rhel_aus:8.6::appstream
cpe:/a:redhat:rhel_eus_long_life:8.6::appstream
Vendors & Products Redhat rhel Aus
Redhat rhel Eus Long Life
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:9 cpe:/a:redhat:enterprise_linux:9::appstream
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:8 cpe:/a:redhat:enterprise_linux:8::appstream
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10.2
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Librsvg: use-after-free when xml includes have duplicated entities
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-416
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 11, 2026, 12:53 PM
Reserved
Sep 23, 2026, 6:52 PM
Status
Awaiting Analysis
Published
Sep 23, 2026, 8:17 PM
Modified
Nov 11, 2026, 1:17 PM
Severity
Important
Public date
Sep 23, 2026, 12:00 PM