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.

CVSS base score
4.9 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-416
Last modified
November 10, 2026
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected products

libexpat project libexpat

References

View full NVD advisory →

More libexpat project vulnerabilities

Published the same day

← Back to CVE watch