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-adapt...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTStesseract |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTStesseract |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTStesseract |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTStesseract |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTStesseract |
< 4.1.1-2.1ubuntu0.1~esm2→ 4.1.1-2.1ubuntu0.1~esm2 |
4.1.1-2.1ubuntu0.1~esm2 |
| Ubuntu:Pro:24.04:LTStesseract |
< 5.3.4-1ubuntu0.1~esm2→ 5.3.4-1ubuntu0.1~esm2 |
5.3.4-1ubuntu0.1~esm2 |
| Ubuntu:26.10tesseract |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:26.04:LTStesseract |
< 5.5.0-1ubuntu0.1~esm2→ 5.5.0-1ubuntu0.1~esm2 |
5.5.0-1ubuntu0.1~esm2 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report github.com
- report github.com
- report github.com
- report github.com