Tesseract published version 5.5.4 of its optical character recognition software with fixes for memory safety, model validation and excessive processing time. Its GitHub release page displays October 28 at 11:19 without a year or timezone. Sources: Tesseract
Two upstream advisories describe high-severity flaws in legacy-engine model loading, each rated 8.6 and patched in 5.5.4. Untrusted.traineddata models can trigger a stack buffer overflow or writes beyond a heap allocation. According to the stack-overflow advisory, typical libstdc++ builds are affected, while Apple libc++ in C++20 mode provides incidental protection against that flaw. Sources: Tesseract
The release adds checks for malformed array dimensions, invalid model values and UTF-8 bounds. Other fixes address use-after-free errors in multilingual recognition, memory errors in right-to-left PAGE XML output and timeout limits for seam searches. Sources: Tesseract
Mageia issued a security update for Mageia 10 on October 7, 2026, applying upstream patches to tesseract-5.5.3-1.mga10. Those backports mean an older version number alone does not establish whether a distribution package lacks fixes. Sources: Mageia
What to do
- Upgrade to Tesseract 5.5.4 or verify that your vendor provides equivalent patches for the model-loading flaws.
- Restrict.traineddata models to trusted sources as a workaround for the two legacy-engine flaws patched in Tesseract 5.5.4.
- Regression-test custom models, multilingual recognition and right-to-left PAGE XML output before deploying Tesseract 5.5.4. Sources: Tesseract, Mageia