Bug 2539279 (CVE-2026-96889, RUSTSEC-2026-0305) - CVE-2026-96889 librsvg: Use-after-free when XML includes have duplicated entities
Summary: CVE-2026-96889 librsvg: Use-after-free when XML includes have duplicated enti...
Keywords:
Status: NEW
Alias: CVE-2026-96889, RUSTSEC-2026-0305
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2539674 2539673 2539685
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-23 09:29 UTC by OSIDB Bzimport
Modified: 2026-11-11 12:00 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:86331 0 None None None 2026-10-21 00:17:33 UTC
Red Hat Product Errata RHSA-2026:86841 0 None None None 2026-10-21 11:49:25 UTC
Red Hat Product Errata RHSA-2026:86842 0 None None None 2026-10-21 12:00:31 UTC
Red Hat Product Errata RHSA-2026:86921 0 None None None 2026-10-21 12:25:33 UTC
Red Hat Product Errata RHSA-2026:92212 0 None None None 2026-10-29 03:55:24 UTC
Red Hat Product Errata RHSA-2026:92213 0 None None None 2026-10-29 03:46:43 UTC
Red Hat Product Errata RHSA-2026:92214 0 None None None 2026-10-29 03:41:10 UTC
Red Hat Product Errata RHSA-2026:92218 0 None None None 2026-10-29 04:52:43 UTC
Red Hat Product Errata RHSA-2026:92336 0 None None None 2026-10-29 09:40:55 UTC
Red Hat Product Errata RHSA-2026:92353 0 None None None 2026-10-29 11:49:14 UTC
Red Hat Product Errata RHSA-2026:92382 0 None None None 2026-10-29 14:02:31 UTC
Red Hat Product Errata RHSA-2026:92573 0 None None None 2026-10-29 18:23:21 UTC
Red Hat Product Errata RHSA-2026:92579 0 None None None 2026-10-29 19:29:38 UTC
Red Hat Product Errata RHSA-2026:98482 0 None None None 2026-11-11 12:00:48 UTC
Red Hat Product Errata RHSA-2026:98584 0 None None None 2026-11-11 11:24:12 UTC
Red Hat Product Errata RHSA-2026:98591 0 None None None 2026-11-11 11:25:29 UTC

Description OSIDB Bzimport 2026-09-23 09:29:37 UTC
Librsvg uses libxml2, a C library, to parse XML.  When librsvg parses
an SVG document which has a nested Xinclude, an XML entity declaration
with a duplicate name as an existing one can cause a use-after-free error.

While libxml2 is expanding an internal entity, a recursive XInclude
can parse another document that declares an entity with the same
name. Both parses use the same `XmlState` entity
map on the librsvg side. `entity_insert()` replaces the first entry, whose `Drop`
implementation calls `xmlFreeNode()`. The outer `xmlCtxtParseEntity()`
then keeps using the freed 144-byte `xmlEntity`.

The included parse should not free an entity that the outer parser is still using.

The fix is in commit 8a1b0cd319e9af2d1e9cf878081dd77f227a0504, where
librsvg will no longer free xmlEntity pointers that libxml2 is still
using.

Comment 2 Akiyoshi Kurita 2026-09-30 02:09:55 UTC
A public proof-of-concept for CVE-2026-96889 has been released:

https://github.com/rafabd1/VectorFreed

Red Hat CVE page:
https://access.redhat.com/security/cve/cve-2026-96889

The published PoC reproduces the librsvg use-after-free involving nested XInclude processing and duplicate XML entity declarations.

The researcher also states that command execution has been achieved in multiple downstream application paths, although a universal end-to-end RCE PoC is not currently public.

Since a working UAF PoC is now publicly available, could Red Hat Product Security please re-evaluate the impact and remediation priority for affected RHEL packages?

In particular, please confirm whether:

- affected RHEL packages reproduce the issue with the public PoC;
- exploitation may lead to arbitrary code execution when attacker-controlled SVG content is processed;
- security updates are planned for affected RHEL releases.

Comment 3 Jon Orris 2026-10-21 00:17:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:86331 https://access.redhat.com/errata/RHSA-2026:86331

Comment 4 Jon Orris 2026-10-21 11:49:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:86841 https://access.redhat.com/errata/RHSA-2026:86841

Comment 5 Jon Orris 2026-10-21 12:00:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:86842 https://access.redhat.com/errata/RHSA-2026:86842

Comment 6 Jon Orris 2026-10-21 12:25:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:86921 https://access.redhat.com/errata/RHSA-2026:86921

Comment 7 Jon Orris 2026-10-29 03:41:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:92214 https://access.redhat.com/errata/RHSA-2026:92214

Comment 8 Jon Orris 2026-10-29 03:46:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:92213 https://access.redhat.com/errata/RHSA-2026:92213

Comment 9 Jon Orris 2026-10-29 03:55:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:92212 https://access.redhat.com/errata/RHSA-2026:92212

Comment 10 Jon Orris 2026-10-29 04:52:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:92218 https://access.redhat.com/errata/RHSA-2026:92218

Comment 11 Jon Orris 2026-10-29 09:40:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:92336 https://access.redhat.com/errata/RHSA-2026:92336

Comment 12 Jon Orris 2026-10-29 11:49:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:92353 https://access.redhat.com/errata/RHSA-2026:92353

Comment 13 Jon Orris 2026-10-29 14:02:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:92382 https://access.redhat.com/errata/RHSA-2026:92382

Comment 14 Jon Orris 2026-10-29 18:23:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:92573 https://access.redhat.com/errata/RHSA-2026:92573

Comment 15 Jon Orris 2026-10-29 19:29:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2026:92579 https://access.redhat.com/errata/RHSA-2026:92579

Comment 16 errata-xmlrpc 2026-11-11 11:24:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:98584 https://access.redhat.com/errata/RHSA-2026:98584

Comment 17 errata-xmlrpc 2026-11-11 11:25:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:98591 https://access.redhat.com/errata/RHSA-2026:98591

Comment 18 errata-xmlrpc 2026-11-11 12:00:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:98482 https://access.redhat.com/errata/RHSA-2026:98482


Note You need to log in before you can comment on or make changes to this bug.