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

23 Jun 2026, 15:31

Type Values Removed Values Added
References () https://github.com/libexpat/libexpat/pull/1278 - () https://github.com/libexpat/libexpat/pull/1278 - Patch, Issue Tracking
CPE cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*
First Time Libexpat Project
Libexpat Project libexpat

21 Jun 2026, 17:16

Type Values Removed Values Added
New CVE

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