Tesseract: Heap out-of-bounds write in GenericVector<T>::read due to independent reserved/size_used_ fields
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| tesseract-ocr | tesseract | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Tesseract Project | Tesseract |
|
| Source | ID | Title |
|---|---|---|
Ubuntu USN |
USN-8882-1 | Tesseract vulnerabilities |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.167% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Tesseract-ocr
Tesseract-ocr tesseract Ocr |
|
| CPEs | cpe:2.3:a:tesseract-ocr:tesseract_ocr:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Tesseract-ocr
Tesseract-ocr tesseract Ocr |
|
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Tesseract Project
Tesseract Project tesseract |
|
| Vendors & Products |
Tesseract Project
Tesseract Project tesseract |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Tesseract is an open source OCR engine. In version 5.5.3 and earlier, the callback form of GenericVector::read in src/ccutil/genericvector.h reads the independent int32 fields reserved and size_used_ from a .traineddata model without a cap or an invariant check. reserve(reserved) allocates the backing array, but the callback loop writes size_used_ elements. A crafted TESSDATA_INTTEMP component with version_id 4 or later can therefore set reserved to a small value and size_used_ to a large value when fontinfo_table_.read(fp, read_info) is called from src/classify/intproto.cpp, causing a heap out-of-bounds write of FontInfo structures, heap corruption, a crash, or potentially controlled corruption. No fixed release is available as of this review. | |
| Title | Tesseract: Heap out-of-bounds write in GenericVector<T>::read due to independent reserved/size_used_ fields | |
| Weaknesses | CWE-787 | |
| References |
| |
| Metrics |
cvssV4_0
|