# CVE-2026-50219: libexpat before 2.8.2 lacks handler call depth tracking for calls to XMLGetBuffer, XMLParse, XMLParseBuffer, XMLParserFree, or XMLParserRes…

- Severity: Medium 4.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-06-04T04:20:32.666Z
- Modified: 2026-11-10T13:19:19.150Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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,

(As written by CVE List.)

## Affected

- libexpat project libexpat: before 2.8.2
- libexpat_project libexpat: before 2.8.2

## Every score

- mitre: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://github.com/libexpat/libexpat/pull/1246> (issue-tracking, patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2026-50219](https://www.cve.org/CVERecord?id=CVE-2026-50219), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-50219](https://nvd.nist.gov/vuln/detail/CVE-2026-50219), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-50219 · Whole record: https://cve.day/CVE-2026-50219.json · Rebuilt by cve.day 2026-11-25T22:59:23.683Z
