CVE catalog

CVE-2026-88051

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, the callback form of GenericVector::read in src/ccutil/genericvector.h reads the independent int32 fields reserved and size_used_

[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.17% · Oct 25, 2026

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, the callback form of GenericVector::read in src/ccutil/genericvector.h reads the independent int32 fields reserved and size_used_ from a .traineddata model without a cap or an invariant check. reserve(reserved) allocates the backing array, but the callback loop writes size_used_ elements. A crafted TESSDATA_INTTEMP component with version_id 4 or later can therefore set reserved to a small value and size_used_ to a large value when fontinfo_table_.read(fp, read_info) is called from src/classify/intproto.cpp, causing a heap out-of-bounds write of FontInfo structures, heap corruption, a crash, or potentially controlled corruption. 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