CVE-2026-76957: CWE-416 Use After Free in libexpat project 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
Affected software
libexpat project
libexpat
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.