CVE-2026-88052: Tesseract - Buffer Overflow
- Cve: CVE-2026-88052
- Name: Tesseract - Buffer Overflow
- Description: Tesseract is an open source OCR engine. In version 5.5.3 and earlier, UNICHARSET::load_via_fgets in src/ccutil/unicharset.cpp trusts the declared unichar count as a loop bound and uses id as an unchecked index into the unichars vector. unichar_insert_backwards_compatible can leave the vector unchanged for an empty, duplicate, or already-encodable representation, causing id to become larger than unichars.size(). Subsequent set_* calls and the write to unichars[id].properties.enabled then write UNICHAR_PROPERTIES beyond the vector during initialization in both the default LSTM and legacy engines, causing heap corruption, a crash, or potentially controlled corruption. No fixed release is available as of this review.
- Impact: Attackers can cause heap corruption or crash, potentially leading to denial of service or controlled memory corruption.
- Remediation: Update to a fixed version once available or monitor for patches addressing this issue.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00174
- Epss percentile: 0.06943
- Assignee: [email protected]
- Published at: 2026-09-10T18:18:14Z
- Age in days: 75
- Modified at: 2026-09-16T16:21:10Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-88052
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-129 | Improper Validation of Array Index |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-2hm8-q5c7-c373 | nvd | 2026-09-10 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/tesseract-ocr/tesseract/commit/2d04d640db2e8c7e3bab2369d599343b5a8b8443 | nvd | Patch |
| https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-2hm8-q5c7-c373 | nvd | Exploit, Mitigation, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| tesseract-ocr:tesseract_ocr | <= 5.5.3 | no | nvd | /v1/products/tesseract-ocr/tesseract_ocr |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| tesseract-ocr/tesseract | commit, fix, security_advisory | yes | /v1/repositories/tesseract-ocr/tesseract |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-09-10
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts