What’s Vulnerable › Vulnerabilities
CVE-2022-38266
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-09-09 · updated 2026-09-14
- Weakness: CWE-369
Description
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.
Affected products
- Debian Linux: 10.0
- Leptonica: before 1.80.0 — fixed in 1.80.0
- tesseract-ocr tesseract: 5.0.0-alpha-20210401
How to fix
Upgrade to a fixed version: Leptonica 1.80.0. Check the vendor advisory for mitigations.
References
- https://github.com/DanBloomberg/leptonica/commit/f062b42c0ea8dddebdc6a152fd16152de215d614
- https://github.com/tesseract-ocr/tesseract/issues/3498
- https://lists.debian.org/debian-lts-announce/2022/12/msg00018.html
- https://security.gentoo.org/glsa/202312-01
- https://github.com/DanBloomberg/leptonica/commit/f062b42c0ea8dddebdc6a152fd16152de215d614
- https://github.com/tesseract-ocr/tesseract/issues/3498
- https://lists.debian.org/debian-lts-announce/2022/12/msg00018.html
- https://security.gentoo.org/glsa/202312-01
Get alerted when CVE-2022-38266 or the next vulnerability affects your stack