---
id: CVE-2026-88054
title: Tesseract is an open source OCR engine
summary: >-
  Tesseract is an open source OCR engine. In version 5.5.3 and earlier,
  Plumbing::DeSerialize in src/lstm/plumbing.cpp rejects excessively large
  network stacks but accepts a zero-length stack for NT_SERIES, NT_PARALLEL, or
  NT_REVERSED laye…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-125
  - CWE-824
vendor: tesseract-ocr
product: tesseract_ocr
affected:
  - tesseract_ocr <= 5.5.3
published: '2026-09-10'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T16:14:01.050'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-88054'
references:
  - url: >-
      https://github.com/tesseract-ocr/tesseract/commit/552771236b0d80cbdb0c7dd856120fa21a4672e5
    label: security-advisories@github.com
  - url: >-
      https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-f6h7-cqr4-6fx4
    label: security-advisories@github.com
  - url: >-
      https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-f6h7-cqr4-6fx4
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-88054.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-88054'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2531576'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-88054'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-88054'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
epss: 0.00153
epssPercentile: 0.03675
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-10T18:06:46.791495Z'
scores:
  nvd: 5.5
  cna: 6.9
  vendor: 5.5
ingestedAt: '2026-09-14T12:23:26.899Z'
---

## Overview

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, Plumbing::DeSerialize in src/lstm/plumbing.cpp rejects excessively large network stacks but accepts a zero-length stack for NT_SERIES, NT_PARALLEL, or NT_REVERSED layers in a crafted .traineddata model. During LSTMRecognizer initialization in src/lstm/lstmrecognizer.cpp, CacheXScaleFactor(XScaleFactor()) reaches Series::CacheXScaleFactor in src/lstm/series.cpp, which dereferences stack_[0] on the empty vector and invokes a virtual method through an invalid Network pointer. This causes a deterministic crash and denial of service at model load. No fixed release is available as of this review.

## Affected

- `tesseract_ocr <= 5.5.3`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · updated 2026-09-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-88054.json)
