Fedora Account System
Red Hat Associate
Red Hat Customer
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 sized from ni_. A crafted .traineddata NT_SOFTMAX layer can therefore use inconsistent dimensions to cause a heap out-of-bounds write and read on the default LSTM engine, resulting in heap corruption, a crash, information disclosure, or potentially controlled corruption. No fixed release is available as of this review.
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2026:95085 https://access.redhat.com/errata/RHSA-2026:95085
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2026:95086 https://access.redhat.com/errata/RHSA-2026:95086
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2026:95725 https://access.redhat.com/errata/RHSA-2026:95725
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On Via RHSA-2026:96239 https://access.redhat.com/errata/RHSA-2026:96239
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Red Hat Enterprise Linux 8.8 Telecommunications Update Service Via RHSA-2026:96238 https://access.redhat.com/errata/RHSA-2026:96238
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2026:98624 https://access.redhat.com/errata/RHSA-2026:98624
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2026:98514 https://access.redhat.com/errata/RHSA-2026:98514