What is 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.
The record classifies CVE-2026-56412 under weakness class CWE-416. Its CVSS v3 base vector states that the flaw requires local access to the host, needs no prior authentication, needs no user interaction. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 106 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 4.9 — MEDIUM
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L - CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 2.5/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2026-06-21, last modified 2026-06-22
Is CVE-2026-56412 being exploited?
It currently carries a trending score of 30 in the Threadlinqs vulnerability feed.
Affected products and versions
- libexpat project: libexpat
How to fix CVE-2026-56412
No vendor patch reference has been recorded for CVE-2026-56412 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.
Threat activity tracking CVE-2026-56412
No threat campaign in the Threadlinqs corpus currently references CVE-2026-56412, in its CVE list or as an indicator. The linkage is recomputed from the live corpus on every daily ingest, so this section fills in as soon as a tracked campaign cites the identifier.
Sources
Enriched from CVE.org. Last verified by Threadlinqs on .