CVE-2026-56412

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
21/06/2026
Last modified:
23/06/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* 2.8.2 (excluding)


References to Advisories, Solutions, and Tools