CVE-2026-56412

Published Jun 21, 2026

Last updated 15 hours ago

Overview

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.
Source
cve@mitre.org
NVD status
Analyzed
Products
libexpat

Risk scores

CVSS 3.1

Type
Primary
Base score
5.9
Impact score
3.4
Exploitability score
2.5
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Severity
MEDIUM

Weaknesses

cve@mitre.org
CWE-416

Social media

Hype score
Not currently trending

Configurations

References

Sources include official advisories and independent security research.