Bug 2531773 - CVE-2026-88047 tesseract: Tesseract: Stack buffer overflow via crafted .traineddata file [fedora-all]
Summary: CVE-2026-88047 tesseract: Tesseract: Stack buffer overflow via crafted .train...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tesseract
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["aeb6c027-ff62-4ace-9d90-e...
Depends On:
Blocks: CVE-2026-88047
TreeView+ depends on / blocked
 
Reported: 2026-09-11 07:40 UTC by Vladimir Vasilev
Modified: 2026-10-07 01:38 UTC (History)
3 users (show)

Fixed In Version: tesseract-5.5.3-2.fc45 tesseract-5.5.3-2.fc43 tesseract-5.5.3-2.fc44
Clone Of:
Environment:
Last Closed: 2026-09-26 00:16:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-09-11 07:40:08 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, Classify::ReadNormProtos in src/classify/normmatch.cpp parses the NORMPROTO component of a .traineddata file and uses std::istream::operator>>(char*) to extract a whitespace-delimited token into a fixed 61-byte stack buffer without setting a stream width. The 100-byte line buffer can carry a token of up to 99 characters, so a token longer than 60 characters writes up to 39 attacker-controlled bytes past the buffer during TessBaseAPI::Init of the legacy engine, causing stack corruption, denial of service, and potentially control-flow hijacking on affected standard-library implementations. Builds using Apple's libc++ C++20 bounded array overload are incidentally protected, while typical libstdc++ builds remain affected. No fixed release is available as of this review.

Comment 1 Fedora Update System 2026-09-21 09:15:37 UTC
FEDORA-2026-e3bf7f4ecb (tesseract-5.5.3-2.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e3bf7f4ecb

Comment 2 Fedora Update System 2026-09-21 09:15:39 UTC
FEDORA-2026-4585aba520 (tesseract-5.5.3-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-4585aba520

Comment 3 Fedora Update System 2026-09-21 09:15:42 UTC
FEDORA-2026-fc27f09459 (tesseract-5.5.3-2.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-fc27f09459

Comment 4 Fedora Update System 2026-09-22 01:34:49 UTC
FEDORA-2026-e3bf7f4ecb has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-e3bf7f4ecb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-e3bf7f4ecb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-09-22 01:55:59 UTC
FEDORA-2026-fc27f09459 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-fc27f09459`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-fc27f09459

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-09-22 02:20:36 UTC
FEDORA-2026-4585aba520 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-4585aba520`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-4585aba520

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-09-26 00:16:15 UTC
FEDORA-2026-e3bf7f4ecb (tesseract-5.5.3-2.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-10-07 01:07:53 UTC
FEDORA-2026-4585aba520 (tesseract-5.5.3-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2026-10-07 01:38:27 UTC
FEDORA-2026-fc27f09459 (tesseract-5.5.3-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.