CVE-2026-119341

Source
https://cve.org/CVERecord?id=CVE-2026-119341
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119341.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-119341
Aliases
  • GHSA-357f-833m-3f83
Downstream
Related
Published
2026-10-30T20:24:56Z
Modified
2026-11-04T17:27:21Z
Severity
  • 0.0 (None) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N CVSS Calculator
Summary
Tesseract: File-controlled pointers still reach `delete` in ADAPT_CLASS_STRUCT destructor
Details

Tesseract is an open source OCR engine. Prior to 5.5.4, ReadAdaptedClass in src/classify/adaptive.cpp raw-reads an ADAPT_CLASS_STRUCT from a pre-adapted-template .a file without neutralizing TempProtos and Config pointer fields before any destructor path. When the legacy engine is selected, classify_use_pre_adapted_templates is enabled, and an attacker can write the output-basename .a file, the success or rejection path can pass file-controlled pointers to ~ADAPT_CLASS_STRUCT and operator delete, causing memory corruption and denial of service. This issue is fixed in version 5.5.4.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-763"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119341.json"
}
References

Affected packages

Git / github.com/tesseract-ocr/tesseract

Affected ranges

Type
GIT
Repo
https://github.com/tesseract-ocr/tesseract
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "5.5.3"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "614e971036d2b95d521057ff63d68d6612429b23"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "5.5.4",
            "range": [
                {
                    "fixed": "7e548e6eff172f38f97664afe7f7ce40db36c8d6"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

1.*
1.03
1.04
1.04b
2.*
2.00
2.01
2.02
2.03
2.04
3.*
3.00
3.01
3.02.02
3.03-rc1
3.04.00
3.05.00dev
4.*
4.0.0
4.0.0-alpha
4.0.0-beta.1
4.0.0-beta.3
4.0.0-beta.4
4.0.0-rc3
4.0.0-rc4
4.00.00alpha
4.00.00dev
4.1.0-rc1
5.*
5.0.0
5.0.0-alpha
5.0.0-alpha-20201224
5.0.0-alpha-20201231
5.0.0-alpha-20210401
5.0.0-beta-20210916
5.0.0-rc1
5.0.0-rc2
5.0.0-rc3
5.0.1
5.1.0
5.2.0
5.3.0
5.3.0-rc1
5.3.1
5.3.2
5.3.3
5.3.4
5.4.0
5.4.0-rc1
5.4.0-rc2
5.4.1
5.5.0
5.5.1
5.5.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119341.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "273898509907226057451854702558460984054",
            "length": 1439
        },
        "id": "CVE-2026-119341-49145ee9",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/tesseract-ocr/tesseract/commit/614e971036d2b95d521057ff63d68d6612429b23",
        "target": {
            "file": "src/classify/adaptive.cpp",
            "function": "ReadAdaptedClass"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "180060068731926284688027889238248134331",
                "226603934957122881158476350172229498227",
                "88377863173401880312396837275034242589",
                "59092974860527655362798468160954400988",
                "51268758437977303670884878195044506224",
                "226674105034198610063874680010063751533",
                "82621096893523550289301913369487248101",
                "339697439966397695185178679181426201299",
                "132380161165607083101065258244564071154",
                "233600985817400865759445418717706009797",
                "16541943879058039344174790987137340371",
                "156335427948898957232886505900818184169",
                "265336396078126862585338917957229078598",
                "161267665358514685839370399088512525880",
                "159868625678009897636038070464051947812",
                "118727224893419230154955830848831344607",
                "108311469388410626064724085867134381859",
                "339697439966397695185178679181426201299",
                "132380161165607083101065258244564071154",
                "233600985817400865759445418717706009797",
                "16541943879058039344174790987137340371"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-119341-b4efce22",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/tesseract-ocr/tesseract/commit/614e971036d2b95d521057ff63d68d6612429b23",
        "target": {
            "file": "src/classify/adaptive.cpp"
        }
    }
]
vanir_signatures_modified
"2026-11-04T07:08:02Z"