{"id":"CVE-2026-119341","aliases":["CVE-2026-119341"],"related":[],"kind":"vulnerability","state":"published","title":"Tesseract: File-controlled pointers still reach `delete` in ADAPT_CLASS_STRUCT destructor","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-30T20:24:56.121Z","modified":"2026-11-02T19:14:53.030Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N","score":0,"rating":"NONE"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N","score":0,"rating":"NONE"}],"cwes":["CWE-763"],"affected":[{"ranges":[{"version":"< 5.5.3","status":"affected"}],"vendor":"tesseract-ocr","product":"tesseract","source":"cvelist"}],"references":[{"url":"https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-357f-833m-3f83","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/tesseract-ocr/tesseract/pull/4645","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/tesseract-ocr/tesseract/commit/614e971036d2b95d521057ff63d68d6612429b23","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.4","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-11-02T15:02:19.295Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-119341","url":"https://www.cve.org/CVERecord?id=CVE-2026-119341","licence":"CVE Terms of Use","modified":"2026-11-02T15:02:43.092Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-119341","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119341","licence":"Public domain","modified":"2026-11-02T19:14:53.030Z"}],"updatedAt":"2026-11-25T22:59:48.024Z","epss":{"score":0.00407,"percentile":0.37013,"date":"2026-12-01T12:00:22.000Z"}}