Out-of-bounds read in tesseract - #VU170692
Published: November 27, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by terminating an application that uses Tesseract's legacy OCR engine and does not catch the resulting exception.
The vulnerability exists due to an out-of-bounds read in Tesseract::check_abbreviation when the legacy OCR engine uses the same index for byte offsets and character lengths while checking recognized text. A remote attacker can induce a victim to process a crafted image with the legacy OCR engine to trigger an exception that may terminate the application.