CVE-2022-25851 json
Denial of Service (DoS)
published 2022-06-10 4 y ago modified 2026-06-17 4 mo ago also GHSA-xvf7-4v9q-58w6 , EUVD-2022-6194
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm jpeg-js 0.4.4
- n/a jpeg-js 0.4.4
- github.com/jpeg-js/jpeg-js@9ccd35f commit
- github.com/jpeg-js/jpeg-js#106 pull request
Exploit prediction
1.90% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/jpeg-js/jpeg-js/issues/105 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jpeg-js | <0.4.4 |
0.4.4 |
Affected products
- n/a jpeg-js
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
github.com
/jpeg-js/jpeg-js/pull/106/
patch, third-party-advisory
-
github.com
/jpeg-js/jpeg-js/commit/9ccd35fb5f55a6c4f1902ac5b0f270f675750c27
web, patch, third-party-advisory
-
github.com
/jpeg-js/jpeg-js/pull/106
web
-
github.com
/jpeg-js/jpeg-js/issues/105
web, exploit, issue-tracking, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-JPEGJS-2859218
web, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-2860295
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-25851
advisory
-
github.com
/jpeg-js/jpeg-js
package
Sources
- CVE List CVE-2022-25851
- GitHub Advisory GHSA-xvf7-4v9q-58w6
- NVD CVE-2022-25851
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.