CVE-2026-50219: libexpat project libexpat Use After Free
Vulnerability summary
CVE-2026-50219 is a medium (CVSS 5.9) Use After Free vulnerability in libexpat project libexpat. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.9% of scored vulnerabilities.
Not severe (CVSS 4.9, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 29 · Related 23Timeline
- 04-06-2026PublishedVulnerability first disclosed.
- 10-11-2026Last modifiedVulnerability information updated.
Description
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,
CVSS metrics
7 scores · 7 sources · 1 version- CVE.orgCNA4.9MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · WolfiEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · ChainguardEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LDiffers
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.18% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu16 products
- ayttmAll versions (No fix recorded)
- cableswigAll versions (No fix recorded)
- cadaverAll versions (No fix recorded)
- coin3All versions (No fix recorded)
- expat< 2.1.0-4ubuntu1.4+esm12 | < 2.1.0-7ubuntu0.16.04.5+esm13 | < 2.2.5-3ubuntu0.9+esm4 | < 2.2.9-1ubuntu0.8+esm2 | < 2.4.7-1ubuntu0.8 | < 2.6.1-2ubuntu0.5 | All versions (No fix recorded) | < 2.7.4-1ubuntu0.1
Chainguard4 products
- expat< 2.8.2-r0
- expat-dev< 2.8.2-r0
- expat-doc< 2.8.2-r0
- libexpat1< 2.8.2-r0
Wolfi4 products
- expat< 2.8.2-r0
- expat-dev< 2.8.2-r0
- expat-doc< 2.8.2-r0
- libexpat1< 2.8.2-r0
Alpine1 product
- expat< 2.8.2-r0
Debian1 product
- expat< 2.5.0-1+deb12u3 | < 2.8.2-1~deb13u1 | < 2.8.2-1
Libexpat project1 product
- libexpat< 2.8.2
6 vendors · 27 products