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

CVE-2026-96889

Assigned byThe organization (CNA) that assigned this CVE ID and published the record, usually the vendor.
Red Hat, Inc. (opens in new tab)
Published
Last modified
NVD status
Awaiting Analysis
CVSS 3.17.8High

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.

Exploitation

Whether attackers are exploiting this vulnerability, and how likely they are to try in the next 30 days.

CISA SSVC assessmentAbout SSVC (opens in new tab)

CISA's assessment of whether it's exploited, whether attacks can be automated and how much control an attacker gains.

ExploitationWhether CISA has seen exploit code or attacks for this vulnerability.
Public exploit code
AutomatableWhether attackers can exploit it at scale without manual steps.
No
Technical impactHow much control of the affected system an attacker gains.
Full control
Assessed

FIRST Exploit Prediction Scoring System (EPSS)About EPSS (opens in new tab)

FIRST's estimate of the chance attackers try to exploit this vulnerability in the next 30 days.

Probability of exploitationIt predicts attempts, not success, and is updated daily.
0.564%
Compared with other CVEs
At or above 47.651% of scored CVEs
Scored

Affected products

The products and versions with the vulnerability.

Listed by CNA

The products and versions affected, according to the organization that published this CVE.

VendorProductAffected versions
Red HatRed Hat Enterprise Linux 10https://access.redhat.com/downloads/content/package-browser/

Not affected: 0:1.0.1-1.el10_2.2, 0:2.57.1-9.el10_2.10, 0:1.0.1-1.el10_3.2, 0:2.57.1-9.el10_3.10

Red HatRed Hat Enterprise Linux 10.0 Extended Update Supporthttps://access.redhat.com/downloads/content/package-browser/

Not affected: 0:2.57.1-9.el10_0.1, 0:1.0.1-1.el10_0.1

Red HatRed Hat Enterprise Linux 7 Extended Lifecycle Supporthttps://access.redhat.com/downloads/content/package-browser/

Not affected: 0:2.40.20-1.el7_9.1

Red HatRed Hat Enterprise Linux 8https://access.redhat.com/downloads/content/package-browser/

Not affected: 0:2.42.7-6.el8_10

Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supporthttps://access.redhat.com/downloads/content/package-browser/

Not affected: 0:2.42.7-4.el8_4.1

Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onhttps://access.redhat.com/downloads/content/package-browser/

Not affected: 0:2.42.7-4.el8_4.1

Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supporthttps://access.redhat.com/downloads/content/package-browser/

Not affected: 0:2.42.7-4.el8_6.1

Red HatRed Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onhttps://access.redhat.com/downloads/content/package-browser/

Not affected: 0:2.42.7-4.el8_6.1

Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Servicehttps://access.redhat.com/downloads/content/package-browser/

Not affected: 0:2.42.7-4.el8_8.1

Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutionshttps://access.redhat.com/downloads/content/package-browser/

Not affected: 0:2.42.7-4.el8_8.1

1–10 of 20

How to fix the vulnerability, or reduce the risk until you can.

Workarounds

From Red Hat, Inc., which published this CVE.

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.

Severity

How serious the vulnerability is if exploited, scored from 0 to 10 with the CVSS standard (opens in new tab).

  • 7.8 HighCVSS 3.1 · SecondaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by Red Hat, Inc. (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Local
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    Low
    Privileges requiredThe access the attacker needs before attacking.
    None
    User interactionWhether someone other than the attacker has to do something, like open a link.
    Required
    ScopeWhether the attack can reach beyond the vulnerable component.
    Unchanged
    ConfidentialityHow much data the attacker can read.
    High
    IntegrityHow much data the attacker can change.
    High
    AvailabilityHow much the attacker can disrupt the system or service.
    High

    CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HView in FIRST's calculator (opens in new tab)

Weaknesses and attack patterns

The type of bug behind the vulnerability, and how attackers exploit that type.

  • Use After Free · CWE-416 (opens in new tab)

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

    Likelihood of exploitHow likely MITRE rates attacks on this type of weakness, in general rather than for this vulnerability.
    High
    Abstraction
    Variant
    Mapping guidance
    Allowed
    Part of

References

Advisories, patches, exploits and more about this vulnerability.

This product uses the NVD API but is not endorsed or certified by the NVD (opens in new tab). CVE records from the CVE List (opens in new tab), weakness types from MITRE's CWE (opens in new tab)™ and attack patterns from its CAPEC (opens in new tab)™ are © The MITRE Corporation, used under the CVE (opens in new tab), CWE (opens in new tab) and CAPEC (opens in new tab) terms of use. Known exploited vulnerabilities and SSVC assessments are from CISA. Exploit predictions are from FIRST's EPSS (opens in new tab). About this data