Skip to content
HighVulnerability

GHSA-j5xp-7m2f-49jv: Docling Core: Insufficient validation of image reference URIs

Published
Record updated
View JSON
Affected
  • docling-core >= 2.5.0, < 2.74.1
Fixed in
2.74.1
  • released April 22, 2026, 42 days before disclosure

Summary

Versions `>= 2.5.0, < 2.74.1` of `docling-core` accepted local `file://` image references and inline `data:` content without a decoded-size limit. In applications that take untrusted image references, this may expose local files readable by the process or cause excessive memory use from large inline payloads.

Mitigation

Patched in `docling-core` `2.74.1`, which blocks local file URIs by default and adds a size limit for decoded inline image data. Users should upgrade to `docling-core` `>= 2.74.1`. If upgrading is not immediately possible: reject `file:` and `data:` image references from untrusted input, allow only approved local or remote image sources, and apply input size and memory limits to processing workers.