CVE-2026-50219: libexpat_project libexpat Use After Free
CVSS: 5.9v3.1MediumAnalyzed
AliasesALPINE-CVE-2026-50219UBUNTU-CVE-2026-50219DEBIAN-CVE-2026-50219CGA-2p69-qqff-pwqhCGA-5fg8-p2m3-q94mCGA-hmqx-rw4m-vp96CGA-jgvq-8fmf-jh87CGA-m6ww-wq52-p5c4CGA-q375-x7pq-fpppCGA-q9q9-44w7-56f8CGA-v5cv-4xf8-57xh
Published 04-06-2026Last modified 04-06-2026
Vulnerability summary
CVE-2026-50219 is a medium (CVSS 5.9) Use After Free vulnerability in libexpat_project libexpat. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 7.2% of scored vulnerabilities.
CVSS score
5.9/10
010
Medium · v3.1 (NVD)EPSS score
0.18%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 13 · Related 9Timeline
- 04-06-2026PublishedVulnerability first disclosed.
- 04-06-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 versionMedium 5.9Preferred score · NVD (NIST)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LSources7 sources · 4.9–5.9
- 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.18%
Chance of exploitation in the next 30 days
Percentile
7%
Versus all other CVEs
30-day change
0.00 pp
From 0.18% on 19-09-2026
19-09-202619-10-2026
EPSS score0.18%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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