{"cve":"CVE-2025-71319","nvd":{"published":"2026-06-09T21:17:03.153","modified":"2026-07-24T20:19:12.603","status":"Analyzed","description":"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.","cvss_v4":{"vector":"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-835"],"references":["https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities","https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439","https://www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-jxl-heif-parser","https://access.redhat.com/errata/RHSA-2026:33313","https://access.redhat.com/errata/RHSA-2026:37272"],"products":["image-size:image-size","redhat:discovery","redhat:enterprise_linux","redhat:gatekeeper","redhat:trusted_artifact_signer"],"source":"nvd","synced_at":"2026-10-19T22:38:48.522727527+00:00"},"epss":{"cve":"CVE-2025-71319","score":0.00729,"percentile":0.54223,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-m5qc-5hw7-8vg7","url":"https://osv.dev/vulnerability/GHSA-m5qc-5hw7-8vg7","summary":"image-size Denial of Service via Infinite Loop during Image Processing","modified":"2026-06-10T17:30:24.682332993Z","packages":[{"ecosystem":"npm","name":"image-size","purl":"pkg:npm/image-size","ranges":[">=1.1.0 <1.2.1"],"fixed":["1.2.1"]},{"ecosystem":"npm","name":"image-size","purl":"pkg:npm/image-size","ranges":[">=2.0.0 <2.0.2"],"fixed":["2.0.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}