CVE-2026-50219

Published Jun 4, 2026

Last updated 3 days ago

Overview

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,
Source
cve@mitre.org
NVD status
Analyzed
Products
libexpat

Risk scores

CVSS 3.1

Type
Primary
Base score
5.9
Impact score
3.4
Exploitability score
2.5
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Severity
MEDIUM

Weaknesses

cve@mitre.org
CWE-416

Social media

Hype score
Not currently trending

Configurations

References

Sources include official advisories and independent security research.