CVE-2026-119339: 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

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 FASTFLOAT builds, DeSerializeOld invokes ASSERTHOST 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.

Other sources

Tesseract: Crafted LSTM model (WeightMatrix mode byte) triggers ASSERTHOST abort in WeightMatrix::DeSerializeOld under FASTFLOAT — Denial of Service

— Microsoft

Affected Software

13 affected componentsFixes available
debian/tesseract*
debian/tesseract*
debian/tesseract<5.5.4-1
5.5.4-1
debian/tesseract<=5.3.0-2, <=5.5.0-1
5.5.4-1
All of the following
azurelinux/tesseract<0:5.5.4-8.azl4
0:5.5.4-8.azl4
Microsoft Azure Linux=4.0
ubuntu/tesseract*
ubuntu/tesseract*
ubuntu/tesseract*
ubuntu/tesseract*
ubuntu/tesseract*
ubuntu/tesseract*
ubuntu/tesseract*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/tesseract to a version that resolves this vulnerability.

    Fixed in 5.5.4-1
  2. Upgrade

    Upgrade azurelinux/tesseract to a version that resolves this vulnerability.

    Fixed in 0:5.5.4-8.azl4
  3. Upgrade

    Upgrade tesseract to a version that resolves this vulnerability.

    Fixed in 5.5.4

Event History

Oct 30, 2026
CVE Published
via MITRE·08:13 PM
Data Sourced
via MITRE·08:13 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeakness
Oct 31, 2026
Data Sourced
via OSV·07:00 PM
Affected Software
Nov 14, 2026
Data Sourced
via Microsoft·04:57 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·04:57 AM
Affected Software
Updated
via OSV·05:00 PM
Affected Software
Nov 25, 2026
Updated
via OSV·09:31 PM
Affected Software

Frequently Asked Questions

1

Which deployments are most likely to be exposed?

Deployments using Tesseract versions before 5.5.4 that load traineddata LSTM networks are affected. Default FAST_FLOAT builds are specifically vulnerable because the malformed mode byte reaches an ASSERT_HOST abort.

2

What must an attacker be able to do to trigger the denial of service?

An attacker needs to cause the application to load a crafted traineddata LSTM model through TessBaseAPI::Init. The issue is triggered by a malicious WeightMatrix mode byte in that model, rather than by OCR input alone.

3

How can I determine whether my application is potentially affected?

It is potentially affected if it uses Tesseract earlier than 5.5.4, is built with FAST_FLOAT, and accepts or loads traineddata models from an untrusted source. A successful trigger terminates the process during model initialization.

4

What is the available remediation?

Upgrade Tesseract to version 5.5.4, which fixes the issue. Until upgraded, avoid loading untrusted traineddata LSTM models.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203