CVE-2026-88047

Source
https://cve.org/CVERecord?id=CVE-2026-88047
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-88047.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-88047
Aliases
  • GHSA-5j2p-r5vc-q7f3
Downstream
DEBIAN (1)
ECHO (1)
OESA (4)
openSUSE (2)
UBUNTU (1)
Related
Published
2026-09-10T16:18:01Z
Modified
2026-09-25T18:26:51Z
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: ReadNormProtos stack buffer overflow
Details

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, Classify::ReadNormProtos in src/classify/normmatch.cpp parses the NORMPROTO component of a .traineddata file and uses std::istream::operator>>(char*) to extract a whitespace-delimited token into a fixed 61-byte stack buffer without setting a stream width. The 100-byte line buffer can carry a token of up to 99 characters, so a token longer than 60 characters writes up to 39 attacker-controlled bytes past the buffer during TessBaseAPI::Init of the legacy engine, causing stack corruption, denial of service, and potentially control-flow hijacking on affected standard-library implementations. Builds using Apple's libc++ C++20 bounded array overload are incidentally protected, while typical libstdc++ builds remain affected. No fixed release is available as of this review.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-121"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/88xxx/CVE-2026-88047.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
{
    "cpe":  "cpe:2.3:a:tesseract-ocr:tesseract_ocr:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "5.5.3"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "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-88047.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "329029222728508200905095208855717211976",
            "length":  963
        },
        "id":  "CVE-2026-88047-cb82eb26",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/tesseract-ocr/tesseract/commit/1bda5079b1c8a7e25f523486837426903d29ce84",
        "target":  {
            "file":  "src/classify/normmatch.cpp",
            "function":  "Classify::ReadNormProtos"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "126941287648639225658311374024441800",
                "111950333620953817768797164233463551455",
                "332219386241188096878333664179036615654",
                "266484898962610027508208590732005213603",
                "76935770025804584668438860720970951225",
                "7129262096837672873022927674939605782",
                "210739779053449336586863081834538931352",
                "290106396545092200047301843183097937181"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-88047-d25922bb",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/tesseract-ocr/tesseract/commit/1bda5079b1c8a7e25f523486837426903d29ce84",
        "target":  {
            "file":  "src/classify/normmatch.cpp"
        }
    }
]
vanir_signatures_modified
"2026-09-16T08:09:38Z"