docling-core is vulnerable to Denial of Service (DoS)
59
Medium Risk
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.
You are affected if you are using a version that falls within the vulnerable range and your application deserializes untrusted DocLang XML input.
docling-core is vulnerable to Denial of Service (DoS) in versions 2.63.0 - 2.87.0.
Upgrade the docling-core library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant