{"id":"CVE-2025-71329","state":"PUBLISHED","title":"image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser","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.","publishedAt":"2026-06-10T13:04:30.380Z","updatedAt":"2026-07-14T22:26:08.074Z","severity":{"score":8.7,"label":"High","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["image-size image-size"],"affected":[{"vendor":"image-size","product":"image-size","packageURL":"pkg:npm/image-size","defaultStatus":"unaffected","versions":[{"version":"1.1.0","status":"affected","lessThanOrEqual":"1.2.1","versionType":"semver"},{"version":"2.0.0","status":"affected","lessThanOrEqual":"2.0.2","versionType":"semver"}],"repo":"https://github.com/image-size/image-size"}],"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"],"weaknesses":["CWE-835"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/71xxx/CVE-2025-71329.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-71329","state":"PUBLISHED","datePublished":"2026-06-10T13:04:30.380Z","dateUpdated":"2026-07-14T22:26:08.074Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-10T12:57:20.193Z"},"containers":{"cna":{"title":"image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"image-size","product":"image-size","packageURL":"pkg:npm/image-size","defaultStatus":"unaffected","versions":[{"version":"1.1.0","status":"affected","lessThanOrEqual":"1.2.1","versionType":"semver"},{"version":"2.0.0","status":"affected","lessThanOrEqual":"2.0.2","versionType":"semver"}],"repo":"https://github.com/image-size/image-size"}],"references":[{"url":"https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities","tags":["technical-description","exploit"]},{"url":"https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439","tags":["issue-tracking"]},{"url":"https://www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-jxl-heif-parser","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.7,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseSeverity":"HIGH","baseScore":7.5,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-835","lang":"en","description":"CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T22:26:08.074Z"},"datePublic":"2025-04-18T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:image-size:image-size:*:*:*:*:*:node.js:*:*","versionStartIncluding":"1.1.0","versionEndIncluding":"1.2.1"},{"vulnerable":true,"criteria":"cpe:2.3:a:image-size:image-size:*:*:*:*:*:node.js:*:*","versionStartIncluding":"2.0.0","versionEndIncluding":"2.0.2"}]}]}],"tags":["x_open-source","unsupported-when-assigned"],"credits":[{"lang":"en","value":"Joshua Rogers (@MegaManSec)","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-10T14:45:56.403206Z","id":"CVE-2025-71329","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-10T14:46:07.985Z"}}]}}}