CVE-2026-56412: Libexpat Project Libexpat
Medium severity, CVSS 5.9. EPSS: 0.2% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Libexpat Project Libexpat, before 2.8.2: fixed in 2.8.2
Affected products
- Libexpat Project Libexpat: before 2.8.2 (fixed in 2.8.2)
Published 2026-06-21. Last modified 2026-11-10.