{
  "id": "CVE-2025-71329",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-71329",
  "published_at": "2026-06-10T13:04:30.38Z",
  "title": "image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser",
  "vendor": "image-size",
  "product": "image-size",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": 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.",
  "cwe": "CWE-835",
  "cpes": [
    "cpe:2.3:a:image-size:image-size:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [
    {
      "repo": "lcf2212dev/image-size-next",
      "url": "https://github.com/lcf2212dev/image-size-next",
      "created_at": "2026-08-10T15:36:09Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 8,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-02-09T21:25:44Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "image-size",
        "product": "image-size",
        "ranges": [
          "\u003e= 1.1.0, \u003c= 1.2.1",
          "\u003e= 2.0.0, \u003c= 2.0.2"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "image-size",
        "ranges": [
          "\u003e= 1.2.0, \u003c 2.0.3"
        ],
        "fixed_in": [
          "2.0.3"
        ],
        "ecosystem": "npm",
        "advisory": "GHSA-5p2g-fcmc-qvqq"
      }
    ],
    "upgrade": [
      "Upgrade image-size to 2.0.3 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities",
      "source": "cvelist",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
