{"schemaVersion":3,"id":"CVE-2025-71319","aliases":["GHSA-m5qc-5hw7-8vg7"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-06-09T19:57:16.125Z","modified":"2026-09-03T12:04:33.785Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":8.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.7,"severity":"high","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00729,"percentile":0.5342,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00729},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00729,"percentile":0.5342}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00729,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00729,"percentile":0.5342}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_E4CDFC8688196816","name":"Exploit Reference (joshua.hu)","source":"reference","url":"https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition ('Infinite Loop')","description":"The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/835.html"}],"affected":[{"vendor":"image-size","product":"image-size","name":"image-size","label":"image-size","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.1.0, ≤ 1.2.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, ≤ 2.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.1.0, ≤ 1.2.1 | ≥ 2.0.0, ≤ 2.0.2","eol":null,"hubHref":"/vendor/image-size/image-size"},{"vendor":"Npm","product":"image-size","name":"image-size","label":"image-size","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/image-size","purlType":"npm","versions":[{"text":"≥ 1.1.0, < 1.2.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.1.0, < 1.2.1 | ≥ 2.0.0, < 2.0.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"discovery","name":"discovery","label":"discovery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.0","eol":null,"hubHref":"/vendor/redhat/discovery"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":{"isEol":false,"eolDate":"2029-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Upcoming ELS)","eolFrom":"2029-05-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"8.10"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"},{"vendor":"redhat","product":"gatekeeper","name":"gatekeeper","label":"gatekeeper","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.0","eol":null,"hubHref":"/vendor/redhat/gatekeeper"},{"vendor":"redhat","product":"trusted_artifact_signer","name":"trusted artifact signer","label":"trusted_artifact_signer","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.4, < 1.4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.4, < 1.4.2","eol":null,"hubHref":"/vendor/redhat/trusted_artifact_signer"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities","label":"joshua.hu/image-size-infinite-loop-dos-vulnerabilities","hostname":"joshua.hu","tags":["Technical Description","Exploit","WEB","Third Party Advisory"]},{"url":"https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439","label":"web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439","hostname":"web.archive.org","tags":["Issue Tracking","WEB","Patch"]},{"url":"https://www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-jxl-heif-parser","label":"www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-jxl-heif-parser","hostname":"www.vulncheck.com","tags":["Third Party Advisory","WEB"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-71319","label":"access.redhat.com/security/cve/CVE-2025-71319","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2487296","label":"bugzilla.redhat.com/show_bug.cgi?id=2487296","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71319.json","label":"security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71319.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:33313","label":"access.redhat.com/errata/RHSA-2026:33313","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:37272","label":"access.redhat.com/errata/RHSA-2026:37272","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://github.com/image-size/image-size/security/advisories/GHSA-m5qc-5hw7-8vg7","label":"github.com/image-size/image-size/security/advisories/GHSA-m5qc-5hw7-8vg7","hostname":"github.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71319","label":"nvd.nist.gov/vuln/detail/CVE-2025-71319","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/image-size/image-size/commit/8994131c7c3ee8da1699e04700c95e0e683a0c68","label":"github.com/image-size/image-size/commit/8994131c7c3ee8da1699e04700c95e0e683a0c68","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/image-size/image-size","label":"github.com/image-size/image-size","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-09T19:57:16.125Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-03T12:04:33.785Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:17:41.539Z","stale":false,"partial":false}}