CVE-2026-50219

MEDIUM CVSS 3.1: 5.9 EPSS 0.19%
Updated Jul 22, 2026
Libexpat_Project
Parameter Value
CVSS 5.9 (MEDIUM)
Affected Versions before 2.8.2
Fixed In 2.8.2
Type CWE-416 (Use After Free)
Vendor Libexpat_Project
Public PoC No

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,

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
Low
Partial disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Libexpat_Project Libexpat
cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*
— 2.8.2