Use-after-free in tesseract - #VU167574
Published: November 18, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by crashing Tesseract.
The vulnerability exists due to heap use-after-free in PAGE_RES_IT::ReplaceCurrentWord when multilingual LSTM recognition retains a shared input or fuzzy-space combination word alongside newly recognized words, then frees the shared word while replacements still reference it. A remote attacker can trick a user into processing an attacker-chosen image with at least two languages loaded, where one language recognizes no words and another recognizes words, to trigger a crash.