USN-9221-1

Source
https://ubuntu.com/security/notices/USN-9221-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9221-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-9221-1
Upstream
CVE (4)
Related
Published
2026-11-30T17:36:36Z
Modified
2026-12-02T02:28:53Z
Summary
tesseract vulnerabilities
Details

It was discovered that Tesseract incorrectly handled certain internal string operations during character recognition. An attacker could use a crafted input to cause a use-after-free and denial of service. This issue only affects Ubuntu 22.04 LTS. (CVE-2021-36081)

It was discovered that Tesseract incorrectly handled certain model files with unsupported weight matrix formats. An attacker could use a crafted model file to cause Tesseract to abort, resulting in a denial of service. This issue only affects Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-119339)

It was discovered that Tesseract did not properly validate matrix dimensions when loading model files. An attacker could use a crafted model file to cause out-of-bounds memory access, resulting in a denial of service. (CVE-2026-119340)

It was discovered that Tesseract did not properly initialize internal data structures when loading template files. An attacker could use a crafted template file to cause memory corruption, resulting in a denial of service. (CVE-2026-119341)

References

Affected packages

Ubuntu:Pro:22.04:LTS / tesseract

Package

Name
tesseract
Purl
pkg:deb/ubuntu/tesseract?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.1.1-2.1ubuntu0.1~esm2

Affected versions

4.*
4.1.1-2.1
4.1.1-2.1build1
4.1.1-2.1ubuntu0.1~esm1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "libtesseract4",
            "binary_version":  "4.1.1-2.1ubuntu0.1~esm2"
        },
        {
            "binary_name":  "tesseract-ocr",
            "binary_version":  "4.1.1-2.1ubuntu0.1~esm2"
        },
        {
            "binary_name":  "tesseract-ocr-all",
            "binary_version":  "4.1.1-2.1ubuntu0.1~esm2"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2021-36081",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                    "source":  "NVD",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-119340",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-119341",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:Pro:22.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9221-1.json"

Ubuntu:Pro:24.04:LTS / tesseract

Package

Name
tesseract
Purl
pkg:deb/ubuntu/tesseract?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.3.4-1ubuntu0.1~esm2

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
5.3.4-1ubuntu0.1~esm1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "libtesseract5",
            "binary_version":  "5.3.4-1ubuntu0.1~esm2"
        },
        {
            "binary_name":  "tesseract-ocr",
            "binary_version":  "5.3.4-1ubuntu0.1~esm2"
        },
        {
            "binary_name":  "tesseract-ocr-all",
            "binary_version":  "5.3.4-1ubuntu0.1~esm2"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2026-119339",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-119340",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-119341",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:Pro:24.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9221-1.json"

Ubuntu:Pro:26.04:LTS / tesseract

Package

Name
tesseract
Purl
pkg:deb/ubuntu/tesseract?arch=source&distro=esm-apps%2Fresolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.5.0-1ubuntu0.1~esm2

Affected versions

5.*
5.5.0-1
5.5.0-1build1
5.5.0-1ubuntu0.1~esm1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "libtesseract5",
            "binary_version":  "5.5.0-1ubuntu0.1~esm2"
        },
        {
            "binary_name":  "tesseract-ocr",
            "binary_version":  "5.5.0-1ubuntu0.1~esm2"
        },
        {
            "binary_name":  "tesseract-ocr-all",
            "binary_version":  "5.5.0-1ubuntu0.1~esm2"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2026-119339",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-119340",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-119341",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:Pro:26.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9221-1.json"