UBUNTU-CVE-2026-88047

Source
https://ubuntu.com/security/CVE-2026-88047
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88047.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-88047
Upstream
Published
2026-09-10T17:17:00Z
Modified
2026-09-16T14:02:39Z
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
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:14.04:LTS
tesseract

Package

Name
tesseract
Purl
pkg:deb/ubuntu/tesseract?arch=source&distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.02.02-1
3.03.02-3

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libtesseract3",
            "binary_version":  "3.03.02-3"
        },
        {
            "binary_name":  "tesseract-ocr",
            "binary_version":  "3.03.02-3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88047.json"
Ubuntu:16.04:LTS
tesseract

Package

Name
tesseract
Purl
pkg:deb/ubuntu/tesseract?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.04.00-5ubuntu1
3.04.01-2
3.04.01-4

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libtesseract3",
            "binary_version":  "3.04.01-4"
        },
        {
            "binary_name":  "tesseract-ocr",
            "binary_version":  "3.04.01-4"
        },
        {
            "binary_name":  "tesseract-ocr-all",
            "binary_version":  "3.04.01-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88047.json"
Ubuntu:18.04:LTS
tesseract

Package

Name
tesseract
Purl
pkg:deb/ubuntu/tesseract?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.04.01-6
3.04.01-6build1
3.04.01-6build2
4.*
4.00~git2188-cdc35338-4build1
4.00~git2188-cdc35338-5
4.00~git2207-766b7bd6-3.1
4.00~git2219-40f43111-1.2
4.00~git2288-10f4998a-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libtesseract4",
            "binary_version":  "4.00~git2288-10f4998a-2"
        },
        {
            "binary_name":  "tesseract-ocr",
            "binary_version":  "4.00~git2288-10f4998a-2"
        },
        {
            "binary_name":  "tesseract-ocr-all",
            "binary_version":  "4.00~git2288-10f4998a-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88047.json"
Ubuntu:20.04:LTS
tesseract

Package

Name
tesseract
Purl
pkg:deb/ubuntu/tesseract?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.1.0-1
4.1.0-2
4.1.1-1
4.1.1-2
4.1.1-2build1
4.1.1-2build2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libtesseract4",
            "binary_version":  "4.1.1-2build2"
        },
        {
            "binary_name":  "tesseract-ocr",
            "binary_version":  "4.1.1-2build2"
        },
        {
            "binary_name":  "tesseract-ocr-all",
            "binary_version":  "4.1.1-2build2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88047.json"
Ubuntu:22.04:LTS
tesseract

Package

Name
tesseract
Purl
pkg:deb/ubuntu/tesseract?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.1.1-2.1
4.1.1-2.1build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libtesseract4",
            "binary_version":  "4.1.1-2.1build1"
        },
        {
            "binary_name":  "tesseract-ocr",
            "binary_version":  "4.1.1-2.1build1"
        },
        {
            "binary_name":  "tesseract-ocr-all",
            "binary_version":  "4.1.1-2.1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88047.json"
Ubuntu:24.04:LTS
tesseract

Package

Name
tesseract
Purl
pkg:deb/ubuntu/tesseract?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.3.0-2build1
5.3.3-1
5.3.3-1build1
5.3.4-1
5.3.4-1build3
5.3.4-1build4
5.3.4-1build5

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libtesseract5",
            "binary_version":  "5.3.4-1build5"
        },
        {
            "binary_name":  "tesseract-ocr",
            "binary_version":  "5.3.4-1build5"
        },
        {
            "binary_name":  "tesseract-ocr-all",
            "binary_version":  "5.3.4-1build5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88047.json"
Ubuntu:26.04:LTS
tesseract

Package

Name
tesseract
Purl
pkg:deb/ubuntu/tesseract?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.5.0-1
5.5.0-1build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libtesseract5",
            "binary_version":  "5.5.0-1build1"
        },
        {
            "binary_name":  "tesseract-ocr",
            "binary_version":  "5.5.0-1build1"
        },
        {
            "binary_name":  "tesseract-ocr-all",
            "binary_version":  "5.5.0-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88047.json"