CVE catalog

CVE-2026-88050

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, RecodedCharID::DeSerialize in src/ccutil/unicharcompress.h validates length_ but accepts negative code_ values from a crafted .tra

[CVE catalog]

Severity
High · CVSS 8.6CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.15% · Oct 25, 2026

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, RecodedCharID::DeSerialize in src/ccutil/unicharcompress.h validates length_ but accepts negative code_ values from a crafted .traineddata recoder component. UnicharCompress::ComputeCodeRange in src/ccutil/unicharcompress.cpp can consequently produce code_range_ equal to zero, after which SetupDecoder indexes is_valid_start_ with the negative code on a size-zero vector. The resulting out-of-bounds bit write uses a large wrapped index and reliably causes a wild-address crash or allocation failure on the default LSTM engine. No fixed release is available as of this review.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiantesseractsid5.5.0-1.1vulnerable
Debiantesseractforky5.5.0-1.1vulnerable
Debiantesseracttrixie5.5.0-1vulnerable
Debiantesseractbookworm5.3.0-2vulnerable
Cpetesseract_ocrNot reportedNot reportedunknown
Ubuntutesseractnoble5.3.4-1ubuntu0.1~esm1fixed
Ubuntulibtesseract-devnoble5.3.4-1ubuntu0.1~esm1fixed
Ubuntulibtesseract5noble5.3.4-1ubuntu0.1~esm1fixed
Ubuntutesseract-ocrnoble5.3.4-1ubuntu0.1~esm1fixed
Ubuntutesseract-ocr-allnoble5.3.4-1ubuntu0.1~esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiantesseractsourcesid(unfixed)not yet assignedNot reported[1147403]
Debiantesseractsourceforky(unfixed)not yet assignedNot reported[1147403]
Debiantesseractsourcetrixie(unfixed)not yet assignedNot reported[1147403]
Debiantesseractsourcebookworm(unfixed)not yet assignedNot reported[1147403]
Ubuntutesseractdebnoble5.3.4-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntulibtesseract-devdebnoble5.3.4-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntulibtesseract5debnoble5.3.4-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntutesseract-ocrdebnoble5.3.4-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntutesseract-ocr-alldebnoble5.3.4-1ubuntu0.1~esm1Not reportedNot reportedNot reported

[Debian bug #1147403]

Notes

[trixie] tesseract: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libtesseract5]Affected

    Source package: [tesseract]

    Details (2)
    • 5.3.0-2 · amd64 · bookworm

      Affected

      nvd · tesseract · debian · bookworm; nvd · tesseract · debian · 12

    • 5.3.0-2 · arm64 · bookworm

      Affected

      nvd · tesseract · debian · bookworm; nvd · tesseract · debian · 12

  • Source package: [tesseract]

    Details (2)
    • 5.3.0-2 · amd64 · bookworm

      Affected

      nvd · tesseract · debian · bookworm; nvd · tesseract · debian · 12

    • 5.3.0-2 · arm64 · bookworm

      Affected

      nvd · tesseract · debian · bookworm; nvd · tesseract · debian · 12

  • [tesseract-ocr]Affected

    Source package: [tesseract]

    Details (2)
    • 5.3.0-2 · amd64 · bookworm

      Affected

      nvd · tesseract · debian · bookworm; nvd · tesseract · debian · 12

    • 5.3.0-2 · arm64 · bookworm

      Affected

      nvd · tesseract · debian · bookworm; nvd · tesseract · debian · 12

  • Source package: [tesseract]

    Details (2)
    • 5.3.0-2 · all · bookworm

      Affected

      nvd · tesseract · debian · bookworm; nvd · tesseract · debian · 12

    • 5.3.0-2 · all · bookworm

      Affected

      nvd · tesseract · debian · bookworm; nvd · tesseract · debian · 12

[Debian 13 (Trixie)]

  • [libtesseract5]Affected

    Source package: [tesseract]

    Details (2)
    • 5.5.0-1+b1 · amd64 · trixie

      Affected

      nvd · tesseract · debian · 13

    • 5.5.0-1+b1 · arm64 · trixie

      Affected

      nvd · tesseract · debian · 13

  • Source package: [tesseract]

    Details (2)
    • 5.5.0-1+b1 · amd64 · trixie

      Affected

      nvd · tesseract · debian · 13

    • 5.5.0-1+b1 · arm64 · trixie

      Affected

      nvd · tesseract · debian · 13

  • [tesseract-ocr]Affected

    Source package: [tesseract]

    Details (2)
    • 5.5.0-1+b1 · amd64 · trixie

      Affected

      nvd · tesseract · debian · 13

    • 5.5.0-1+b1 · arm64 · trixie

      Affected

      nvd · tesseract · debian · 13

  • Source package: [tesseract]

    Details (2)
    • 5.5.0-1 · all · trixie

      Affected

      nvd · tesseract · debian · 13

    • 5.5.0-1 · all · trixie

      Affected

      nvd · tesseract · debian · 13

Observed:

References