CVE-2026-119341
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 0.0 NONE (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-763
- Record status
- Awaiting Analysis
Attack profile CVSS 3.1 · 0.0
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-119341.md and follow it. Check whether this project is affected by CVE-2026-119341. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/tesseract-ocr/tesseract/commit/614e971036d2b95d521057ff63d68d6612429b23
- https://github.com/tesseract-ocr/tesseract/pull/4645
- https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.4
- https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-357f-833m-3f83
- https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-357f-833m-3f83
References
- https://github.com/tesseract-ocr/tesseract/commit/614e971036d2b95d521057ff63d68d6612429b23
- https://github.com/tesseract-ocr/tesseract/pull/4645
- https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.4
- https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-357f-833m-3f83
- https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-357f-833m-3f83