CVE-2025-71319
image-size 1.1.0 before 1.2.1 and 2.0.0 before 2.0.2 contain a …
image-size 1.1.0 before 1.2.1 and 2.0.0 before 2.0.2 contain a denial of service vulnerability in the findBox function when processing specially crafted images with zero-sized boxes. Remote attackers can cause application hang by supplying malicious JXL, HEIF, or JP2 image files with box size zero, triggering infinite loops during image validation.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/image-size/image-size/security/advisories/GHSA-m5qc-5hw7-8vg7
- www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-findbox-fun
- github.com/image-size/image-size/commit/8994131c7c3ee8da1699e04700c95e0e683a0c68
- github.com/advisories/GHSA-m5qc-5hw7-8vg7
- joshua.hu/image-size-infinite-loop-dos-vulnerabilities
- web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439
- www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-jxl-heif-pa
- nvd.nist.gov/vuln/detail/CVE-2025-71319
- nvd.nist.gov/vuln/detail/CVE-2025-71319
- cve.org/CVERecord?id=CVE-2025-71319
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.