CVE-2025-71319Image-size
High 8.7 No auth needed
Follow: this CVE · Image-size · Image-size We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- Jun 9, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
image-size through 2.0.2 contains a denial of service vulnerability that allows remote attackers to permanently block the Node.js event loop by supplying a specially crafted image buffer with a zero-valued size field in a recognized box-type. Attackers can trigger an infinite loop in the JXL or HEIF image parsers by providing a crafted image containing a box with a size of zero, causing the offset to never advance and permanently hanging the application.
What to do
- Apply the vendor's security update for Image-size.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | image-size |
≥ 1.1.0 < 1.2.1 |
1.2.1 |
npm install image-size@1.2.1 |
| npm | image-size |
≥ 2.0.0 < 2.0.2 |
2.0.2 |
npm install image-size@2.0.2 |
Per OSV / GitHub Advisories (GHSA-m5qc-5hw7-8vg7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| image-size | image-size | ≥ 1.1.0 ≤ 1.2.1 |
| image-size | image-size | ≥ 2.0.0 ≤ 2.0.2 |
| redhat | discovery | 2.0 |
| redhat | gatekeeper | 3.0 |
| redhat | trusted_artifact_signer | ≥ 1.4 < 1.4.2 |
| redhat | enterprise_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- joshua.hu Exploit Third Party Advisory
- web.archive.org Issue Tracking Patch
- www.vulncheck.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- security.access.redhat.com Third Party Advisory