Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. leptonica
  4. ›
  5. CVE-2022-38266

CVE-2022-38266: Divide By Zero

September 9, 2022 (updated December 18, 2023)

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.

References

  • github.com/DanBloomberg/leptonica/commit/f062b42c0ea8dddebdc6a152fd16152de215d614
  • github.com/tesseract-ocr/tesseract/issues/3498
  • lists.debian.org/debian-lts-announce/2022/12/msg00018.html
  • nvd.nist.gov/vuln/detail/CVE-2022-38266

Code Behaviors & Features

Detect and mitigate CVE-2022-38266 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.80.0

Fixed versions

  • 1.80.0

Solution

Upgrade to version 1.80.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-369: Divide By Zero

Source file

conan/leptonica/CVE-2022-38266.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:20 +0000.