---
title: "image-size security advisories"
description: "3 known security advisories for image-size, with the versions they affect and the version that fixes each."
url: https://inlinr.com/packages/image-size/security
lang: en
---

[Packages](https://inlinr.com/packages)

# image-size

2.1.0 · 6 Nov 2026 MIT 40.7M / week [Repository](https://codeberg.org/image-size/image-size) [npm](https://www.npmjs.com/package/image-size) [Atom feed](https://inlinr.com/packages/feed/image-size)

Your version 

## Security advisories

From OSV, open ones first. Each release line gets its own fix: an older major is fixed by a patch on that major, not by moving to the newest one.

| Line | Newest | Where it stands                                                           |
| ---- | ------ | ------------------------------------------------------------------------- |
|      | 2.1.0  | Safe from 2.0.3                                                           |
|      | 1.2.1  | 6 open advisories, worst high  · last release Apr 2025, no longer updated |

- High  
[image-size: JXL and HEIF parsers allow denial of service through infinite loops](https://inlinr.com/advisories/GHSA-5p2g-fcmc-qvqq)GHSA-5p2g-fcmc-qvqq · 10 Jun 2026  
fixed in 2.0.3
- High  
[image-size: ICNS parser allows denial of service through an infinite loop](https://inlinr.com/advisories/GHSA-w3rx-r6r6-pgpr)GHSA-w3rx-r6r6-pgpr · 10 Jun 2026  
fixed in 2.0.3
- High  
[image-size Denial of Service via Infinite Loop during Image Processing](https://inlinr.com/advisories/GHSA-m5qc-5hw7-8vg7)GHSA-m5qc-5hw7-8vg7 · 2 Apr 2025  
fixed in 2.0.2, 1.2.1

### Quality and security signals

What [npm](https://www.npmjs.com/package/image-size) and [deps.dev](https://deps.dev/npm/image-size) say about the latest release. Signals, not a verdict.

- Licence  
[MIT](https://spdx.org/licenses/MIT.html)
- Provenance  
No provenance statement on 2.1.0  
Says where the release was built and from which commit. It does not say the code is safe.
- Published by  
[netroy](https://www.npmjs.com/~netroy)
- Maintainers on npm  
[netroy](https://www.npmjs.com/~netroy)
- Size  
[99 kB unpacked , 118 files](https://www.npmjs.com/package/image-size/v/2.1.0?activeTab=code)
- Last release  
[2.1.0](https://www.npmjs.com/package/image-size/v/2.1.0), 6 November 2026
- OpenSSF Scorecard  
No Scorecard for this repository

Reading releases, release notes and advisories…

Registry facts last checked 20 Nov 2026\. Releases and advisories last read 20 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
