Docling: Crafted DoclingDocument JSON embeds local image files into converted output
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| docling-project | docling | affected |
|
||||||
| docling-project | docling-slim | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Docling-project | Docling |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-p944-4xh2-x776 | Docling: Crafted DoclingDocument JSON embeds local image files into converted output |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.304% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Docling
Docling docling |
|
| CPEs | cpe:2.3:a:docling:docling:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Docling
Docling docling |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Docling-project
Docling-project docling |
|
| Vendors & Products |
Docling-project
Docling-project docling |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.16.0 until 2.131.0, the InputFormat.JSON_DOCLING backend in docling/backend/json/docling_json_backend.py validates serialized DoclingDocument input without rejecting picture image references that contain local paths or file URIs. When the document is enriched or exported with ImageRefMode.EMBEDDED, the DoclingDocument._with_embedded_pictures and ImageRef.pil_image methods can open those references and place readable image bytes in Markdown or HTML output. Disclosure is limited to files Pillow can decode as images, while differing decode behavior can also reveal whether a path exists. Direct untrusted loading through docling-core is outside this Docling fix. This issue is fixed in 2.131.0. | |
| Title | Docling: Crafted DoclingDocument JSON embeds local image files into converted output | |
| Weaknesses | CWE-200 CWE-73 |
|
| References |
| |
| Metrics |
cvssV3_1
|