UBUNTU-CVE-2026-119341: Low severity ubuntu/tesseract vulnerability

Published Nov 3, 2026
·
Updated

Tesseract is an open source OCR engine. Prior to 5.5.4, ReadAdaptedClass in src/classify/adaptive.cpp raw-reads an ADAPTCLASSSTRUCT from a pre-adapted-template .a file without neutralizing TempProtos and Config pointer fields before any destructor path. When the legacy engine is selected, classifyusepreadaptedtemplates is enabled, and an attacker can write the output-basename .a file, the success or rejection path can pass file-controlled pointers to ~ADAPTCLASSSTRUCT and operator delete, causing memory corruption and denial of service. This issue is fixed in version 5.5.4.

Affected Software

8 affected components
ubuntu/tesseract*
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 Tesseract to a version that resolves this vulnerability.

    Fixed in 5.5.4

Event History

Nov 3, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What conditions must be met for exploitation?

The legacy engine must be selected, classify_use_pre_adapted_templates must be enabled, and the attacker must be able to write the output-basename .a pre-adapted-template file. The vulnerable code then reads attacker-controlled pointer fields that may be used during cleanup.

2

Are default deployments affected?

The issue requires use of the legacy engine and enabled pre-adapted templates, so systems not using that combination are not exposed through the described path.

3

What is the impact if exploitation succeeds?

File-controlled pointers can reach ~ADAPT_CLASS_STRUCT and operator delete, causing memory corruption and denial of service. The provided data does not claim confidentiality or integrity impact.

4

What can be done if upgrading is not immediately possible?

Prevent untrusted parties from writing the output-basename .a file, and avoid the affected combination of the legacy engine with classify_use_pre_adapted_templates enabled.

5

How can I determine whether a system is vulnerable?

Check whether Tesseract is older than 5.5.4 and whether it uses the legacy engine with classify_use_pre_adapted_templates enabled. Also determine whether an untrusted actor can write the output-basename .a file.

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