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...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTStesseract |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTStesseract |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTStesseract |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTStesseract |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTStesseract |
< 4.1.1-2.1ubuntu0.1~esm2→ 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 |
5.3.4-1ubuntu0.1~esm2 |
| Ubuntu:26.10tesseract |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:26.04:LTStesseract |
< 5.5.0-1ubuntu0.1~esm2→ 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
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report github.com
- report github.com
- report github.com
- report github.com