{"id":"CVE-2022-25851","aliases":["CVE-2022-25851","GHSA-xvf7-4v9q-58w6"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of Service (DoS)","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"The package jpeg-js before 0.4.4 is vulnerable to Denial of Service (DoS) where a particular piece of input will cause the program to enter an infinite loop and never return.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El paquete jpeg-js versiones anteriores a 0.4.4, es vulnerable a una denegación de servicio (DoS), donde una pieza concreta de entrada causará que entre en un bucle infinito y nunca regrese","source":"nvd"}],"published":"2022-06-10T20:05:52.826Z","modified":"2026-06-17T04:34:23.423Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"0.4.4","status":"affected"}],"product":"jpeg-js","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.4"}],"ecosystem":"npm","package":"jpeg-js","purl":"pkg:npm/jpeg-js","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.4.4"}],"vendor":"jpeg-js_project","product":"jpeg-js","cpe":"cpe:2.3:a:jpeg-js_project:jpeg-js:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-JPEGJS-2859218","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2860295","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jpeg-js/jpeg-js/issues/105","tags":["exploit","issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jpeg-js/jpeg-js/pull/106/","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/jpeg-js/jpeg-js/commit/9ccd35fb5f55a6c4f1902ac5b0f270f675750c27","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25851","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jpeg-js/jpeg-js/pull/106","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jpeg-js/jpeg-js","tags":["package"],"sources":["ghsa"]}],"credits":["Sohom Datta"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25851","url":"https://www.cve.org/CVERecord?id=CVE-2022-25851","licence":"CVE Terms of Use","modified":"2024-09-16T18:55:23.053Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xvf7-4v9q-58w6","url":"https://github.com/advisories/GHSA-xvf7-4v9q-58w6","licence":"CC-BY-4.0","modified":"2025-01-14T10:56:51.595Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25851","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25851","licence":"Public domain","modified":"2026-06-17T04:34:23.423Z"}],"updatedAt":"2026-11-25T22:58:12.217Z","epss":{"score":0.01898,"percentile":0.80255,"date":"2026-12-01T12:00:22.000Z"}}