Описание
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.
A flaw was found in Tesseract, an open-source Optical Character Recognition (OCR) engine. A remote attacker could exploit this vulnerability by providing a specially crafted .traineddata model. When this malicious model is loaded, it can cause the software to read beyond its allocated memory, leading to a process crash. This results in a denial of service, making the Tesseract application unavailable.
Отчет
A flaw was found in Tesseract, an open-source Optical Character Recognition (OCR) engine. A heap out-of-bounds read in the DAWG dictionary loader can be triggered by a specially crafted .traineddata model file, causing the Tesseract process to crash. This issue requires a user to load an untrusted model file, limiting the attack surface.
Меры по смягчению последствий
Only use .traineddata model files obtained from trusted sources. Do not load model files from untrusted or unknown origins.
Ссылки на источники
Дополнительная информация
Статус:
5.5 Medium
CVSS3
Связанные уязвимости
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.
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.
Tesseract is an open source OCR engine. Prior to 5.5.3, a crafted .tra ...
5.5 Medium
CVSS3