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 iss…

Vulnerability class: Use-After-Free

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.

Affected products

Weakness classification (CWE)

References

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.