Tesseract: File-controlled pointers still reach `delete` in ADAPT_CLASS_STRUCT destructor

Summary

CVECVE-2026-119341
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-30 21:16:52 UTC
Updated2026-11-02 19:14:53 UTC
DescriptionTesseract 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.

Risk And Classification

Primary CVSS: v3.1 0 NONE from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N

EPSS: 0.002700000 probability, percentile 0.192230000 (date 2026-11-02)

Problem Types: CWE-763 | CWE-763 CWE-763: Release of Invalid Pointer or Reference


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary0NONECVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
3.1CNADECLARED0NONECVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Tesseract-ocr Tesseract affected < 5.5.3 Not specified

References

ReferenceSourceLinkTags
github.com/tesseract-ocr/tesseract/releases/tag/5.5.4 [email protected] github.com
github.com/tesseract-ocr/tesseract/security/advisories/GHSA-357f-833m-3f83 134c704f-9b21-4f2e-91b3-4a467353bcc0 github.com
github.com/tesseract-ocr/tesseract/pull/4645 [email protected] github.com
github.com/tesseract-ocr/tesseract/commit/614e971036d2b95d521057ff63d68d... [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report