Tesseract: File-controlled pointers still reach `delete` in ADAPT_CLASS_STRUCT destructor
Summary
| CVE | CVE-2026-119341 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-30 21:16:52 UTC |
| Updated | 2026-11-02 19:14:53 UTC |
| Description | Tesseract is an open source OCR engine. Prior to 5.5.4, ReadAdaptedClass in src/classify/adaptive.cpp raw-reads an ADAPT_CLASS_STRUCT from a pre-adapted-template .a file without neutralizing TempProtos and Config pointer fields before any destructor path. When the legacy engine is selected, classify_use_pre_adapted_templates is enabled, and an attacker can write the output-basename .a file, the success or rejection path can pass file-controlled pointers to ~ADAPT_CLASS_STRUCT and operator delete, causing memory corruption and denial of service. This issue is fixed in version 5.5.4. |
Risk And Classification
Primary CVSS: v3.1 0 NONE from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
EPSS: 0.002700000 probability, percentile 0.192230000 (date 2026-11-02)
Problem Types: CWE-763 | CWE-763 CWE-763: Release of Invalid Pointer or Reference
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 0 | NONE | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N |
| 3.1 | CNA | DECLARED | 0 | NONE | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Tesseract-ocr | Tesseract | affected < 5.5.3 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/tesseract-ocr/tesseract/releases/tag/5.5.4 | [email protected] | github.com | |
| github.com/tesseract-ocr/tesseract/security/advisories/GHSA-357f-833m-3f83 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| github.com/tesseract-ocr/tesseract/pull/4645 | [email protected] | github.com | |
| github.com/tesseract-ocr/tesseract/commit/614e971036d2b95d521057ff63d68d... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.