Intel

AIKIDO-2026-173392

quick-xml is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 27, 2026

59

Medium Risk

This Affects:

RUSTquick-xml
0.1.4 - 0.41.0
Fixed in 0.42.0
Are you affected? Scan for Free

TL;DR

The XML pull reader and the serde deserializer track nesting depth and namespace scope without effective bounds when handling untrusted input. Deeply nested elements overflow the internal u16 namespace-depth counter and drive the recursive serde deserializer into native call-stack exhaustion, while some malformed inputs let attribute iteration read past the end of the buffer. The fix returns TooDeeplyNested errors, enforces a configurable deserializer recursion limit, and makes attribute iteration stop safely at the buffer boundary.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application parses or deserializes untrusted XML input.

Background info

quick-xml is vulnerable to Denial of Service (DoS) in versions 0.1.4 - 0.41.0.

How to fix this

Upgrade the quick-xml library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform