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, 9.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libexpat Project — versions 0
- Libexpat Project
Weakness classification (CWE)
References
- github.com/libexpat/libexpat/pull/1278 (Patch, Issue Tracking)
- cert-portal.siemens.com/productcert/html/ssa-457936.html