Skip to main content

Tesseract OCR CVE-2026-73066

| EUVDEUVD-2026-56181 MEDIUM
Out-of-bounds Write (CWE-787)
2026-08-11 GitHub_M
6.8
CVSS 4.0 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.1 HIGH

Local file-based trigger requiring user or application interaction to load the crafted model; no privileges required to invoke Tesseract; no confidentiality impact per vendor advisory; high integrity and availability from heap OOB write.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
A
Scope
X

Lifecycle Timeline

3
Patch available
Aug 11, 2026 - 16:17 EUVD
Source Code Evidence Fetched
Aug 11, 2026 - 15:36 vuln.today
Analysis Generated
Aug 11, 2026 - 15:36 vuln.today

DescriptionCVE.org

Tesseract is an open source OCR engine. Prior to 5.5.3, a crafted .traineddata LSTM model component loaded through Tesseract's deserializer can cause an unchecked signed integer multiplication in Convolve::DeSerialize in src/lstm/convolve.cpp to wrap the convolution output-channel count, undersizing the forward-pass output buffer while writes use the unwrapped element count and causing a heap out-of-bounds write during OCR recognition. This issue is fixed in version 5.5.3.

AnalysisAI

Heap out-of-bounds write in Tesseract OCR engine prior to 5.5.3 is triggered by a crafted LSTM .traineddata model file that causes a signed integer multiplication overflow in Convolve::DeSerialize, undersizing the forward-pass output buffer while write operations use the original unwrapped element count. Any application or user that loads an attacker-controlled model file is exposed to memory corruption that can lead to arbitrary code execution or process crash in the context of the OCR engine. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Craft malicious .traineddata model with overflow-triggering parameters
Delivery
Deliver file to target filesystem or pipeline
Exploit
Application loads crafted model via Tesseract OCR
Execution
Integer overflow in Convolve::DeSerialize undersizes heap buffer
Persist
Heap OOB write corrupts adjacent memory
Impact
Arbitrary code execution or crash in OCR process

Vulnerability AssessmentAI

Exploitation Exploitation requires that a crafted .traineddata LSTM model file be loaded by the Tesseract OCR engine on the target system. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 4.0 score of 6.8 accurately reflects a constrained attack surface: the local attack vector (AV:L) and required user interaction (UI:A) mean this is not a remotely self-propagating flaw and cannot be exploited without first bridging a file-delivery gap. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker crafts a malicious .traineddata LSTM model file with ni_, half_x_, and half_y_ values chosen to cause the multiplication in DeSerialize to overflow, producing a small no_ and a correspondingly undersized heap buffer. The file is delivered to a target - for example, by substituting a model file in a shared storage path accessible to a document OCR service, or by passing it through an application that accepts user-specified model paths. …
Remediation Upgrade Tesseract to version 5.5.3, the vendor-confirmed fixed release at https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.3, which incorporates the overflow fixes from commit 2f4d2f4bf45c363785d7bf1da29b6628f8939a72 and PR #4588. … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-73066 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy