CVE-2026-76957: CWE-416 Use After Free in libexpat project libexpat
libexpat before 2.8.4 lacks handler call depth tracking with custom encoding callbacks. Thus, a use-after-free can occur. NOTE: this is similar to CVE-2026-50219, CVE-2026-56131 and CVE-2026-56412.
AI Analysis
Technical Summary
The libexpat XML parsing library versions prior to 2.8.4 do not track handler call depth properly when custom encoding callbacks are used. This flaw can lead to a use-after-free condition, where memory is accessed after it has been freed, potentially causing undefined behavior or crashes. The vulnerability is categorized under CWE-416 (Use After Free) and has a CVSS 3.1 base score of 4.9, indicating a medium severity level. No official patch or remediation information is provided in the available data, and no known exploits are reported in the wild. This issue is similar to other use-after-free vulnerabilities in libexpat identified as CVE-2026-50219, CVE-2026-56131, and CVE-2026-56412.
Potential Impact
Successful exploitation could lead to memory corruption resulting in limited confidentiality, integrity, and availability impacts. The CVSS vector indicates that the attack requires local access with high attack complexity and no privileges or user interaction, limiting the ease of exploitation. The impact includes potential information disclosure, data modification, or application crashes.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch information is provided, users should monitor libexpat project advisories for updates addressing this vulnerability. Until a patch is available, avoid using custom encoding callbacks if possible or apply other vendor-recommended mitigations once published.
CVE-2026-76957: CWE-416 Use After Free in libexpat project libexpat
Description
libexpat before 2.8.4 lacks handler call depth tracking with custom encoding callbacks. Thus, a use-after-free can occur. NOTE: this is similar to CVE-2026-50219, CVE-2026-56131 and CVE-2026-56412.
CVSS v3.1
Score 4.9medium
Affected software
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 versions prior to 2.8.4 do not track handler call depth properly when custom encoding callbacks are used. This flaw can lead to a use-after-free condition, where memory is accessed after it has been freed, potentially causing undefined behavior or crashes. The vulnerability is categorized under CWE-416 (Use After Free) and has a CVSS 3.1 base score of 4.9, indicating a medium severity level. No official patch or remediation information is provided in the available data, and no known exploits are reported in the wild. This issue is similar to other use-after-free vulnerabilities in libexpat identified as CVE-2026-50219, CVE-2026-56131, and CVE-2026-56412.
Potential Impact
Successful exploitation could lead to memory corruption resulting in limited confidentiality, integrity, and availability impacts. The CVSS vector indicates that the attack requires local access with high attack complexity and no privileges or user interaction, limiting the ease of exploitation. The impact includes potential information disclosure, data modification, or application crashes.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch information is provided, users should monitor libexpat project advisories for updates addressing this vulnerability. Until a patch is available, avoid using custom encoding callbacks if possible or apply other vendor-recommended mitigations once published.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-08-20T04:28:04.012Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a86e0f3acd9273b4983850e
Added to database: 08/20/2026, 11:11:47 UTC
Last enriched: 08/20/2026, 11:23:36 UTC
Last updated: 08/20/2026, 18:42:06 UTC
Views: 4
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.