# CVE-2022-25851: Denial of Service (DoS)

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.90%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-10T20:05:52.826Z
- Modified: 2026-06-17T04:34:23.423Z
- Also known as: GHSA-xvf7-4v9q-58w6
- Weaknesses: CWE-835
- Assigned by: snyk

## Description

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

(As written by CVE List.)

## Affected

- jpeg-js: from unspecified before 0.4.4
- jpeg-js (npm): before 0.4.4
- jpeg-js_project jpeg-js: before 0.4.4

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/jpeg-js/jpeg-js/issues/105> (exploit, issue-tracking, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JS-JPEGJS-2859218> (third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2860295> (third-party-advisory, web)
- <https://github.com/jpeg-js/jpeg-js/pull/106/> (patch, third-party-advisory)
- <https://github.com/jpeg-js/jpeg-js/commit/9ccd35fb5f55a6c4f1902ac5b0f270f675750c27> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25851> (advisory)
- <https://github.com/jpeg-js/jpeg-js/pull/106> (web)
- <https://github.com/jpeg-js/jpeg-js> (package)

## Sources

- CVE List: [CVE-2022-25851](https://www.cve.org/CVERecord?id=CVE-2022-25851), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-xvf7-4v9q-58w6](https://github.com/advisories/GHSA-xvf7-4v9q-58w6), CC-BY-4.0, modified 2025-01-14
- NVD: [CVE-2022-25851](https://nvd.nist.gov/vuln/detail/CVE-2022-25851), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25851 · Whole record: https://cve.day/CVE-2022-25851.json · Rebuilt by cve.day 2026-11-25T22:58:12.217Z
