CVE-2026-32777

libexpat: libexpat: Denial of Service via infinite loop in DTD content parsing

Published Mar 16, 2026 CVSS 3.1 · 4 Medium EPSS < 1% KEV · Not listed
Description
libexpat before 2.7.5 allows an infinite loop while parsing DTD content.

Analysis

AI-generated

Technical impact

This vulnerability is caused by an infinite loop that can be triggered when the libexpat library parses DTD content. The resulting denial of service can exhaust CPU resources and potentially cause the application that uses libexpat to become unresponsive, impacting availability. The weakness is identified as CWE‑835: Infinite Loop.

Affected Systems

The affected product is libexpat for the libexpat project. No specific affected versions are listed in the provided data, so all releases prior to the fix are potentially susceptible.

Risk and Exploitability

The CVSS score is 4, indicating moderate severity, and the EPSS score is below 1%, suggesting a low likelihood of exploitation. This vulnerability is not listed in the CISA KEV catalog. No attack vector is explicitly documented; based on the description, it is inferred that an attacker could cause the denial of service by supplying malicious XML with a DTD that triggers the infinite loop.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libexpat to version 2.7.5 or newer.

Generated by OpenCVE AI on March 17, 2026 at 17:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4807-1 expat security update
Debian DSA Debian DSA DSA-6404-1 expat security update
Ubuntu USN Ubuntu USN USN-8790-1 Expat vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Libexpat Project
Libexpat Project libexpat
Vendors & Products Libexpat Project
Libexpat Project libexpat
Type Values Removed Values Added
Title libexpat: libexpat: Denial of Service via infinite loop in DTD content parsing
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description libexpat before 2.7.5 allows an infinite loop while parsing DTD content.
Weaknesses CWE-835
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 10, 2026, 12:45 PM
Reserved
Mar 16, 2026, 6:58 AM
Status
Modified
Published
Mar 16, 2026, 2:19 PM
Modified
Nov 10, 2026, 1:19 PM
Severity
Moderate
Public date
Mar 16, 2026, 6:58 AM