6.8medium
Tesseract: Heap out-of-bounds write in LSTM Convolve layer via crafted .traineddata
- Severity
- 6.8medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Tesseract is an open source OCR engine. Prior to 5.5.3, a crafted .traineddata LSTM model component loaded through Tesseract's deserializer can cause an unchecked signed integer multiplication in Convolve::DeSerialize in src/lstm/convolve.cpp to wrap the convolution output-channel count, undersizing the forward-pass output buffer while writes use the unwrapped element count and causing a heap out-of-bounds write during OCR recognition. This issue is fixed in version 5.5.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| tesseract-ocr tesseract | < 5.5.3 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Tesseract is an open source OCR engine. Prior to 5.5.3, a crafted .traineddata LSTM model component loaded through Tesseract's deserializer can cause an unchecked signed integer multiplication in Convolve::DeSerialize in src/lstm/convolve.cpp to wrap the convolution output-channel count, undersizing the forward-pass output buffer while writes use the unwrapped element count and causing a heap out-of-bounds write during OCR recognition. This issue is fixed in version 5.5.3.
NVD (es)
Tesseract es un motor OCR de código abierto. Antes de la versión 5.5.3, un componente de modelo LSTM .traineddata manipulado, cargado a través del deserializador de Tesseract, puede causar una multiplicación de enteros con signo sin verificar en Convolve::DeSerialize en src/lstm/convolve.cpp para envolver el recuento de canales de salida de la convolución, reduciendo el tamaño del búfer de salida del paso hacia adelante mientras que las escrituras utilizan el recuento de elementos sin envolver y causyo una escritura fuera de límites en el heap durante el reconocimiento OCR. Este problema se solucionó en la versión 5.5.3.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-73066 changed 2026-08-11 | CVE Terms of Use |
| NVD | CVE-2026-73066 changed 2026-10-24 | Public domain |