Use After Free in Libexpat Project
CVE-2026-56412
libexpat before 2.8.2 does not consider XML_TOK_DATA_CHARS in doCdataSection and thus lacks handler call depth tracking for various calls from within handlers in cases of a policy violation. Thus, a use-after-free can occur. NOTE: this issue exists because of an incomplete fix for CVE-2026-50219.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.9 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.002 (6.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 7th percentile — 6.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: -0.000
Affected products
- Libexpat Project — versions 0
- Libexpat Project
Weakness classification (CWE)
References
- github.com/libexpat/libexpat/pull/1278 (Patch, Issue Tracking)
Frequently asked questions
- What is CVE-2026-56412?
- CVE-2026-56412 is a medium-severity vulnerability in Libexpat Project, classified under Use After Free. CVSS score: 4.9/10. Published 2026-06-21.
- How severe is CVE-2026-56412?
- Medium severity. CVSS v3 base score is 4.9 out of 10.