CVE-2026-50219: 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,
CSIRTS triage
- What
- A use-after-free can occur due to lack of handler call depth tracking in libexpat.
- Who is affected
- Users of libexpat versions before 2.8.2 are affected.
- Urgency
- Remediation is medium urgency due to the potential for exploitation.
- Action
- Upgrade to libexpat version 2.8.2 or later.
AI-assisted analysis generated from the source advisory — verify against the original.
⚡ Watch libexpat
Get an email when a new libexpat advisory drops — max one per day, one-click unsubscribe.
Details
Original advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50219
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Low exploitation riskCVE-2026-502190.22% 30-day exploitation probability — currently an unlikely target, but scores change as exploit code circulates. Riskier than 12% of all scored CVEs.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-50219 | coverage & exploitation status | NVD · CVE.org |
Recent advisories for libexpat
A cluster of recent advisories against the same product widens the attack surface — attackers routinely chain freshly published CVEs on one product, so review these together.
- mediumCVE-2026-56409: xmlwf in libexpat before 2.8.2 has an integer overflow for the output filename when -d outputD…msrc · 2026-06-09
- mediumCVE-2026-56406: libexpat before 2.8.2 has an integer overflow in XML_ParseBuffer because it lacked a check tha…msrc · 2026-06-09
- mediumCVE-2026-56405: libexpat before 2.8.2 has an integer overflow in getAttributeId.msrc · 2026-06-09
- mediumCVE-2026-56411: xmlwf in libexpat before 2.8.2 has an integer overflow in endDoctypeDecl via NOTATION declarat…msrc · 2026-06-09
- mediumCVE-2026-56131: libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_ResumeParser from wit…msrc · 2026-06-09
- mediumCVE-2026-56407: libexpat before 2.8.2 has an integer overflow in doProlog that is related to storeEntityValue …msrc · 2026-06-09
More from Microsoft Security Response Center
- highCVE-2026-12064: proto-default skips SSH verification2026-07-02
- unknownCVE-2026-14125: Chromium: CVE-2026-14125 Uninitialized Use in ANGLE2026-07-02
- mediumCVE-2026-57987: Microsoft Edge (Chromium-based) Spoofing Vulnerability2026-07-02
- unknownCVE-2026-13775: Chromium: CVE-2026-13775 Use after free in GPU2026-07-02
- unknownCVE-2026-13779: Chromium: CVE-2026-13779 Use after free in Chromoting2026-07-02