CVE-2026-73066 PUBLISHED

Tesseract: Heap out-of-bounds write in LSTM Convolve layer via crafted .traineddata

Assigner: GitHub_M
Reserved: 10.08.2026 Published: 11.08.2026 Updated: 11.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6.8

Product Status

Vendor tesseract-ocr
Product tesseract
Versions
  • Version < 5.5.3 is affected

References

Problem Types

  • CWE-787: Out-of-bounds Write CWE