CVE-2026-88048

Source
https://cve.org/CVERecord?id=CVE-2026-88048
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-88048.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-88048
Aliases
  • GHSA-q44c-23p6-5mw6
Downstream
Published
2026-09-10T16:21:57Z
Modified
2026-09-12T08:07:33Z
Severity
  • 8.6 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Tesseract: Heap out-of-bounds write/read in FullyConnected::Forward via layer/weight-matrix dimension mismatch
Details

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, FullyConnected::DeSerialize in src/lstm/fullyconnected.cpp does not validate the deserialized layer scalars ni_ and no_ against the weight-matrix dimensions. During FullyConnected::Forward, MatrixDotVector in src/lstm/weightmatrix.cpp writes w.dim1() results into temp_line, which is sized from no_, and reads w.dim2() minus one inputs from curr_input, which is sized from ni_. A crafted .traineddata NT_SOFTMAX layer can therefore use inconsistent dimensions to cause a heap out-of-bounds write and read on the default LSTM engine, resulting in heap corruption, a crash, information disclosure, or potentially controlled corruption. No fixed release is available as of this review.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-125",
        "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/88xxx/CVE-2026-88048.json"
}
References

Affected packages

Git / github.com/tesseract-ocr/tesseract

Affected ranges

Type
GIT
Repo
https://github.com/tesseract-ocr/tesseract
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.5.3"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.03
1.04
1.04b
2.*
2.00
2.01
2.02
2.03
2.04
3.*
3.00
3.01
3.02.02
3.03-rc1
3.04.00
3.05.00dev
4.*
4.0.0
4.0.0-alpha
4.0.0-beta.1
4.0.0-beta.3
4.0.0-beta.4
4.0.0-rc3
4.0.0-rc4
4.00.00alpha
4.00.00dev
4.1.0-rc1
5.*
5.0.0
5.0.0-alpha
5.0.0-alpha-20201224
5.0.0-alpha-20201231
5.0.0-alpha-20210401
5.0.0-beta-20210916
5.0.0-rc1
5.0.0-rc2
5.0.0-rc3
5.0.1
5.1.0
5.2.0
5.3.0
5.3.0-rc1
5.3.1
5.3.2
5.3.3
5.3.4
5.4.0
5.4.0-rc1
5.4.0-rc2
5.4.1
5.5.0
5.5.1
5.5.2
5.5.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-88048.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "121867718534192794991253747416092187089",
            "length": 114
        },
        "id": "CVE-2026-88048-1ab0427b",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/tesseract-ocr/tesseract/commit/103dc134eb36411ddc6833ec20aa2c76795bd0ff",
        "target": {
            "file": "src/lstm/fullyconnected.cpp",
            "function": "FullyConnected::DeSerialize"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "308103061069042255828952625135119956451",
                "55181820734067072958413781647639066461",
                "21784346899421237441590794156475035550",
                "195062036959900219803676928144812694855"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-88048-4baaa5eb",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/tesseract-ocr/tesseract/commit/103dc134eb36411ddc6833ec20aa2c76795bd0ff",
        "target": {
            "file": "src/lstm/fullyconnected.cpp"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "195773676613449933875312455903217281472",
                "59191421120748133592482790999656392744",
                "45785591038545850744934510751389619021",
                "276340416971371890317167257891303964098"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-88048-df40359a",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/tesseract-ocr/tesseract/commit/103dc134eb36411ddc6833ec20aa2c76795bd0ff",
        "target": {
            "file": "src/lstm/weightmatrix.h"
        }
    }
]
vanir_signatures_modified
"2026-09-12T08:07:33Z"