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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-763"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119341.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "5.5.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "614e971036d2b95d521057ff63d68d6612429b23"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "5.5.4",
"range": [
{
"fixed": "7e548e6eff172f38f97664afe7f7ce40db36c8d6"
}
],
"source": "REFERENCES_TAG"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119341.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "273898509907226057451854702558460984054",
"length": 1439
},
"id": "CVE-2026-119341-49145ee9",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/tesseract-ocr/tesseract/commit/614e971036d2b95d521057ff63d68d6612429b23",
"target": {
"file": "src/classify/adaptive.cpp",
"function": "ReadAdaptedClass"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"180060068731926284688027889238248134331",
"226603934957122881158476350172229498227",
"88377863173401880312396837275034242589",
"59092974860527655362798468160954400988",
"51268758437977303670884878195044506224",
"226674105034198610063874680010063751533",
"82621096893523550289301913369487248101",
"339697439966397695185178679181426201299",
"132380161165607083101065258244564071154",
"233600985817400865759445418717706009797",
"16541943879058039344174790987137340371",
"156335427948898957232886505900818184169",
"265336396078126862585338917957229078598",
"161267665358514685839370399088512525880",
"159868625678009897636038070464051947812",
"118727224893419230154955830848831344607",
"108311469388410626064724085867134381859",
"339697439966397695185178679181426201299",
"132380161165607083101065258244564071154",
"233600985817400865759445418717706009797",
"16541943879058039344174790987137340371"
],
"threshold": 0.9
},
"id": "CVE-2026-119341-b4efce22",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/tesseract-ocr/tesseract/commit/614e971036d2b95d521057ff63d68d6612429b23",
"target": {
"file": "src/classify/adaptive.cpp"
}
}
]
"2026-11-04T07:08:02Z"