Bug 2531778

Summary: CVE-2026-88052 tesseract: Tesseract: Heap out-of-bounds write can lead to arbitrary code execution [fedora-all]
Product: [Fedora] Fedora Reporter: Vladimir Vasilev <vvasilev>
Component: tesseractAssignee: Sandro Mani <manisandro>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: epel-packagers-sig, karlikt, manisandro
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["1f4dd5f2-e6de-40a0-ac02-914333cad3c9"]}
Fixed In Version: tesseract-5.5.3-2.fc45 tesseract-5.5.3-2.fc43 tesseract-5.5.3-2.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-09-26 00:16:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2531579    

Description Vladimir Vasilev 2026-09-11 07:40:57 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, UNICHARSET::load_via_fgets in src/ccutil/unicharset.cpp trusts the declared unichar count as a loop bound and uses id as an unchecked index into the unichars vector. unichar_insert_backwards_compatible can leave the vector unchanged for an empty, duplicate, or already-encodable representation, causing id to become larger than unichars.size(). Subsequent set_* calls and the write to unichars[id].properties.enabled then write UNICHAR_PROPERTIES beyond the vector during initialization in both the default LSTM and legacy engines, causing heap corruption, a crash, or potentially controlled corruption. No fixed release is available as of this review.

Comment 1 Fedora Update System 2026-09-21 09:15:54 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:16:15 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-22 01:35:01 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 4 Fedora Update System 2026-09-22 01:56:10 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 5 Fedora Update System 2026-09-22 02:20:46 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 6 Fedora Update System 2026-09-26 00:16:31 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 7 Fedora Update System 2026-10-07 01:08:05 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 8 Fedora Update System 2026-10-07 01:38:37 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.