Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-119339 EUVD-2026-114447

Tesseract: Crafted LSTM model (`WeightMatrix` mode byte) triggers `ASSERT_HOST` abort in `WeightMatrix::DeSerializeOld` under `FAST_FLOAT` — Denial of Service

Published Oct 30, 2026 · Updated Oct 30, 2026 · Assigned by GitHub_M

Description

Tesseract is an open source OCR engine. Prior to 5.5.4, WeightMatrix::DeSerialize trusts a mode byte from a traineddata LSTM network and calls WeightMatrix::DeSerializeOld when kDoubleFlag is clear. In default FAST_FLOAT builds, DeSerializeOld invokes ASSERT_HOST instead of returning an error, so loading a crafted model through TessBaseAPI::Init terminates the process and causes denial of service. This issue is fixed in version 5.5.4.

Affected products

VendorProductAffectedFixed
tesseract-ocr tesseract < 5.5.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 tesseract No fix yet —
Debian 13 tesseract No fix yet —
Debian 12 tesseract No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 tesseract No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS tesseract No fix yet —
Ubuntu Pro 24.04 LTS tesseract No fix yet —
Ubuntu Pro 22.04 LTS tesseract No fix yet —
Ubuntu Pro 20.04 LTS tesseract No fix yet —
Ubuntu Pro 18.04 LTS tesseract No fix yet —
Ubuntu Pro 16.04 LTS tesseract No fix yet —
Ubuntu Pro 14.04 LTS tesseract No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed tesseract-ocr 5.5.4-2.1 openSUSE-SU-2026:12411-1

Advisories 1

References