Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. jpeg-js
  4. ›
  5. CVE-2022-25851

CVE-2022-25851: Infinite loop in jpeg-js

June 11, 2022 (updated June 17, 2022)

The package jpeg-js before 0.4.4 is vulnerable to Denial of Service (DoS) where a particular piece of input will cause to enter an infinite loop and never return.

References

  • github.com/advisories/GHSA-xvf7-4v9q-58w6
  • github.com/jpeg-js/jpeg-js/commit/9ccd35fb5f55a6c4f1902ac5b0f270f675750c27
  • github.com/jpeg-js/jpeg-js/issues/105
  • github.com/jpeg-js/jpeg-js/pull/106/
  • nvd.nist.gov/vuln/detail/CVE-2022-25851
  • snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2860295
  • snyk.io/vuln/SNYK-JS-JPEGJS-2859218

Code Behaviors & Features

Detect and mitigate CVE-2022-25851 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 0.4.4

Fixed versions

  • 0.4.4

Solution

Upgrade to version 0.4.4 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Source file

npm/jpeg-js/CVE-2022-25851.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:56 +0000.