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.
References
Link Resource
https://github.com/libexpat/libexpat/pull/1278 Patch Issue Tracking
Configurations

Configuration 1 (hide)

cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-06-21 17:16

Updated : 2026-06-23 15:31


NVD link : CVE-2026-56412

Mitre link : CVE-2026-56412

CVE.ORG link : CVE-2026-56412


JSON object : View

Products Affected

libexpat_project

  • libexpat
CWE
CWE-416

Use After Free