Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-88051

Опубликовано: 10 сент. 2026
Источник: redhat
CVSS3: 7.8
EPSS Низкий

Описание

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.

A flaw was found in Tesseract, an open-source Optical Character Recognition (OCR) engine. A heap out-of-bounds write vulnerability exists in the GenericVector::read function when processing a specially crafted .traineddata model. By manipulating the reserved and size_used_ fields, a local attacker can cause heap corruption, a crash, or potentially controlled corruption, which could lead to arbitrary code execution.

Отчет

This vulnerability is rated as Important for Red Hat Enterprise Linux because successful exploitation of the memory corruption flaw can result in arbitrary code execution within the context of the user or process running the OCR engine. In standard Red Hat deployments, Tesseract relies on verified system-provided language packs, limiting exposure unless an application or user is tricked into loading an untrusted, malicious trained data file. Because triggering the condition requires local file interaction or supplying a specially prepared model to an automated ingestion pipeline, remote unauthenticated exploitation without user interaction is not possible.

Меры по смягчению последствий

To mitigate this issue, avoid processing .traineddata model files from untrusted or unknown sources. Ensure that Tesseract only processes models from trusted origins. If Tesseract is not required, consider removing the tesseract package to eliminate the attack surface.

Дополнительная информация

Статус:

Important
Дефект:
CWE-787
https://bugzilla.redhat.com/show_bug.cgi?id=2531566tesseract: Tesseract: Heap out-of-bounds write via crafted .traineddata model

EPSS

Процентиль: 6%
0.00167
Низкий

7.8 High

CVSS3

Связанные уязвимости

CVSS3: 7.8
ubuntu
2 месяца назад

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.

CVSS3: 7.8
nvd
2 месяца назад

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.

CVSS3: 7.8
debian
2 месяца назад

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, ...

CVSS3: 7.8
fstec
3 месяца назад

Уязвимость функции GenericVector::read() файла src/ccutil/genericvector.h системы оптического распознавания символов Tesseract, позволяющая нарушителю выполнить произвольный код

CVSS3: 7.8
redos
26 дней назад

Уязвимость tesseract

EPSS

Процентиль: 6%
0.00167
Низкий

7.8 High

CVSS3