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

exploitDog

redhat логотип

CVE-2026-88051

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

Описание

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.

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

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.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10tesseractAffected
Red Hat Enterprise Linux 8tesseractAffected
Red Hat Enterprise Linux 9tesseractAffected

Показывать по

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

Статус:

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

7.8 High

CVSS3

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

ubuntu
5 дней назад

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

nvd
5 дней назад

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.

debian
5 дней назад

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

7.8 High

CVSS3

Уязвимость CVE-2026-88051