Skip to content
HighVulnerability

CVE-2026-31248: Docling METS GBS backend XML entity expansion denial of service

Identifier
CVE-2026-31248
Published
Record updated
View JSON

Summary

Docling's METS GBS backend, through version 2.61.0, extracts and validates XML files from .tar.gz archives using etree.fromstring() without disabling entity resolution. An attacker can package a crafted XML file with nested entity definitions (an XML Bomb) into an archive, causing exponential entity expansion during parsing and excessive resource consumption that denies service on the host running the Docling parser.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.