{"id":"CVE-2025-71319","summary":"image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser","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.","aliases":["GHSA-m5qc-5hw7-8vg7"],"modified":"2026-07-14T03:55:33.984565461Z","published":"2026-06-09T19:57:16.125Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71319.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-835"]},"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71319.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:33313"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:37272"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-71319"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71319.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71319"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-jxl-heif-parser"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2487296"},{"type":"REPORT","url":"https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439"},{"type":"PACKAGE","url":"https://github.com/image-size/image-size"},{"type":"EVIDENCE","url":"https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/image-size/image-size","events":[{"introduced":"0c822974cee05ccf26f8ee9c4612797e2d6bb77c"},{"last_affected":"a4178fbb334ddb22d94cb4228ed597c24fd02e10"},{"introduced":"1fb8f411593acbdb413eaf97817a8eb0b7e8af83"},{"last_affected":"032c3347b86f09a2e16449e17537cf5e1009520c"}],"database_specific":{"extracted_events":[{"introduced":"1.1.0"},{"last_affected":"1.2.1"},{"introduced":"2.0.0"},{"last_affected":"2.0.2"}],"source":"AFFECTED_FIELD"}}],"versions":["v2.0.2","v1.2.1","v1.2.0","v2.0.1","v2.0.0","v1.1.1","v1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71319.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}