CVE-2026-119341tesseract-ocr tesseract Release of Invalid Pointer or Reference
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 0.0 (NONE)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- tesseract-ocr tesseract < 5.5.3
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run tesseract-ocr tesseract and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- Oct 30, 2026Published
- Nov 2, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new tesseract-ocr tesseract CVEsYou are reading CVE-2026-119341. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/tesseract-ocr/tesseract/commit/614e971036d2b95d521057ff63d68d6612429b23
- Patchhttps://github.com/tesseract-ocr/tesseract/pull/4645
- Referencehttps://github.com/tesseract-ocr/tesseract/releases/tag/5.5.4
- Vendor Advisoryhttps://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-357f-833m-3f83
- Vendor Advisoryhttps://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-357f-833m-3f83
Data last checked: Nov 24, 2026 14:13 UTC