CVE-2026-56412
- State
- Published
- Severity
- 4.9 Medium
- Published
- Jun 21, 2026
- Updated
- Jun 22, 2026
- Reserved
- Jun 21, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.9 Medium | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | mitre |
Weaknesses
- CWE-416 Use After Free
Affected Products
| Product | Versions |
|---|---|
libexpatlibexpat project |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.