CVE-2026-102633
Received Received - Intake

Integer Overflow in libexpat Leading to Heap Buffer Overflow

Vulnerability report for CVE-2026-102633, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-29

Last updated on: 2026-09-29

Assigner: VulnCheck

Description

libexpat versions 2.7.2 through 2.8.5 contain an integer overflow vulnerability in expat_realloc() function on 32-bit platforms when computing allocation sizes. Attackers supplying malicious XML to applications parsing with vulnerable libexpat can cause heap buffer overflow, memory corruption, or denial of service.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-29
Last Modified
2026-09-29
Generated
2026-09-29
AI Q&A
2026-09-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
libexpat libexpat From 2.7.2 (inc) to 2.8.5 (inc)

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

This vulnerability is an integer overflow in the expat_realloc() function of libexpat versions 2.7.2 through 2.8.5 on 32-bit platforms. It occurs when calculating memory allocation sizes, potentially leading to heap buffer overflow, memory corruption, or denial of service. Attackers can exploit this by providing malicious XML to applications using vulnerable libexpat versions.

Detection Guidance

To detect vulnerable libexpat versions, check installed versions with commands like 'expat --version' or 'dpkg -l | grep expat' on Debian/Ubuntu. For source builds, inspect version in config.log or CMakeCache.txt. Compare against versions 2.7.2 to 2.8.5.

Impact Analysis

If exploited, this vulnerability could allow attackers to cause heap buffer overflows, leading to memory corruption or crashes in applications using vulnerable libexpat versions. This may result in denial of service, data corruption, or potentially arbitrary code execution depending on the application's context and security measures.

Mitigation Strategies

Immediately update libexpat to version 2.8.6 or later. If updating is not possible, apply the patch from pull request #1392. Disable XML parsing for untrusted inputs or use alternative parsers until patched.

Chat Assistant

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

EPSS Chart