Bug 2487540 (CVE-2025-71329)

Summary: CVE-2025-71329 image-size: image-size: Denial of Service via crafted image buffer with zero-valued size field
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alcohan, anthomas, anujha, asoldano, bbaranow, bmaxwell, brasmith, bstansbe, cdrage, cochase, dlofthou, dranck, eborisov, ehelms, ggainey, gmalinko, gparvin, istudens, ivassile, iweiss, janstey, jbalunas, jkoehler, juwatts, kaycoth, lball, lchilton, lphiri, mhulan, mosmerov, msvehla, ngough, nmoumoul, nwallace, osousa, pahickey, pcreech, pdelbell, pesilva, pjindal, pmackay, rchan, rhaigner, rhel-process-autobot, rstancel, rstepani, rushinde, sdawley, sfeifer, smallamp, thjenkin, tmalecek, vdosoudi, veshanka, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in image-size. A remote attacker can exploit this vulnerability by providing a specially crafted image buffer that contains a zero-valued size field within a recognized box-type. This malicious input can trigger an infinite loop in the JXL or HEIF image parsers, leading to a permanent block of the Node.js event loop. The consequence is a Denial of Service (DoS), causing the application to become unresponsive.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-06-10 14:01:56 UTC
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.