{"id":"CVE-2022-38266","title":"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.","summary":"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.","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","cwe":["CWE-369","CWE-400"],"vendor":"tesseract-ocr","product":"tesseract_ocr","affected":["tesseract_ocr = 5.0.0","leptonica < 1.80.0","debian_linux = 10.0"],"patched":["leptonica 1.80.0"],"published":"2022-09-09","updated":"2026-09-14","sourceUpdated":"2026-09-14T14:10:44.773","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2022-38266","references":[{"url":"https://github.com/DanBloomberg/leptonica/commit/f062b42c0ea8dddebdc6a152fd16152de215d614","label":"cve@mitre.org"},{"url":"https://github.com/tesseract-ocr/tesseract/issues/3498","label":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00018.html","label":"cve@mitre.org"},{"url":"https://security.gentoo.org/glsa/202312-01","label":"cve@mitre.org"},{"url":"https://github.com/DanBloomberg/leptonica/commit/f062b42c0ea8dddebdc6a152fd16152de215d614","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/tesseract-ocr/tesseract/issues/3498","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00018.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202312-01","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-38266.json"},{"url":"https://access.redhat.com/security/cve/CVE-2022-38266"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2132556"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-38266"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38266"}],"tags":["nvd","csaf","vex","red-hat"],"epss":0.01439,"epssPercentile":0.72007,"ingestedAt":"2026-09-14T14:19:48.712Z","scores":{"nvd":6.5,"vendor":5.5},"slug":"CVE-2022-38266","body":"## Overview\n\nAn 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.\n\n## Affected\n\n- `tesseract_ocr = 5.0.0`\n- `leptonica < 1.80.0`\n- `debian_linux = 10.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `leptonica 1.80.0`\n\n## Vendor advisories\n\n- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · updated 2026-09-15 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-38266.json)","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0.3,"exploitation":0,"ransomware":0},"changes":[]}