libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_GetBuffer, XML_Parse, XML_ParseBuffer, XML_ParserFree, or XML_ParserReset from within handlers in cases of a policy violation. Thus, a use-after-free can occur,
Metrics
Affected Vendors & Products
References
| Link | Providers |
|---|---|
| https://github.com/libexpat/libexpat/pull/1246 |
|
History
Thu, 04 Jun 2026 06:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Use‑After‑Free in libexpat XML Parser Due to Missing Call Depth Tracking |
Thu, 04 Jun 2026 05:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_GetBuffer, XML_Parse, XML_ParseBuffer, XML_ParserFree, or XML_ParserReset from within handlers in cases of a policy violation. Thus, a use-after-free can occur, | |
| First Time appeared |
Libexpat Project
Libexpat Project libexpat |
|
| Weaknesses | CWE-416 | |
| CPEs | cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Libexpat Project
Libexpat Project libexpat |
|
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: mitre
Published: 2026-06-04T04:20:32.666Z
Updated: 2026-06-04T04:23:59.788Z
Reserved: 2026-06-04T04:20:31.953Z
Link: CVE-2026-50219
No data.
Status : Received
Published: 2026-06-04T06:16:25.050
Modified: 2026-06-04T06:16:25.050
Link: CVE-2026-50219
No data.