{"id":"CVE-2026-88054","title":"Tesseract is an open source OCR engine","summary":"Tesseract is an open source OCR engine. In version 5.5.3 and earlier, Plumbing::DeSerialize in src/lstm/plumbing.cpp rejects excessively large network stacks but accepts a zero-length stack for NT_SERIES, NT_PARALLEL, or NT_REVERSED laye…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-125","CWE-824"],"vendor":"tesseract-ocr","product":"tesseract_ocr","affected":["tesseract_ocr <= 5.5.3"],"published":"2026-09-10","updated":"2026-09-16","sourceUpdated":"2026-09-16T16:14:01.050","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-88054","references":[{"url":"https://github.com/tesseract-ocr/tesseract/commit/552771236b0d80cbdb0c7dd856120fa21a4672e5","label":"security-advisories@github.com"},{"url":"https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-f6h7-cqr4-6fx4","label":"security-advisories@github.com"},{"url":"https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-f6h7-cqr4-6fx4","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-88054.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-88054"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2531576"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-88054"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-88054"}],"tags":["nvd","cve.org","exploit-available","csaf","vex","red-hat"],"epss":0.00153,"epssPercentile":0.03658,"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-10T18:06:46.791495Z"},"scores":{"nvd":5.5,"cna":6.9,"vendor":5.5},"ingestedAt":"2026-09-14T12:23:26.899Z","slug":"CVE-2026-88054","body":"## Overview\n\nTesseract is an open source OCR engine. In version 5.5.3 and earlier, Plumbing::DeSerialize in src/lstm/plumbing.cpp rejects excessively large network stacks but accepts a zero-length stack for NT_SERIES, NT_PARALLEL, or NT_REVERSED layers in a crafted .traineddata model. During LSTMRecognizer initialization in src/lstm/lstmrecognizer.cpp, CacheXScaleFactor(XScaleFactor()) reaches Series::CacheXScaleFactor in src/lstm/series.cpp, which dereferences stack_[0] on the empty vector and invokes a virtual method through an invalid Network pointer. This causes a deterministic crash and denial of service at model load. No fixed release is available as of this review.\n\n## Affected\n\n- `tesseract_ocr <= 5.5.3`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · updated 2026-09-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-88054.json)","depth":"twilight","depthScore":42,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[{"seq":205551,"id":"CVE-2026-88054","ts":1789578031963,"field":"cvss","old":"6.9","new":"5.5"}]}