Quick answers
- Is CVE-2026-119340 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-119340 being exploited in the wild.
- How severe is CVE-2026-119340?
- Medium severity, with a CVSS score of 5.5, published 30 October 2026.
- Which products and versions are affected?
- Tesseract OCR Tesseract prior to 5.5.4.
- Is there a fix for CVE-2026-119340?
- Yes: fixed in 5.5.4. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-119340 attacked?
- It is attacked with local access.
- Am I affected by CVE-2026-119340?
- Check whether you run Tesseract OCR Tesseract at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- Fixed in: 5.5.4
Technical details
GENERIC_2D_ARRAY::DeSerializeSize in matrix.h reads matrix dimensions as signed int32_t and validates only against UINT16_MAX, allowing negative values to pass validation and reach ResizeNoInit. Negative dimensions or large products cause signed integer overflow and out-of-bounds accesses in IntSimdMatrix when parsing a malicious traineddata file. The vulnerability is triggered by loading a crafted traineddata file and requires no authentication or network access beyond file delivery.
Affected products
- Tesseract OCR Tesseract prior to 5.5.4
Timeline
- 2026-10-30: disclosed
- 2026-10-18: patched