CVE-2026-119340
published medium CVSS 3.1 · 5.5Tesseract: GENERIC_2D_ARRAY DeSerializeSize signed integer comparison bypass allows negative dimensions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tesseract-ocr | — | tesseract< 5.5.4 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5aarch64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5ppc64le | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5s390x | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5x86_64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5-x86-64-v3aarch64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5-x86-64-v3ppc64le | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5-x86-64-v3s390x | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5-x86-64-v3x86_64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocraarch64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocrppc64le | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocrs390x | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocrx86_64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-commonaarch64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-commonppc64le | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-commons390x | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-commonx86_64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-develaarch64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-develppc64le | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-devels390x | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-develx86_64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tesseract-ocr | tesseract | < 5.5.4 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-190 CWE-190: Integer Overflow or Wraparound
- CWE-681 CWE-681: Incorrect Conversion between Numeric Types
References
4Provider assertions
2GitHub_M · cna
Tesseract: GENERIC_2D_ARRAY DeSerializeSize signed integer comparison bypass allows negative dimensions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 20264f6d226e2cb7374baffcfbf293e831711b0e0793b24fe0a524b01d6a1ef4
- Ingested
- 05 Nov 2026, 02:47:13 UTC
- Source record
- Official CVE record