{"id":"UBUNTU-CVE-2026-88048","details":"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.","modified":"2026-10-17T13:01:15.057285087Z","published":"2026-09-10T17:17:00Z","related":["USN-8882-1"],"upstream":["CVE-2026-88048"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-88048"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-88048"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8882-1"}],"affected":[{"package":{"name":"tesseract","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/tesseract?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.00~git2288-10f4998a-2ubuntu0.1~esm1"}]}],"versions":["3.04.01-6","3.04.01-6build1","3.04.01-6build2","4.00~git2188-cdc35338-4build1","4.00~git2188-cdc35338-5","4.00~git2207-766b7bd6-3.1","4.00~git2219-40f43111-1.2","4.00~git2288-10f4998a-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libtesseract4","binary_version":"4.00~git2288-10f4998a-2ubuntu0.1~esm1"},{"binary_name":"tesseract-ocr","binary_version":"4.00~git2288-10f4998a-2ubuntu0.1~esm1"},{"binary_version":"4.00~git2288-10f4998a-2ubuntu0.1~esm1","binary_name":"tesseract-ocr-all"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88048.json"}},{"package":{"name":"tesseract","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/tesseract?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.1-2ubuntu0.1~esm1"}]}],"versions":["4.1.0-1","4.1.0-2","4.1.1-1","4.1.1-2","4.1.1-2build1","4.1.1-2build2"],"ecosystem_specific":{"binaries":[{"binary_version":"4.1.1-2ubuntu0.1~esm1","binary_name":"libtesseract4"},{"binary_name":"tesseract-ocr","binary_version":"4.1.1-2ubuntu0.1~esm1"},{"binary_version":"4.1.1-2ubuntu0.1~esm1","binary_name":"tesseract-ocr-all"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88048.json"}},{"package":{"name":"tesseract","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/tesseract?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.1-2.1ubuntu0.1~esm1"}]}],"versions":["4.1.1-2.1","4.1.1-2.1build1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libtesseract4","binary_version":"4.1.1-2.1ubuntu0.1~esm1"},{"binary_version":"4.1.1-2.1ubuntu0.1~esm1","binary_name":"tesseract-ocr"},{"binary_version":"4.1.1-2.1ubuntu0.1~esm1","binary_name":"tesseract-ocr-all"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88048.json"}},{"package":{"name":"tesseract","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/tesseract?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.4-1ubuntu0.1~esm1"}]}],"versions":["5.3.0-2build1","5.3.3-1","5.3.3-1build1","5.3.4-1","5.3.4-1build3","5.3.4-1build4","5.3.4-1build5"],"ecosystem_specific":{"binaries":[{"binary_version":"5.3.4-1ubuntu0.1~esm1","binary_name":"libtesseract5"},{"binary_name":"tesseract-ocr","binary_version":"5.3.4-1ubuntu0.1~esm1"},{"binary_name":"tesseract-ocr-all","binary_version":"5.3.4-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88048.json"}},{"package":{"name":"tesseract","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/tesseract?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.5.0-1build1","5.5.0-1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libtesseract5","binary_version":"5.5.0-1.1"},{"binary_version":"5.5.0-1.1","binary_name":"tesseract-ocr"},{"binary_name":"tesseract-ocr-all","binary_version":"5.5.0-1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88048.json"}},{"package":{"name":"tesseract","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/tesseract?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.0-1ubuntu0.1~esm1"}]}],"versions":["5.5.0-1","5.5.0-1build1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libtesseract5","binary_version":"5.5.0-1ubuntu0.1~esm1"},{"binary_name":"tesseract-ocr","binary_version":"5.5.0-1ubuntu0.1~esm1"},{"binary_name":"tesseract-ocr-all","binary_version":"5.5.0-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88048.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}