Description (CNA)
Tesseract is an open source OCR engine. Prior to 5.5.3, a crafted .traineddata model loaded through TessBaseAPI::Init can cause SquishedDawg::read_squished_dawg in src/dict/dawg.cpp to accept an unterminated forward-edge run, after which SquishedDawg::Load calls num_forward_edges(0) and last_edge in src/dict/dawg.h reads beyond edges_, causing a heap out-of-bounds read and process crash before image processing. This issue is fixed in version 5.5.3.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| tesseract-ocr / tesseract | affected < 5.5.3 |
CWE
CWE-125
References
- https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-x3vq-7rr7-5x3h
- https://github.com/tesseract-ocr/tesseract/issues/4580
- https://github.com/tesseract-ocr/tesseract/pull/4581
- https://github.com/tesseract-ocr/tesseract/commit/55287a94b8044c05ce3fd10f5aca6ebbd238e518
- https://github.com/tesseract-ocr/tesseract/commit/82727cc11c34eaf1249af002d69f6bbae70993b9
- https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.3
ADP enrichment
No English description supplied.
No references supplied.