Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2025-71329 EUVD-2025-210106GHSA-5p2g-fcmc-qvqq

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

Published Jun 10, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
image-size image-size 1.1.0 – ≤ 1.2.1, 2.0.0 – ≤ 2.0.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling langfuse-3-worker No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • lcf2212dev/image-size-next ★ 8 · Aug 10, 2026

    Community-maintained fork of image-size with fixes for CVE-2025-71329 and CVE-2025-71330

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm image-size >= 1.2.0, < 2.0.3 2.0.3 GHSA-5p2g-fcmc-qvqq

References