PatchSiren

PatchSiren cyber security CVE debrief

CVE-2025-71329 image-size CVE debrief

A denial of service vulnerability exists in image-size through version 2.0.2. Remote 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. This issue affects Node.js applications using the image-size library, which may be exposed to denial of service attacks if not properly verified and updated. Defenders should assess exposure and prioritize verification and updates to prevent potential attacks.

Vendor
image-size
Product
Unknown
CVSS
HIGH 8.7
CISA KEV
Not listed in stored evidence
Original CVE published
2026-06-10
Original CVE updated
2026-10-12
Advisory published
2026-06-10
Advisory updated
2026-10-12

Who should care

Defenders responsible for Node.js applications using the image-size library should assess exposure and prioritize verification and updates to prevent potential denial of service attacks.

Why it matters

CVE-2025-71329 is a denial of service vulnerability in image-size that allows remote attackers to permanently block the Node.js event loop. Defenders should prioritize verification, updates, and exposure assessment to prevent potential attacks.

  • Denial of service attacks can permanently block the Node.js event loop
  • Defenders must verify and update image-size to a non-vulnerable version
  • Exposure assessment is crucial for Node.js applications using image-size

Technical summary

The image-size library through version 2.0.2 contains a denial of service vulnerability. An attacker 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. This vulnerability 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. Defenders should prioritize verifying and updating image-size to a non-vulnerable version, assessing exposure in Node.js applications, and monitoring for potential exploitation attempts.

Defensive priority

Defenders should prioritize verifying and updating image-size to a non-vulnerable version, assessing exposure in Node.js applications, and monitoring for potential exploitation attempts.

Recommended defensive actions

  • Verify and update image-size to a non-vulnerable version
  • Assess exposure in Node.js applications
  • Monitor for potential exploitation attempts
  • Review compensating controls for exposed systems
  • Check relevant monitoring, detection, and logs for exposed assets
  • Track exceptions and retest remediated assets
  • Plan vendor-supported updates or mitigations through normal change control

Evidence notes

The CVE record and NVD entry provide details on the denial of service vulnerability in image-size. The vulnerability allows remote attackers to permanently block the Node.js event loop by supplying a specially crafted image buffer.

Sources and references

Verified primary and authoritative sources

  • CVE-2025-71329 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2025-71329

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2025-71329 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2025-71329

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities

    [email protected] - Exploit, Third Party Advisory

  • Source reference

    Unverified legacy reference

    URL: https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439

    [email protected] - Issue Tracking, Patch

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-jxl-heif-parser

    [email protected] - Third Party Advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.