SB2026111944 - Ubuntu update for tesseract



SB2026111944 - Ubuntu update for tesseract

Published: November 19, 2026

Security Bulletin ID SB2026111944
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 10
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 10 vulnerabilities.


1) Out-of-bounds read (CVE-ID: CVE-2026-73067)

CWE-ID: CWE-125 - Out-of-bounds read

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to out-of-bounds read in the DAWG dictionary loader when parsing a crafted .traineddata model file during initialization. A remote attacker can supply a specially crafted .traineddata model file to cause a denial of service.

The issue is triggered at model-load time before any image is processed.


2) Out-of-bounds write (CVE-ID: CVE-2026-73066)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to out-of-bounds write in the LSTM Convolve layer when parsing a crafted .traineddata LSTM model component during ordinary OCR recognition. A remote attacker can supply a specially crafted .traineddata file to cause a denial of service.

The issue is triggered after the malicious model file is loaded through Tesseract's .traineddata deserializer.


3) Stack-based buffer overflow (CVE-ID: CVE-2026-88047)

CWE-ID: CWE-121 - Stack-based buffer overflow

CVSSv4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service or potentially execute arbitrary code.

The vulnerability exists due to a stack-based buffer overflow from unbounded token extraction into a 61-byte buffer in Tesseract's Classify::ReadNormProtos when parsing the NORMPROTO component during legacy engine initialization. A remote attacker can supply a crafted .traineddata model containing a token longer than 60 characters to corrupt stack memory when the model is loaded, causing a crash or potentially hijacking control flow.


4) Out-of-bounds write (CVE-ID: CVE-2026-88048)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to corrupt heap memory, disclose information, or cause a denial of service.

The vulnerability exists due to missing validation of layer dimensions against weight-matrix dimensions in Tesseract's FullyConnected deserialization when loading traineddata, causing heap out-of-bounds writes and reads during recognition. A remote attacker can supply a crafted .traineddata model with mismatched dimensions to trigger memory corruption or information disclosure when OCR runs using the default LSTM engine.


5) Heap-based buffer overflow (CVE-ID: CVE-2026-88049)

CWE-ID: CWE-122 - Heap-based Buffer Overflow

CVSSv4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to corrupt heap memory and cause a denial of service.

The vulnerability exists due to a heap-based buffer overflow in Tesseract's LSTM::Forward when independently deserialized na_ and gate-matrix dimensions cause WriteTimeStepPart to write beyond the source_ buffer without bounds checking. A remote attacker can supply a crafted .traineddata file with mismatched dimensions for use during image recognition to trigger heap corruption and crash the process.


6) Out-of-bounds write (CVE-ID: CVE-2026-88050)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to an out-of-bounds write in Tesseract's UnicharCompress decoder when unvalidated signed recoder values are used as indices into is_valid_start_ during model loading. A remote attacker can supply a crafted .traineddata model using recoding with length_=1 and code_[0]=0xFFFFFFFF to trigger an invalid write and crash the process, while other negative values can cause oversized allocations that also terminate processing.


7) Out-of-bounds write (CVE-ID: CVE-2026-88051)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to corrupt heap memory and cause a denial of service.

The vulnerability exists due to an out-of-bounds write in Tesseract's GenericVector<T>::read callback implementation when loading serialized vectors without checking that size_used_ fits the allocated capacity. A remote attacker can supply a crafted .traineddata file with TESSDATA_INTTEMP version_id >= 4, reserved = 4, and size_used_ = 0x10000 to trigger writes beyond the allocated buffer during legacy engine loading.


8) Out-of-bounds write (CVE-ID: CVE-2026-88052)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to corrupt heap memory and cause a denial of service.

The vulnerability exists due to unchecked vector indexing in Tesseract's UNICHARSET::load_via_fgets when skipped insertions desynchronize the declared character count from the vector size, causing heap out-of-bounds writes during initialization. A remote attacker can trick a victim into loading crafted traineddata containing empty, duplicate, or already-encodable character representations through either the LSTM or legacy engine to trigger heap corruption and crash the application.


9) Out-of-bounds write (CVE-ID: CVE-2026-88053)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to corrupt heap memory and cause a denial of service.

The vulnerability exists due to an out-of-bounds write in Tesseract's Classify::ReadIntTemplates when unvalidated counts from the inttemp component of a traineddata file control pointer writes into fixed-size heap arrays. A remote attacker can supply a crafted model with excessive NumClassPruners, NumClasses, or NumProtoSets counts to trigger heap corruption during legacy classifier initialization, before OCR processing.


10) Out-of-bounds read (CVE-ID: CVE-2026-88054)

CWE-ID: CWE-125 - Out-of-bounds read

CVSSv4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service in Tesseract during model initialization.

The vulnerability exists due to an out-of-bounds read in the Plumbing and Series components when loading an LSTM model containing an empty stack that is subsequently indexed without checking its size. A remote attacker can supply a crafted .traineddata model with a zero-length NT_SERIES, NT_PARALLEL, or NT_REVERSED stack to trigger an invalid pointer dereference and crash the process.


Remediation

Install update from vendor's website.