Tesseract: File-controlled pointers still reach `delete` in ADAPT_CLASS_STRUCT destructor
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.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Tesseract-ocr | Tesseract Ocr |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.270% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Tesseract-ocr
Tesseract-ocr tesseract Ocr |
|
| Vendors & Products |
Tesseract-ocr
Tesseract-ocr tesseract Ocr |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Tesseract is an open source OCR engine. Prior to 5.5.4, ReadAdaptedClass in src/classify/adaptive.cpp raw-reads an ADAPT_CLASS_STRUCT from a pre-adapted-template .a file without neutralizing TempProtos and Config pointer fields before any destructor path. When the legacy engine is selected, classify_use_pre_adapted_templates is enabled, and an attacker can write the output-basename .a file, the success or rejection path can pass file-controlled pointers to ~ADAPT_CLASS_STRUCT and operator delete, causing memory corruption and denial of service. This issue is fixed in version 5.5.4. | |
| Title | Tesseract: File-controlled pointers still reach `delete` in ADAPT_CLASS_STRUCT destructor | |
| Weaknesses | CWE-763 | |
| References |
| |
| Metrics |
cvssV3_1
|