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

CVE-2022-31620: Improper Restriction of Operations within the Bounds of a Memory Buffer

May 25, 2022 (updated June 7, 2022)

In libjpeg before 1.64, BitStream::Get in bitstream.hpp has an assertion failure that may cause denial of service. This is related to out-of-bounds array access during arithmetically coded lossless scan or arithmetically coded sequential scan.

References

  • github.com/thorfdbg/libjpeg/commit/ef4a29a62ab48b8dc235f4af52cfd6319eda9a6a
  • github.com/thorfdbg/libjpeg/issues/70
  • nvd.nist.gov/vuln/detail/CVE-2022-31620

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.64

Fixed versions

  • 1.64

Solution

Upgrade to version 1.64 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-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

Source file

conan/libjpeg/CVE-2022-31620.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:57 +0000.