CVE-2026-56412Published Jun 21, 2026 · Jun 21Updated Nov 12
libexpat before 2.8.2 does not consider XML_TOK_DATA_CHARS in doCdataSection and thus lacks handler call depth tracki…
libexpat project libexpat
Medium4.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| libexpat project libexpat |
| No fix yet |
Original 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.
From the CVE record · mitre