CVE-2026-119340
Last modified
CVE-2026-119340 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. Tesseract is an open source OCR engine. Prior to 5.5.4, GENERIC_2D_ARRAY::DeSerializeSize in src/ccstruct/matrix.h reads matrix dimensions as signed int32_t values and compares them only with UINT16_MAX, allowing negative values to reach ResizeNoInit.
Description
Tesseract is an open source OCR engine. Prior to 5.5.4, GENERIC_2D_ARRAY::DeSerializeSize in src/ccstruct/matrix.h reads matrix dimensions as signed int32_t values and compares them only with UINT16_MAX, allowing negative values to reach ResizeNoInit. Negative dimensions or a 65535 by 65535 product can create inconsistent allocation state and later out-of-bounds accesses while loading a crafted traineddata file, causing denial of service. This issue is fixed in version 5.5.4.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| tesseract-ocr | tesseract | < 5.5.4 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-119340?
How severe is CVE-2026-119340?
How do I fix CVE-2026-119340?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-119335Pi-hole is a DNS sinkhole that protects devices from unwante…7.8
- CVE-2026-119336Pi-hole is a DNS sinkhole that protects devices from unwante…7.8
- CVE-2026-119337RAGFlow is an open-source RAG (Retrieval-Augmented Generatio…7.1
- CVE-2026-119338Tesseract is an open source OCR engine. From 5.4.0 until 5.5…6.9
- CVE-2026-119339Tesseract is an open source OCR engine. Prior to 5.5.4, Weig…5.5
- CVE-2026-11934IBM Verify Identity Access could allow an administrator to e…7.2
- CVE-2026-119341Tesseract is an open source OCR engine. Prior to 5.5.4, Read…0
- CVE-2026-119342Stirling-PDF is a locally hosted web application that facili…5.3
- CVE-2026-119343Stirling-PDF is a locally hosted web application that facili…6.8
- CVE-2026-11936IBM Security Verify Access 10.0 through 10.0.9.2 and IBM Ver…5.4
- CVE-2026-119364ProFTPD through 1.3.9e and 1.3.10rc1 through 1.3.10rc4 conta…5.3
- CVE-2026-119365Improper Neutralization of Input During Web Page Generation …6.5
Are you affected by CVE-2026-119340?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
