# image-size (npm)

get dimensions of any image file

- Latest: 2.3.0 (2026-11-30)
- Licence: MIT
- Downloads: 169322362 last month
- Advisories on the latest version: 0

- CVE-2025-71329 HIGH: image-size: JXL and HEIF parsers allow denial of service through infinite loops Fixed in 2.0.3.
- CVE-2025-71330 HIGH: image-size: ICNS parser allows denial of service through an infinite loop Fixed in 2.0.3.
- CVE-2025-71319 HIGH: image-size Denial of Service via Infinite Loop during Image Processing Fixed in 1.2.1, 2.0.2.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.
