{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:leptonica:leptonica:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.80.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1ac72c93fef1a5eb76b76d6723d2aee843dd6e51"
            },
            {
              "fixed": "f062b42c0ea8dddebdc6a152fd16152de215d614"
            }
          ],
          "repo": "https://github.com/danbloomberg/leptonica",
          "type": "GIT"
        }
      ]
    },
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:tesseract_project:tesseract:5.0.0:alpha-20210401:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "5.0.0-alpha\\-20210401"
              },
              {
                "last_affected": "5.0.0-alpha\\-20210401"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "bfe1616b4eef525e4fc30405fc41260f40ffee5e"
            },
            {
              "last_affected": "bfe1616b4eef525e4fc30405fc41260f40ffee5e"
            }
          ],
          "repo": "https://github.com/tesseract-ocr/tesseract",
          "type": "GIT"
        }
      ],
      "versions": [
        "5.0.0-alpha\\-20210401"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38266.json"
  },
  "details": "An issue in the Leptonica linked library (v1.79.0) allows attackers to cause an arithmetic exception leading to a Denial of Service (DoS) via a crafted JPEG file.",
  "id": "CVE-2022-38266",
  "modified": "2026-07-15T01:49:07.311035471Z",
  "published": "2022-09-09T00:00:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38266.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-38266"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.gentoo.org/glsa/202312-01"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/tesseract-ocr/tesseract/issues/3498"
    },
    {
      "type": "FIX",
      "url": "https://github.com/DanBloomberg/leptonica/commit/f062b42c0ea8dddebdc6a152fd16152de215d614"
    },
    {
      "type": "ARTICLE",
      "url": "https://lists.debian.org/debian-lts-announce/2022/12/msg00018.html"
    }
  ],
  "schema_version": "1.8.0"
}