GHSA-5p2g-fcmc-qvqq

Suggest an improvement
Source
https://github.com/advisories/GHSA-5p2g-fcmc-qvqq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-5p2g-fcmc-qvqq/GHSA-5p2g-fcmc-qvqq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5p2g-fcmc-qvqq
Aliases
Downstream
CGA (8)
MINI (2)
Published
2026-06-10T15:31:30Z
Modified
2026-09-24T18:45:10Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
image-size: JXL and HEIF parsers allow denial of service through infinite loops
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.

Database specific
{
    "cwe_ids":  [
        "CWE-835"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-07T20:54:40Z",
    "nvd_published_at":  "2026-06-10T14:16:30Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / image-size

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.2.0
Fixed
2.0.3

Database specific

last_known_affected_version_range
"<= 2.0.2"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-5p2g-fcmc-qvqq/GHSA-5p2g-fcmc-qvqq.json"