CVE-2026-137992
Awaiting Analysis Awaiting Analysis - Queue

XML Parsing Denial of Service in libexpat

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

Publication date: 2026-11-27

Last updated on: 2026-11-27

Assigner: VulnCheck

Description

libexpat through 2.11.0 contains a denial of service vulnerability in defineAttribute() of lib/xmlparse.c that fails to detect duplicate non-ID #IMPLIED or #REQUIRED attribute declarations. Attackers can supply a crafted XML document with repeated ATTLIST declarations in an internal DTD subset to cause quadratic CPU consumption in storeAtts() during parsing.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
libexpat libexpat From 0 (inc) to 2.11.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-407 An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a denial of service vulnerability in libexpat versions up to 2.11.0. It occurs in the defineAttribute() function which fails to detect duplicate non-ID #IMPLIED or #REQUIRED attribute declarations. Attackers exploit this by sending a crafted XML document with repeated ATTLIST declarations in an internal DTD subset, causing quadratic CPU consumption during parsing in storeAtts().

Detection Guidance

To detect this vulnerability, monitor for high CPU usage during XML parsing tasks. Check for repeated ATTLIST declarations in XML documents. Use tools like xmlwf or expat to parse suspicious XML files and observe performance degradation.

Impact Analysis

This vulnerability can cause high CPU usage and system slowdowns or crashes when processing malicious XML files. It may lead to service unavailability for applications relying on libexpat for XML parsing, such as web servers or document processors.

Mitigation Strategies

Update libexpat to a version beyond 2.11.0 where the issue is resolved. If immediate update is not possible, restrict parsing of untrusted XML files or use XML parsers with built-in protections against quadratic CPU consumption.

Chat Assistant

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

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...