CVE-2022-25313

expat: Stack exhaustion in doctype parsing

Published Feb 18, 2022 CVSS 3.1 · 6.5 Medium EPSS 3.3% KEV · Not listed
Description
In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack exhaustion in build_model via a large nesting depth in the DTD element.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2935-1 expat security update
Debian DSA Debian DSA DSA-5085-1 expat security update
EUVD EUVD EUVD-2022-29996 In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack exhaustion in build_model via a large nesting depth in the DTD element.
Ubuntu USN Ubuntu USN USN-5320-1 Expat vulnerabilities and regression
History
Type Values Removed Values Added
Metrics ssvc

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

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-674

    Uncontrolled Recursion

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 14, 2026, 4:11 PM
Reserved
Feb 18, 2022, 12:00 AM
Status
Modified
Published
Feb 18, 2022, 5:15 AM
Modified
Oct 14, 2026, 5:17 PM
Severity
Moderate
Public date
Feb 19, 2022, 12:00 AM