Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-88053— Tesseract: Heap out-of-bounds write in Classify::ReadIntTemplates via unvalidated counts in crafted .traineddata

Quick assessment

Affected
tesseract-ocr tesseract
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Tesseract 是一个开源的光学字符识别(OCR)引擎。在 5.5.3 及更早的版本中, 文件中的 函数从精心构造的 文件的 组件中读取 、 和 ,并将这些值用作循环边界,但未将其与 、 和 进行有效性校验。由于这些循环将堆指针写入 和 中容量固定的 和 数组,因此过大的计数值会导致在 OCR 开始之前、传统分类器初始化过程中发生堆越界指针写入,从而导致堆内存损坏、程序崩溃,甚至可能发生受控的堆内存损坏。截至目前,尚无已发布的修复版本。

CVSS 8.6 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-88053

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Tesseract: Heap out-of-bounds write in Classify::ReadIntTemplates via unvalidated counts in crafted .traineddata
Source: CVE Program / CVE List V5
Vulnerability Description
Tesseract is an open source OCR engine. In version 5.5.3 and earlier, Classify::ReadIntTemplates in src/classify/intproto.cpp reads NumClassPruners, NumClasses, and NumProtoSets from the TESSDATA_INTTEMP component of a crafted .traineddata file and uses those values as loop bounds without validating them against MAX_NUM_CLASS_PRUNERS, MAX_NUM_CLASSES, and MAX_NUM_PROTO_SETS. The loops store heap pointers into fixed-capacity ClassPruners and ProtoSets arrays in INT_TEMPLATES_STRUCT and INT_CLASS_STRUCT, so an oversized count causes heap out-of-bounds pointer writes during legacy-classifier initialization before OCR begins, resulting in heap corruption, a crash, or potentially controlled corruption. No fixed release is available as of this review.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
tesseract-ocr tesseract <= 5.5.3 -

II. Public POCs for CVE-2026-88053

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-88053

登录查看更多情报信息。

Vendor Advisories for CVE-2026-88053 (1)

Same Patch Batch · tesseract-ocr · 2026-09-10 · 8 CVEs total

CVE-2026-88049 8.6 HIGH Tesseract: Heap out-of-bounds write in LSTM::Forward via na_/gate-matrix dimension mismatc
CVE-2026-88048 8.6 HIGH Tesseract: Heap out-of-bounds write/read in FullyConnected::Forward via layer/weight-matri
CVE-2026-88047 8.6 HIGH Tesseract: ReadNormProtos stack buffer overflow
CVE-2026-88051 8.6 HIGH Tesseract: Heap out-of-bounds write in GenericVector<T>::read due to independent reserved/
CVE-2026-88052 7.8 HIGH Tesseract: Heap out-of-bounds write in UNICHARSET::load_via_fgets via count/insert desynch
CVE-2026-88050 6.9 MEDIUM Tesseract: Out-of-bounds write in UnicharCompress via unvalidated recoder code values
CVE-2026-88054 6.9 MEDIUM Tesseract: Denial of service via empty-stack dereference in Plumbing/Series at model load

IV. Related Vulnerabilities

V. Comments for CVE-2026-88053

No comments yet


Leave a comment