# CVE-2024-21523: images vulnerable to Denial of Service

- 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): 0.60%, higher than 49% of CVEs (2026-12-01)
- Published: 2024-07-10T05:00:01.393Z
- Modified: 2026-07-09T15:25:14.104Z
- Also known as: GHSA-vjpv-x8p9-7p85
- Weaknesses: CWE-241, CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## Description

All versions of the package images are vulnerable to Denial of Service (DoS) due to providing unexpected input types to several different functions. This makes it possible to reach an assert macro, leading to a process crash.

**Note:**
By providing some specific integer values (like 0) to the size function, it is possible to obtain a Segmentation fault error, leading to the process crash.

(As written by CVE List.)

## Affected

- images: before *
- npmjs images: up to *
- images (npm): up to 3.2.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`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://security.snyk.io/vuln/SNYK-JS-IMAGES-6421826> (web)
- <https://github.com/zhangyuanwei/node-images/blob/691d49f4e620b4eec9f1c47b1735841d9d8b55f6/src/Image.cc> (web)
- <https://gist.github.com/dellalibera/8b4ea6b4db84cba212e6e6e39a6933d1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21523> (advisory)
- <https://github.com/zhangyuanwei/node-images> (package)

## Sources

- CVE List: [CVE-2024-21523](https://www.cve.org/CVERecord?id=CVE-2024-21523), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-vjpv-x8p9-7p85](https://github.com/advisories/GHSA-vjpv-x8p9-7p85), CC-BY-4.0, modified 2024-07-10
- NVD: [CVE-2024-21523](https://nvd.nist.gov/vuln/detail/CVE-2024-21523), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-21523 · Whole record: https://cve.day/CVE-2024-21523.json · Rebuilt by cve.day 2026-11-25T22:58:42.726Z
