Install
image-size
get dimensions of any image file
2.3.0Latest, 30 Nov 2026
169MDownloads, last month
0Advisories on the latest
3Advisories, all versions
MITLicence
Source · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | image-size: JXL and HEIF parsers allow denial of service through infinite loops CVE-2025-71329 | Fixed in 2.0.3 | 10 Jun 2026 |
| High | image-size: ICNS parser allows denial of service through an infinite loop CVE-2025-71330 | Fixed in 2.0.3 | 10 Jun 2026 |
| High | image-size Denial of Service via Infinite Loop during Image Processing CVE-2025-71319 | Fixed in 1.2.1, 2.0.2 | 2 Apr 2025 |
In the news
- probe-image-size turned tiny EXIF structures into event-loop stalls dev.to, 23 Nov 2026
- Reduce Docker image size CI pushes and pulls dev.to, 15 Nov 2026
- 3 Bugs I Fixed in My React Portfolio (Mobile Menu, Canonical Tags, Image Sizing) dev.to, 28 Oct 2026
- My QR PNGs looked sharp and refused to scan — pixels per module, not image size, is what matters dev.to, 4 Oct 2026
- Multi-Stage Builds for a Next.js App — Reduce Image Size by 70% dev.to, 21 May 2026
On Hacker News
- Optimizing Docker image size and why it matters 252 points, 105 comments, 6 Jan 2022
- Reducing Docker Image Size 176 points, 35 comments, 19 Feb 2020
- Show HN: Docker-phobia: Analyze Docker image size with a treemap 91 points, 30 comments, 28 Apr 2024
- How To Reduce Image Size With WebP Automagically 77 points, 22 comments, 12 Apr 2013
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.