5.5Medium

Tesseract-Ocr Tesseract Ocr

CVE-2026-88049

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, prior .traineddata hardening added bounds checks to NetworkIO::CopyTimeStepGeneral and NetworkIO::Randomize in src/lstm/networkio.cpp but left NetworkIO::WriteTimeStepPart and NetworkIO::AddTimeStepPart unchecked. In LSTM::Forward in src/lstm/lstm.cpp, source_ is sized from the independently deserialized na_ field while the WriteTimeStepPart count is ns_, which comes from the CI gate WeightMatrix dim1() value. A crafted NT_LSTM layer can make ns_ much larger than na_, causing a heap out-of-bounds write during the first recognition step on the default LSTM engine and resulting in heap corruption, a crash, or potentially controlled corruption. No fixed release is available as of this review.

What this means for your business

  • It affects Tesseract-Ocr Tesseract Ocr. It matters if your company, or a supplier that handles your data, runs it.
  • An attacker can use it only with access to the machine itself, with an ordinary user login, and without anyone at your company clicking anything.

What to do

  1. 1Check whether your company or your suppliers run Tesseract-Ocr Tesseract Ocr, and which version. The affected versions are listed further down this page.
  2. 2If you do, apply the vendor's fix. A patch or vendor advisory has been published.

Not sure if your company is exposed?

Fastnexa’s certified penetration testers can check whether attackers could use this flaw, or others like it, against your websites, apps and network. The full test is free for our first 10 founding clients until 31 December 2026.

Scoring

CVSS
5.5 (v3.1)
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4
8.6
Weakness
CWE-787
Assigned by
security-advisories@github.com

Dates

Published
2026-09-10
Last modified
2026-09-14
Sources
NVD

Affected products

  • Tesseract-Ocr Tesseract Ocr- 5.5.3

As listed in the NVD configuration data. Not a statement about your estate.

References