{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "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"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "db0ec62f81b0737fbbe184d8fea40af5738f8eef"
            },
            {
              "fixed": "614e971036d2b95d521057ff63d68d6612429b23"
            },
            {
              "fixed": "7e548e6eff172f38f97664afe7f7ce40db36c8d6"
            }
          ],
          "repo": "https://github.com/tesseract-ocr/tesseract",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-357f-833m-3f83"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-119341",
  "modified": "2026-11-04T02:30:39.962065937Z",
  "published": "2026-10-30T20:24:56.121Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119341.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-357f-833m-3f83"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119341"
    },
    {
      "type": "FIX",
      "url": "https://github.com/tesseract-ocr/tesseract/commit/614e971036d2b95d521057ff63d68d6612429b23"
    },
    {
      "type": "FIX",
      "url": "https://github.com/tesseract-ocr/tesseract/pull/4645"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Tesseract: File-controlled pointers still reach `delete` in ADAPT_CLASS_STRUCT destructor"
}