Bug 2531573 (CVE-2026-88053) - CVE-2026-88053 tesseract: Tesseract: Heap out-of-bounds write leads to heap corruption via crafted data file
Summary: CVE-2026-88053 tesseract: Tesseract: Heap out-of-bounds write leads to heap c...
Keywords:
Status: NEW
Alias: CVE-2026-88053
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2531779
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-10 17:52 UTC by OSIDB Bzimport
Modified: 2026-09-11 07:41 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-10 17:52:30 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.