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 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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-125",
"CWE-824"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/88xxx/CVE-2026-88054.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "5.5.3"
}
],
"source": [
"AFFECTED_FIELD",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-88054.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"258537122134984682208804771031359520231",
"110212321735512951597145114429682695837",
"103444331921693883673816784988195841480",
"94567939029304892192157192805406604937"
],
"threshold": 0.9
},
"id": "CVE-2026-88054-4685971c",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/tesseract-ocr/tesseract/commit/552771236b0d80cbdb0c7dd856120fa21a4672e5",
"target": {
"file": "src/ccmain/tessedit.cpp"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "164385902769592234980565436960277735521",
"length": 506
},
"id": "CVE-2026-88054-a4e5f023",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/tesseract-ocr/tesseract/commit/552771236b0d80cbdb0c7dd856120fa21a4672e5",
"target": {
"file": "src/lstm/plumbing.cpp",
"function": "Plumbing::DeSerialize"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"192914806808253293124435264712683859117",
"4050315567552585687908019195635512374",
"231949050499091548991046095629584414189",
"21672120500222972354062729542871880294"
],
"threshold": 0.9
},
"id": "CVE-2026-88054-abdf8a46",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/tesseract-ocr/tesseract/commit/552771236b0d80cbdb0c7dd856120fa21a4672e5",
"target": {
"file": "src/lstm/plumbing.cpp"
}
}
]
"2026-09-12T08:07:33Z"