Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 97%

CVE-2026-50219: CWE-416 Use After Free in libexpat project libexpat

0
Medium
VulnerabilityCVE-2026-50219cvecve-2026-50219cwe-416
Published: Thu Jun 04 2026 (06/04/2026, 04:20:32 UTC)
Source: CVE Database V5
Vendor/Project: libexpat project
Product: libexpat

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,

CVSS v3.1

Score 4.9medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected software

Affected versions
<2.8.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/11/2026, 08:48:08 UTC

Technical Analysis

CVE-2026-50219 is a use-after-free vulnerability in the libexpat XML parsing library prior to version 2.8.2. The issue arises because the library does not track the call depth of handlers when functions such as XML_GetBuffer, XML_Parse, XML_ParseBuffer, XML_ParserFree, or XML_ParserReset are invoked from within handlers in cases of policy violations. This lack of tracking can cause a use-after-free condition, potentially leading to memory corruption.

Potential Impact

The vulnerability can result in use-after-free memory corruption, which may lead to information disclosure, integrity loss, or availability impact. The CVSS score of 4.9 indicates a medium severity impact with low attack vector (local), high attack complexity, no privileges required, no user interaction, and impacts on confidentiality, integrity, and availability at a low level.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is provided at this time. Users should monitor libexpat project advisories for updates and consider avoiding calling the affected XML parsing functions from within handlers until a fix is available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-06-04T04:20:31.953Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a210e2ee29bf47b506be55e

Added to database: 6/4/2026, 5:33:34 AM

Last enriched: 6/11/2026, 8:48:08 AM

Last updated: 6/11/2026, 6:57:01 PM

Views: 58

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses