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…

CVE-2026-56132: CWE-821 Incorrect Synchronization in libexpat project libexpat

0
Medium
VulnerabilityCVE-2026-56132cvecve-2026-56132cwe-821
Published: Fri Jun 19 2026 (06/19/2026, 03:00:42 UTC)
Source: CVE Database V5
Vendor/Project: libexpat project
Product: libexpat

Description

A heap-based buffer overflow vulnerability exists in libexpat versions before 2.8.2 due to incorrect synchronization in the doProlog function of xmlparse.c. This occurs because the scaffold backing array reallocation is mishandled when data structures are shared across parsers. The vulnerability is identified as CWE-821 and has a CVSS 3.1 base score of 6.9 (medium severity).

CVSS v3.1

Score 6.9medium

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

Affected software

GitHub Actionsmore threats →ai
libexpat/libexpat
pkg:github/libexpat/libexpat
Affected versions
<2.8.2

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: 06/19/2026, 04:49:56 UTC

Technical Analysis

CVE-2026-56132 is a heap-based buffer overflow vulnerability in the libexpat XML parsing library prior to version 2.8.2. The issue arises in the doProlog function within xmlparse.c, where improper handling of scaffold backing array reallocation occurs when data structures are shared across multiple parsers. This incorrect synchronization leads to memory corruption, potentially allowing an attacker with local access and high attack complexity to cause a crash or execute arbitrary code. The vulnerability has no known exploits in the wild and no official patch or remediation level has been published yet.

Potential Impact

Successful exploitation of this vulnerability could result in a heap-based buffer overflow, leading to potential arbitrary code execution or denial of service. The CVSS score reflects high confidentiality and integrity impact, with a low availability impact. However, exploitation requires local access and high attack complexity, with no privileges or user interaction needed.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid sharing data structures across parsers in libexpat or restrict usage to trusted inputs. Monitor vendor communications for updates on patches or official mitigations.

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-19T03:00:42.577Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a34c723f198dc38c1785b28

Added to database: 6/19/2026, 4:35:47 AM

Last enriched: 6/19/2026, 4:49:56 AM

Last updated: 6/19/2026, 5:56:00 AM

Views: 4

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