Bug 2487296 (CVE-2025-71319)

Summary: CVE-2025-71319 image-size: image-size: Denial of Service due to infinite loop when processing specially crafted images.
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
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. This vulnerability allows a remote attacker to cause a Denial of Service (DoS) by supplying specially crafted JXL, HEIF, or JP2 image files that contain zero-sized boxes. The `findBox` function, responsible for image validation, enters an infinite loop when processing these malicious files, leading to an application hang. This can disrupt the availability of services relying on the image-size component.
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:
Bug Depends On: 2491961, 2491962, 2491965, 2491966, 2491960, 2491963, 2491964, 2491967    
Bug Blocks:    

Description OSIDB Bzimport 2026-06-09 21:01:36 UTC
image-size 1.1.0 before 1.2.1 and 2.0.0 before 2.0.2 contain a denial of service vulnerability in the findBox function when processing specially crafted images with zero-sized boxes. Remote attackers can cause application hang by supplying malicious JXL, HEIF, or JP2 image files with box size zero, triggering infinite loops during image validation.