{"id":"CVE-2026-88052","aliases":["CVE-2026-88052"],"related":[],"kind":"vulnerability","state":"published","title":"Tesseract: Heap out-of-bounds write in UNICHARSET::load_via_fgets via count/insert desynchronization","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-10T17:38:04.675Z","modified":"2026-09-16T16:21:10.677Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-129","CWE-787"],"affected":[{"ranges":[{"version":"<= 5.5.3","status":"affected"}],"vendor":"tesseract-ocr","product":"tesseract","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"5.5.3"}],"vendor":"tesseract-ocr","product":"tesseract_ocr","cpe":"cpe:2.3:a:tesseract-ocr:tesseract_ocr:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-2hm8-q5c7-c373","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/tesseract-ocr/tesseract/commit/2d04d640db2e8c7e3bab2369d599343b5a8b8443","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-11T16:48:33.418Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-88052","url":"https://www.cve.org/CVERecord?id=CVE-2026-88052","licence":"CVE Terms of Use","modified":"2026-09-11T20:33:04.012Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-88052","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-88052","licence":"Public domain","modified":"2026-09-16T16:21:10.677Z"}],"updatedAt":"2026-11-25T22:59:37.885Z","epss":{"score":0.00174,"percentile":0.0404,"date":"2026-11-30T12:00:22.000Z"}}