Sårbarheter

CVE-2026-88052

Høy 7.8 CVSS 3.1

Beskrivelse

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.

Beskrivelsen gjengis slik kilden har publisert den, på engelsk.

Nøkkelfakta

Publisert
2026-09-10
Sist endret
2026-09-16
Tildelt av
security-advisories@github.com
CVSS-vektor
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scoret av
security-advisories@github.com
Rettelse finnes
Ja, se referansene

Berørte produkter

Leverandør Produkt Versjoner Status
Tesseract-ocr Tesseract Ocr ≤ 5.5.3 Berørt

Svakhetstype

  • CWE-129: Improper Validation of Array Index

    The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.

  • CWE-787: Out-of-bounds Write

    The product writes data past the end, or before the beginning, of the intended buffer.

Referanser

Berører dette dere?

En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.

Sjekk aktivalisten deres Bla i alle sårbarheter