Impact
Tesseract’s unvalidated negative recoder code values trigger an out-of-bounds bit write, producing a wild-address crash or allocation failure in the default LSTM engine. This memory corruption is classified as a type‑of‑memory‑corruption vulnerability (CWE‑787) and is rated a moderate severity CVSS score of 6.9.
Affected Systems
The vulnerability afflicts the Tesseract OCR engine, specifically versions 5.5.3 and earlier. The affected product is identified as tesseract‑ocr:tesseract by the CNA.
Risk and Exploitability
The exploit requires a crafted .traineddata recoder component with negative code values. Since the flaw is triggered when loading these files, the attack vector is likely local, though any environment that processes untrusted OCR data could be impacted. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog, indicating a moderate but not immediately threatening risk. Without an official patch, the best precaution is to monitor updates and constrain the input of .traineddata files to trusted sources.
OpenCVE Enrichment