Skip to main content
← All vulnerabilities
CVE-2025-71319GHSA-M5QC-5HW7-8VG7

image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.2.1, 2.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • image-size image-size

    From 1.1.0 · through 1.2.1; From 2.0.0 · through 2.0.2

  • image-sizenpm

    From 1.1.0 · fixed in 1.2.1

  • image-sizenpm

    From 2.0.0 · fixed in 2.0.2

References 3

joshua.hu

web.archive.org

vulncheck.com