CVEstesseract-ocrCVE-2026-119341Published Oct 30, 20:24 · Updated Oct 30, 20:24 UTC
0.0
NoneCVSS 3.1 · from GitHub_M
CVE-2026-119341

Tesseract: File-controlled pointers still reach `delete` in ADAPT_CLASS_STRUCT destructor

tesseract · CWE-763 · CWE-763
Affectedtesseract
FixNo fix listed yet.
PublishedOct 30, 20:24 · GitHub_M
ScoredOct 30 · 0.0 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:09 UTC

What we know

No known exploitation. CISA KEV, checked 22:09 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.

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.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed intesseract< 5.5.3–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/tesseract-ocr/tesseract/security/advisories/GHSA-357f-833m-3f83 · github.comrefsource_CONFIRMgithub.com/tesseract-ocr/tesseract/pull/4645 · github.comrefsource_MISCgithub.com/tesseract-ocr/tesseract/commit/614e971036d2b95d521057ff63d68d6612429b23 · github.comrefsource_MISCgithub.com/tesseract-ocr/tesseract/releases/tag/5.5.4 · github.comrefsource_MISC

Other CVEs in tesseract

All 13 →
5.5Tesseract: GENERIC_2D_ARRAY DeSerializeSize signed integer comparison bypass allows negative dimensions · CVE-2026-119340Oct 305.5Tesseract: Crafted LSTM model (`WeightMatrix` mode byte) triggers `ASSERT_HOST` abort in `WeightMatrix::DeSerializeOld` under `FAST_FLOAT` — Denial of Service · CVE-2026-119339Oct 306.9Tesseract: Double free and use after free in the PAGE XML renderer on right-to-left pages · CVE-2026-119338Oct 30