SB20261118248 - openEuler 24.03 LTS SP3 update for tesseract



SB20261118248 - openEuler 24.03 LTS SP3 update for tesseract

Published: November 18, 2026

Security Bulletin ID SB20261118248
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 8
Exploitation vector Local access
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 8 vulnerabilities.


1) 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.


2) 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.


3) 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.


4) 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.


5) 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.


6) 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.


7) 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.


8) 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.