Tesseract: Heap OOB read in the DAWG loader
cve-program · CVE-2026-73067
PublishedTesseract 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-73067 · CVE overview and exploitation status
cve-program · CVE-2026-73067
- 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
Related changes
Linked by CVE identifierNo related changes are available here.