Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-119340 →
Unrated

Tesseract is an open source OCR engine. Prior to 5.5.4, GENERIC_2D_ARRAY::DeSerializeSize in src/ccstruct/matrix.h reads matrix dimensions as signed i...

UBUNTU-CVE-2026-119340 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:14.04:LTStesseract
All versions→ Not listed
Ubuntu:Pro:16.04:LTStesseract
All versions→ Not listed
Ubuntu:Pro:18.04:LTStesseract
All versions→ Not listed
Ubuntu:Pro:20.04:LTStesseract
All versions→ Not listed
Ubuntu:Pro:22.04:LTStesseract
< 4.1.1-2.1ubuntu0.1~esm2→ 4.1.1-2.1ubuntu0.1~esm2
Ubuntu:Pro:24.04:LTStesseract
< 5.3.4-1ubuntu0.1~esm2→ 5.3.4-1ubuntu0.1~esm2
Ubuntu:26.10tesseract
All versions→ Not listed
Ubuntu:Pro:26.04:LTStesseract
< 5.5.0-1ubuntu0.1~esm2→ 5.5.0-1ubuntu0.1~esm2
Original description The description as published by the source.

Tesseract is an open source OCR engine. Prior to 5.5.4, GENERIC_2D_ARRAY::DeSerializeSize in src/ccstruct/matrix.h reads matrix dimensions as signed int32_t values and compares them only with UINT16_MAX, allowing negative values to reach ResizeNoInit. Negative dimensions or a 65535 by 65535 product can create inconsistent allocation state and later out-of-bounds accesses while loading a crafted traineddata file, causing denial of service. This issue is fixed in version 5.5.4.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details