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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/libexpat/libexpat/pull/1278 Patch, Issue Tracking
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.9 · libexpat_projectNVD modified 2026-10-25 23:10
Affected (CPE criteria) 1
cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*
References 1
- https://github.com/libexpat/libexpat/pull/1278 Patch, Issue Tracking