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)
{
"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"
}
]
}
{
"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"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9221-1.json"
{
"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"
}
]
}
{
"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"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9221-1.json"
{
"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"
}
]
}
{
"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"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9221-1.json"