# CVE-2026-119341: Tesseract: File-controlled pointers still reach `delete` in ADAPT_CLASS_STRUCT destructor

- Severity: None 0.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-30T20:24:56.121Z
- Modified: 2026-11-02T19:14:53.030Z
- Weaknesses: CWE-763
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- tesseract-ocr tesseract: < 5.5.3

## References

- <https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-357f-833m-3f83> (exploit)
- <https://github.com/tesseract-ocr/tesseract/pull/4645>
- <https://github.com/tesseract-ocr/tesseract/commit/614e971036d2b95d521057ff63d68d6612429b23>
- <https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.4>

## Sources

- CVE List: [CVE-2026-119341](https://www.cve.org/CVERecord?id=CVE-2026-119341), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-119341](https://nvd.nist.gov/vuln/detail/CVE-2026-119341), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-119341 · Whole record: https://cve.day/CVE-2026-119341.json · Rebuilt by cve.day 2026-11-25T22:59:48.024Z
