CVE-2026-56412
Last modified
CVE-2026-56412 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 0.10% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libexpat Project | Libexpat | < 2.8.2 |
References
- https://github.com/libexpat/libexpat/pull/1278Patch, Issue Tracking
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-56412?
How severe is CVE-2026-56412?
How do I fix CVE-2026-56412?
Are you affected by CVE-2026-56412?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
