tesseract security update
A commercial quality OCR engine originally developed at HP between 1985 and 1995. In 1995, this engine was among the top 3 evaluated by UNLV. It was open-sourced by HP and UNLV in 2005. Security Fix(es): 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.(CVE-2026-88047) Tesseract is an open source OCR engine. In version 5.5.3 and earlier, FullyConnected::DeSerialize in src/lstm/fullyconnected.cpp does not validate the deserialized layer scalars ni_ and no_ against the weight-matrix dimensions. During FullyConnected::Forward, MatrixDotVector in src/lstm/weightmatrix.cpp writes w.dim1() results into temp_line, which is sized from no_, and reads w.dim2() minus one inputs from curr_input, which is s
OESA-2026-4109
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:OESA-2026-4109
tesseract
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 5.5.3-3.oe2403sp3
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.5.3-3.oe2403sp3"
}
]
}
],
"package": {
"name": "tesseract",
"purl": "pkg:rpm/openEuler/tesseract&distro=openEuler-24.03-LTS-SP3",
"ecosystem": "openEuler:24.03-LTS-SP3"
},
"database_specific": {
"source": "https://repo.openeuler.org/security/data/osv/OESA-2026-4109.json"
},
"ecosystem_specific": {
"src": [
"tesseract-5.5.3-3.oe2403sp3.src.rpm"
],
"x86_64": [
"tesseract-5.5.3-3.oe2403sp3.x86_64.rpm",
"tesseract-debuginfo-5.5.3-3.oe2403sp3.x86_64.rpm",
"tesseract-debugsource-5.5.3-3.oe2403sp3.x86_64.rpm",
"tesseract-devel-5.5.3-3.oe2403sp3.x86_64.rpm",
"tesseract-tools-5.5.3-3.oe2403sp3.x86_64.rpm"
],
"aarch64": [
"tesseract-5.5.3-3.oe2403sp3.aarch64.rpm",
"tesseract-debuginfo-5.5.3-3.oe2403sp3.aarch64.rpm",
"tesseract-debugsource-5.5.3-3.oe2403sp3.aarch64.rpm",
"tesseract-devel-5.5.3-3.oe2403sp3.aarch64.rpm",
"tesseract-tools-5.5.3-3.oe2403sp3.aarch64.rpm"
]
}
}
]Publisher severity
high
Source reference: /database_specific/severity
- Event
- #14715 · Revision 1
- Added to Heist Feed
- Publisher date