Home

Description

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.

PUBLISHED Reserved 2026-06-21 | Published 2026-06-21 | Updated 2026-06-21 | Assigner mitre




MEDIUM: 4.9CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Problem types

CWE-416 Use After Free

Product status

Default status
unaffected

Any version before 2.8.2
affected

References

github.com/libexpat/libexpat/pull/1278

cve.org (CVE-2026-56412)

nvd.nist.gov (CVE-2026-56412)

Download JSON