High DAF-SA-2026-006

Denial of service through a crafted PDF at the OCR step (DocAI Fabric)

A user able to upload to a project could take a processing server down with a small crafted PDF, and the retry passed it to the next server. Fixed in release 2026.11.07-1.

Published
Severity
High
Product Affected Fixed in What to do
DocAI Fabric cloud (US and Australia) Releases before 2026.11.07-1 2026.11.07-1, deployed 2026-11-07 Nothing. The fix is deployed.
Self-hosted image Images before 2026.11.07-1 2026.11.07-1, published 2026-11-07 Update the image to 2026.11.07-1 or later.

Description

The OCR step reads the text embedded in a PDF. It did so in the server’s own process, with no limit on memory or time. The cost follows what a page draws once interpreted, not the size of the file, so a small crafted PDF could exhaust the memory of the server and end it, along with the other documents it was processing. Those documents resume on another server, and so did the crafted file, up to the retry limit. A limit on upload size would not have helped.

Permission to upload to a project is needed. The OCR step’s default setting is affected; only its PDF Text Layer setting of Always run OCR is not. No data is exposed or changed.

Fix

Release 2026.11.07-1 runs the analysis in a separate process with its own limits on memory, CPU and output. A page that exceeds them is read by the OCR engine instead.

Workarounds

Until you can update, set PDF Text Layer to Always run OCR in the OCR step of the projects that take untrusted files.

All security advisories