ubuntu-cve-2026-88053
Vulnerability from osv_ubuntu
Tesseract is an open source OCR engine. In version 5.5.3 and earlier, Classify::ReadIntTemplates in src/classify/intproto.cpp reads NumClassPruners, NumClasses, and NumProtoSets from the TESSDATA_INTTEMP component of a crafted .traineddata file and uses those values as loop bounds without validating them against MAX_NUM_CLASS_PRUNERS, MAX_NUM_CLASSES, and MAX_NUM_PROTO_SETS. The loops store heap pointers into fixed-capacity ClassPruners and ProtoSets arrays in INT_TEMPLATES_STRUCT and INT_CLASS_STRUCT, so an oversized count causes heap out-of-bounds pointer writes during legacy-classifier initialization before OCR begins, resulting in heap corruption, a crash, or potentially controlled corruption. No fixed release is available as of this review.
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtesseract3",
"binary_version": "3.03.02-3"
},
{
"binary_name": "tesseract-ocr",
"binary_version": "3.03.02-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "tesseract",
"purl": "pkg:deb/ubuntu/tesseract@3.03.02-3?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.02.02-1",
"3.03.02-3"
]
},
{
"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"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "tesseract",
"purl": "pkg:deb/ubuntu/tesseract@3.04.01-4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.04.00-5ubuntu1",
"3.04.01-2",
"3.04.01-4"
]
},
{
"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"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "tesseract",
"purl": "pkg:deb/ubuntu/tesseract@4.00~git2288-10f4998a-2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.04.01-6",
"3.04.01-6build1",
"3.04.01-6build2",
"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.1.1-2build2"
},
{
"binary_name": "tesseract-ocr",
"binary_version": "4.1.1-2build2"
},
{
"binary_name": "tesseract-ocr-all",
"binary_version": "4.1.1-2build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "tesseract",
"purl": "pkg:deb/ubuntu/tesseract@4.1.1-2build2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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-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"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "tesseract",
"purl": "pkg:deb/ubuntu/tesseract@4.1.1-2.1build1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.1.1-2.1",
"4.1.1-2.1build1"
]
},
{
"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"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "tesseract",
"purl": "pkg:deb/ubuntu/tesseract@5.3.4-1build5?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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.5.0-1build1"
},
{
"binary_name": "tesseract-ocr",
"binary_version": "5.5.0-1build1"
},
{
"binary_name": "tesseract-ocr-all",
"binary_version": "5.5.0-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "tesseract",
"purl": "pkg:deb/ubuntu/tesseract@5.5.0-1build1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.5.0-1",
"5.5.0-1build1"
]
}
],
"aliases": [],
"details": "Tesseract is an open source OCR engine. In version 5.5.3 and earlier, Classify::ReadIntTemplates in src/classify/intproto.cpp reads NumClassPruners, NumClasses, and NumProtoSets from the TESSDATA_INTTEMP component of a crafted .traineddata file and uses those values as loop bounds without validating them against MAX_NUM_CLASS_PRUNERS, MAX_NUM_CLASSES, and MAX_NUM_PROTO_SETS. The loops store heap pointers into fixed-capacity ClassPruners and ProtoSets arrays in INT_TEMPLATES_STRUCT and INT_CLASS_STRUCT, so an oversized count causes heap out-of-bounds pointer writes during legacy-classifier initialization before OCR begins, resulting in heap corruption, a crash, or potentially controlled corruption. No fixed release is available as of this review.",
"id": "UBUNTU-CVE-2026-88053",
"modified": "2026-09-16T11:43:12Z",
"published": "2026-09-10T18:18:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-88053"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-88053"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-88053"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.