Out-of-bounds read in tesseract - #VU167572
Published: November 18, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service and indirectly disclose adjacent heap data through recognition scores.
The vulnerability exists due to an out-of-bounds read in Tesseract's RecodeBeamSearch::ContinueContext when recoder codes exceed network output array bounds without load-time or inference-time validation. A remote attacker can trick a victim into running OCR with a crafted .traineddata model combining a small-softmax network and recoder codes near 65534 to trigger a crash and leak adjacent heap values into scoring output.