Skip to main content
EPSS 0.1%top 99%

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

0
Medium
Published: 08/20/2026 (08/20/2026, 05:16:00 UTC)
Source: CVE Database V5
Vendor/Project: libexpat project
Product: libexpat

Description

CVE-2026-76957 is a use-after-free vulnerability in libexpat versions prior to 2.8.4. The flaw arises because libexpat lacks handler call depth tracking when using custom encoding callbacks, which can lead to memory being freed prematurely and subsequently accessed. This vulnerability is related to similar issues identified in other CVEs for libexpat. The CVSS score is 4.9, indicating a medium severity level.

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

libexpat project

libexpat

Affected versions
>=0 <2.8.4
GitHub Actionsmore threats →ai
libexpat/libexpat
pkg:github/libexpat/libexpat
Affected versions
<2.8.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 13:33:53 UTC

Technical Analysis

The libexpat XML parsing library before version 2.8.4 does not track handler call depth properly when custom encoding callbacks are used. This deficiency can cause a use-after-free condition, where memory is accessed after it has been freed. This vulnerability is categorized under CWE-416 (Use After Free) and is similar to previously reported vulnerabilities CVE-2026-50219, CVE-2026-56131, and CVE-2026-56412. The CVSS v3.1 base score is 4.9, with attack vector local, high attack complexity, no privileges required, no user interaction, and impacts on confidentiality, integrity, and availability rated as low.

Potential Impact

Successful exploitation of this vulnerability could lead to unauthorized access to memory that has been freed, potentially causing application crashes or allowing limited information disclosure or integrity compromise. The impact is rated as low for confidentiality, integrity, and availability, reflecting limited but non-negligible risk.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary mitigation has been documented at this time. Users of libexpat should monitor vendor communications for updates and apply patches once 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-08-20T04:28:04.012Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a86e0f3acd9273b4983850e

Added to database: 08/20/2026, 11:11:47 UTC

Last enriched: 09/10/2026, 13:33:53 UTC

Last updated: 10/05/2026, 06:48:18 UTC

Views: 68

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