CVE-2026-88050
tesseract: Tesseract: Out-of-bounds write leads to Denial of Service
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 11, 2026
Updated · September 15, 2026
Description
A flaw was found in Tesseract. It was discovered that the RecodedCharID::DeSerialize function accepts negative code values from a specially crafted .traineddata recoder component. This can lead to an out-of-bounds write when SetupDecoder attempts to index a zero-sized vector with a negative code. A local attacker providing a malicious .traineddata file could exploit this to reliably cause a wild-address crash or an allocation failure, resulting in a denial of service (DoS).
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, avoid processing untrusted or unverified .traineddata files with the Tesseract OCR engine. If processing untrusted input is unavoidable, consider running the Tesseract application within a sandboxed environment to limit the potential impact of a denial of service.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CWE-787 · Out-of-bounds Write