CVE-2026-56403
Received Received - Intake
Integer Overflow in Expat XML Parser

Publication date: 2026-06-21

Last updated on: 2026-06-21

Assigner: MITRE

Description
libexpat before 2.8.2 has an integer overflow in storeAtts.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-21
Last Modified
2026-06-21
Generated
2026-06-21
AI Q&A
2026-06-21
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
libexpat libexpat to 2.8.2 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The CVE-2026-56403 vulnerability is an integer overflow issue in the libexpat library, specifically in the function called storeAtts. This overflow occurs when certain length calculations exceed the maximum value allowed for a signed integer (INT_MAX), which can cause undefined behavior.

The problem was addressed by adding checks in the code to prevent these length calculations from exceeding INT_MAX, thereby avoiding the overflow. The fix was merged into the master branch as part of the Expat 2.8.2 release.

Impact Analysis

This integer overflow vulnerability can lead to undefined behavior in applications using libexpat before version 2.8.2. According to the CVSS score of 6.9, the impact includes high confidentiality and integrity risks, and a low impact on availability.

  • Potential unauthorized disclosure of sensitive information (confidentiality impact).
  • Potential unauthorized modification of data (integrity impact).
  • Possible minor disruption of service (availability impact).

Since the attack vector is local and requires high attack complexity with no privileges and no user interaction, exploitation might be limited to local users with access to the vulnerable system.

Mitigation Strategies

To mitigate the CVE-2026-56403 vulnerability, you should update the libexpat library to version 2.8.2 or later, which includes the fix for the integer overflow in the storeAtts function.

The fix prevents integer overflows by adding checks to ensure length calculations do not exceed the maximum value of a signed integer (INT_MAX), thereby avoiding undefined behavior and potential security risks.

Additionally, review your usage of libexpat and consider auditing other parts of the codebase for similar integer overflow risks.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-56403. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart