CVE-2026-88050
published medium CVSS 4.0 · 6.9Tesseract: Out-of-bounds write in UnicharCompress via unvalidated recoder code values
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tesseract-ocr | — | tesseract<= 5.5.3 | Affected | Not stated | GitHub_M |
| Ubuntu | bionic | tesseract | Advisory build | 4.00~git2288-10f4998a-2ubuntu0.1~esm1 | USN-8882-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libtesseract5aarch64 | Advisory build | 5.5.3-bp160.1.1 | OPENSUSE-SU-2026:21957-1 |
| Ubuntu | focal | tesseract | Advisory build | 4.1.1-2ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | jammy | tesseract | Advisory build | 4.1.1-2.1ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | noble | tesseract | Advisory build | 5.3.4-1ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | resolute | tesseract | Advisory build | 5.5.0-1ubuntu0.1~esm1 | USN-8882-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libtesseract5ppc64le | Advisory build | 5.5.3-bp160.1.1 | OPENSUSE-SU-2026:21957-1 |
Show 47 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-16.0 | libtesseract5s390x | Advisory build | 5.5.3-bp160.1.1 | OPENSUSE-SU-2026:21957-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libtesseract5x86_64 | Advisory build | 5.5.3-bp160.1.1 | OPENSUSE-SU-2026:21957-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libtesseract5-x86-64-v3x86_64 | Advisory build | 5.5.3-bp160.1.1 | OPENSUSE-SU-2026:21957-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tesseract-ocraarch64 | Advisory build | 5.5.3-bp160.1.1 | OPENSUSE-SU-2026:21957-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tesseract-ocrppc64le | Advisory build | 5.5.3-bp160.1.1 | OPENSUSE-SU-2026:21957-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tesseract-ocrs390x | Advisory build | 5.5.3-bp160.1.1 | OPENSUSE-SU-2026:21957-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tesseract-ocrx86_64 | Advisory build | 5.5.3-bp160.1.1 | OPENSUSE-SU-2026:21957-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tesseract-ocr-commonnoarch | Advisory build | 5.5.3-bp160.1.1 | OPENSUSE-SU-2026:21957-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tesseract-ocr-develaarch64 | Advisory build | 5.5.3-bp160.1.1 | OPENSUSE-SU-2026:21957-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tesseract-ocr-develppc64le | Advisory build | 5.5.3-bp160.1.1 | OPENSUSE-SU-2026:21957-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tesseract-ocr-devels390x | Advisory build | 5.5.3-bp160.1.1 | OPENSUSE-SU-2026:21957-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tesseract-ocr-develx86_64 | Advisory build | 5.5.3-bp160.1.1 | OPENSUSE-SU-2026:21957-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5aarch64 | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5ppc64le | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5s390x | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5x86_64 | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5-x86-64-v3aarch64 | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5-x86-64-v3ppc64le | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5-x86-64-v3s390x | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5-x86-64-v3x86_64 | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocraarch64 | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocrppc64le | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocrs390x | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocrx86_64 | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-commonaarch64 | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-commonppc64le | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-commons390x | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-commonx86_64 | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-develaarch64 | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-develppc64le | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-devels390x | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-develx86_64 | Advisory build | 5.5.3-2.1 | OPENSUSE-SU-2026:11887-1 |
| Ubuntu | bionic | libtesseract4 | Advisory build | 4.00~git2288-10f4998a-2ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | bionic | tesseract-ocr | Advisory build | 4.00~git2288-10f4998a-2ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | bionic | tesseract-ocr-all | Advisory build | 4.00~git2288-10f4998a-2ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | focal | libtesseract4 | Advisory build | 4.1.1-2ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | focal | tesseract-ocr | Advisory build | 4.1.1-2ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | focal | tesseract-ocr-all | Advisory build | 4.1.1-2ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | jammy | libtesseract4 | Advisory build | 4.1.1-2.1ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | jammy | tesseract-ocr | Advisory build | 4.1.1-2.1ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | jammy | tesseract-ocr-all | Advisory build | 4.1.1-2.1ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | noble | libtesseract5 | Advisory build | 5.3.4-1ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | noble | tesseract-ocr | Advisory build | 5.3.4-1ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | noble | tesseract-ocr-all | Advisory build | 5.3.4-1ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | resolute | libtesseract5 | Advisory build | 5.5.0-1ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | resolute | tesseract-ocr | Advisory build | 5.5.0-1ubuntu0.1~esm1 | USN-8882-1 |
| Ubuntu | resolute | tesseract-ocr-all | Advisory build | 5.5.0-1ubuntu0.1~esm1 | USN-8882-1 |
Description
Tesseract is an open source OCR engine. In version 5.5.3 and earlier, RecodedCharID::DeSerialize in src/ccutil/unicharcompress.h validates length_ but accepts negative code_ values from a crafted .traineddata recoder component. UnicharCompress::ComputeCodeRange in src/ccutil/unicharcompress.cpp can consequently produce code_range_ equal to zero, after which SetupDecoder indexes is_valid_start_ with the negative code on a size-zero vector. The resulting out-of-bounds bit write uses a large wrapped index and reliably causes a wild-address crash or allocation failure on the default LSTM engine. No fixed release is available as of this review.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tesseract-ocr | tesseract | <= 5.5.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-787 CWE-787: Out-of-bounds Write
References
2Provider assertions
2GitHub_M · cna
Tesseract: Out-of-bounds write in UnicharCompress via unvalidated recoder code values
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 49a2840883ccefd034831ba9ace16dcb65262662f75ef6bf048581670eeff267
- Ingested
- 23 Sep 2026, 09:37:53 UTC
- Source record
- Official CVE record