Advisory

GHSA-5p2g-fcmc-qvqq

Also known as: CVE-2025-71329

Summary

image-size: JXL and HEIF parsers allow denial of service through infinite loops

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-06-10 15:31 UTC
Modified
2026-09-24 18:45 UTC

Affected packages and fixes

image-size

npm · All systems

Affected

  • introduced 1.2.0, fixed 2.0.3 (semver)

Fixed versions

2.0.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences