Read the docs
TI-2026-36973 Aliases CVE-2026-50219GHSA-v3cw-2f3g-f38x

Use after free in libexpat

Priority LOW 26CWE-416Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Partial Red Hat: 8 fixed, 5 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.

Summary

libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_GetBuffer, XML_Parse, XML_ParseBuffer, XML_ParserFree, or XML_ParserReset from within handlers in cases of a policy violation. Thus, a use-after-free can occur,

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00181 7th percentileScored 2026-11-07
Fix Partial libexpat (libexpat project): 2.8.2Red Hat: 6 advisoriesRed Hat: 8 fixed, 5 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
libexpat projectlibexpatbefore 2.8.22.8.2Patch availableCNA
  • libexpat Vendorlibexpat project Affected before 2.8.2 Fixed in 2.8.2 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*before 2.8.2Vulnerablelibexpat project
  • cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* Versions before 2.8.2 Vulnerable ·libexpat project

Remediation

  • Fix · CNA libexpat (libexpat project) Fixed in 2.8.2

Red Hat 6 advisories

  • RHSA-2026:79357 Released 2026-10-08 · Red Hat rating Important
    Red Hat Cost Management On-Premise container image update
    • Red Hat Cost Management On-Premise 1 registry.redhat.io/costmanagement/costmanagement-ui-rhel10
  • RHSA-2026:67956 Released 2026-09-16 · Red Hat rating Important
    Red Hat Update Infrastructure 5.3 security update
    • Red Hat Update Infrastructure 5 registry.redhat.io/rhui5/cds-kubernetes-rhel9, registry.redhat.io/rhui5/cds-rhel9, registry.redhat.io/rhui5/haproxy-rhel9 +2
  • RHSA-2026:64812 Released 2026-09-08 · Red Hat rating Moderate
    expat security update
    • Red Hat Enterprise Linux AppStream (v. 9) expat-devel-2.5.0-6.el9_8.3
    • Red Hat Enterprise Linux BaseOS (v. 9) expat-2.5.0-6.el9_8.3
Show 3 more Red Hat advisories
  • RHSA-2026:64810 Released 2026-09-08 · Red Hat rating Moderate
    expat security update
    • Red Hat Enterprise Linux AppStream (v. 10) expat-devel-2.7.3-1.el10_2.3
    • Red Hat Enterprise Linux BaseOS (v. 10) expat-2.7.3-1.el10_2.3
  • RHSA-2026:64809 Released 2026-09-08 · Red Hat rating Moderate
    expat security update
    • Red Hat Enterprise Linux BaseOS (v. 8) expat-2.5.0-2.el8_10.2, expat-devel-2.5.0-2.el8_10.2
  • RHSA-2026:30647 Released 2026-06-28 · Red Hat rating Moderate
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images expat-2.8.2-1.hum1@aarch64, expat-2.8.2-1.hum1@src, expat-2.8.2-1.hum1@x86_64 +4

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 5AffectedNo fix yet: Fix deferred
Red Hat Cost Management On-Premise 1Fixed RHSA-2026:79357
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2026:64810
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2026:64812
Red Hat Enterprise Linux BaseOS (v. 10)Fixed RHSA-2026:64810
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2026:64809
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2026:64812
Red Hat Hardened ImagesFixed RHSA-2026:30647
Red Hat Update Infrastructure 5Fixed RHSA-2026:67956

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-50219
  2. 2026-10-03 Alias added: GHSA-v3cw-2f3g-f38x
  3. 2026-10-09 Fix available: RHSA-2026:79357 · Red Hat
  4. 2026-10-09 Fix available: Red Hat Cost Management On-Premise 1 · Red Hat
  5. 2026-11-01 Affected versions changed · Red Hat

References

  • TI-2022-09008 In Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames. CVSS 3.1CRITICAL 9.8
  • TI-2026-79488 Billion laughs detection delay in libexpat enables denial of service CVSS 4.0HIGH 8.7
  • TI-2022-08947 xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert… CVSS 3.1CRITICAL 9.8
  • TI-2021-20962 In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the… CVSS 3.1HIGH 8.8
  • TI-2021-21076 In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize. CVSS 3.1HIGH 8.1
  • TI-2016-00645 Expat allows context-dependent attackers to cause a denial of service (crash) or possibly… CVSS 3.1CRITICAL 9.8
See all 67 →

Sources