---
id: CVE-2026-88051
title: Tesseract is an open source OCR engine
summary: >-
  Tesseract is an open source OCR engine. In version 5.5.3 and earlier, the
  callback form of GenericVector::read in src/ccutil/genericvector.h reads the
  independent int32 fields reserved and size_used_ from a .traineddata model
  without a c…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: tesseract-ocr
product: tesseract_ocr
affected:
  - tesseract_ocr <= 5.5.3
published: '2026-09-10'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T16:29:47.137'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-88051'
references:
  - url: >-
      https://github.com/tesseract-ocr/tesseract/commit/56e09ca12e751623fe796ce1554ce704bffd2ef0
    label: security-advisories@github.com
  - url: >-
      https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-88qp-4g94-3rf3
    label: security-advisories@github.com
  - url: >-
      https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-88qp-4g94-3rf3
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-88051.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-88051'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2531566'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-88051'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-88051'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
epss: 0.00176
epssPercentile: 0.06286
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-15T14:52:38.097741Z'
scores:
  nvd: 7.8
  cna: 8.6
  vendor: 7.8
ingestedAt: '2026-09-13T16:02:03.119Z'
---

## Overview

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, the callback form of GenericVector::read in src/ccutil/genericvector.h reads the independent int32 fields reserved and size_used_ from a .traineddata model without a cap or an invariant check. reserve(reserved) allocates the backing array, but the callback loop writes size_used_ elements. A crafted TESSDATA_INTTEMP component with version_id 4 or later can therefore set reserved to a small value and size_used_ to a large value when fontinfo_table_.read(fp, read_info) is called from src/classify/intproto.cpp, causing a heap out-of-bounds write of FontInfo structures, heap corruption, a crash, or potentially controlled corruption. 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** · Important · 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-88051.json)
