Intel

AIKIDO-2026-238437

docling-core is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 2 days ago

59

Medium Risk

This Affects:

PYTHONdocling-core
2.63.0 - 2.87.0
Fixed in 2.87.1
Are you affected? Scan for Free

TL;DR

The DocLang deserializer parses XML input into a document object model without enforcing limits on input byte size, nesting depth, or element count. An attacker who supplies a crafted DocLang document with a very large body, deeply nested structure, or an excessive number of elements can force excessive memory and CPU consumption during deserialize_str. Applications that deserialize untrusted DocLang input can be driven into resource exhaustion and denial of service. The fix caps input bytes before parsing and bounds nesting depth and element count after DOM construction, rejecting inputs that exceed configurable budgets.

Who does this affect?

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

Background info

docling-core is vulnerable to Denial of Service (DoS) in versions 2.63.0 - 2.87.0.

How to fix this

Upgrade the docling-core library to the patch version.