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.
Published: 2026-09-29
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Heap buffer overflow leading to memory corruption or denial of service
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is an integer overflow in the expat_realloc() function on 32‑bit architectures, causing the allocation size to wrap around. When malformed XML is processed, the resulting buffer is smaller than required, enabling a heap buffer overflow that corrupts adjacent memory, corrupts program state, or crashes the application.

Affected Systems

The affected product is the libexpat library distributed by the libexpat Project. Versions 2.7.2 through 2.8.5, when compiled for 32‑bit platforms, are vulnerable. Any application that links against these versions or embeds the vulnerable code during XML parsing may be impacted.

Risk and Exploitability

The CVSS base score of 8.2 classifies the flaw as high severity. EPSS is unavailable, but the high CVSS score indicates significant risk. The vulnerability is not listed in the CISA KEV catalog, suggesting no widely documented exploitation yet. Attackers supplying crafted XML to a process that parses it via libexpat can trigger the overflow, potentially causing a denial of service or memory corruption. The attack vector is local to the parsing process but can be remote if the XML originates from a network source.

Generated by OpenCVE AI on September 30, 2026 at 01:32 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libexpat to a fixed release (e.g., 2.8.6 or later) and rebuild all dependent applications.
  • If an immediate upgrade is not feasible, restrict the size or validate the content of XML input before it is parsed to prevent the integer overflow from occurring.
  • Apply additional hardening measures such as enabling stack canaries, address space layout randomization, and heap security features to reduce the likelihood of successful exploitation.

Generated by OpenCVE AI on September 30, 2026 at 01:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6566-1 expat security update
History

Wed, 30 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Libexpat
Libexpat expat
Vendors & Products Libexpat
Libexpat expat

Wed, 30 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 29 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 29 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title libexpat 2.7.2 through 2.8.5 Integer Overflow in expat_realloc
First Time appeared Libexpat Project
Libexpat Project libexpat
Weaknesses CWE-190
CPEs cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*
Vendors & Products Libexpat Project
Libexpat Project libexpat
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Libexpat Expat
Libexpat Project Libexpat
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-29T16:52:27.152Z

Reserved: 2026-09-29T15:50:31.753Z

Link: CVE-2026-102633

cve-icon Vulnrichment

Updated: 2026-09-29T16:52:22.645Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-29T17:17:06.980

Modified: 2026-09-29T21:32:59.833

Link: CVE-2026-102633

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-29T16:04:16Z

Links: CVE-2026-102633 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T20:41:31Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound