Intel

AIKIDO-2026-383628

pdf_oxide is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 10, 2026

59

Medium Risk

This Affects:

RUSTpdf_oxide
0.3.61 - 0.3.72
Fixed in 0.3.73
Are you affected? Scan for Free

TL;DR

The reading-order text extraction pipeline groups vertical-writing (tategaki) spans into columns with a pairwise |a - b| <= tol X-center comparator that is not transitive. When a malformed or scanned CJK PDF produces many narrow spans whose centers step within the tolerance, the comparator reports contradictory orderings and Rust's sort_by/sort_unstable_by panics with a total-order violation that is uncatchable across FFI bindings and aborts the host process. Oversized real-number literals that saturate to f64::INFINITY can also feed NaN glyph coordinates into the same sort path and reach the crash. The fix replaces the comparator with single-linkage column clustering that yields a genuine total order and clamps oversized literals to the spec limit at parse time.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you extract text from untrusted or scanned PDFs.

Background info

pdf_oxide is vulnerable to Denial of Service (DoS) in versions 0.3.61 - 0.3.72.

How to fix this

Upgrade the pdf_oxide library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform