Skip to content
Fencer Intel
high 7.5

CVE-2025-71319 json

image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser

published last yr. modified yesterday also EUVD-2025-210087 , GHSA-m5qc-5hw7-8vg7

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 54%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm image-size 1.2.1, 2.0.2
  • Red Hat Red Hat Discovery 2 1782756541
  • Red Hat Red Hat Trusted Artifact Signer 1.4 1783327185

Is CVE-2025-71319 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-71319 updated cvss 7.5

image-size: image-size: Denial of Service due to infinite loop when processing specially crafted images.

  • Red Hat Gatekeeper 3 gatekeeper/gatekeeper-rhel9 Red Hat Enterprise Linux 8 rhsm-gtk, rhsm-icons, python3-cloud-what, python3-syspurpose, subscription-manager, subscription-manager-cockpit, +6 more
    affected: workaround, no fix available
  • Red Hat Discovery 2 discovery/discovery-ui-rhel9 1782756541
    fixed: vendor fix RHSA-2026:33313
  • Red Hat Trusted Artifact Signer 1.4 rhtas/rekor-search-ui-rhel9 1783327185
    fixed: vendor fix RHSA-2026:37272
  • Red Hat Build of Podman Desktop rh-podman-desktop.git Red Hat Discovery 2 discovery/discovery-server-rhel9 1782763840
    not affected: vulnerable code not present
  • Red Hat Enterprise Linux 7 rhsm-gtk, python-syspurpose, subscription-manager, subscription-manager-gui, subscription-manager-rhsm, subscription-manager-cockpit, +5 more
    not affected: component not present
  • Red Hat Enterprise Linux 8 grafana, grafana-pcp, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, +9 more Red Hat Fuse 7 image-size
    not affected: vulnerable code not in execute path
  • Red Hat JBoss Enterprise Application Platform 7 image-size Red Hat JBoss Enterprise Application Platform 8 image-size Red Hat JBoss Enterprise Application Platform Expansion Pack image-size
    not affected: component not present
  • Red Hat OpenShift AI (RHOAI) rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 Red Hat OpenShift Dev Spaces devspaces/code-rhel9
    not affected: vulnerable code not present
show 2 more
  • Red Hat Satellite 6 satellite/iop-vulnerability-frontend-rhel9
    not affected: vulnerable code cannot be controlled by adversary
  • Red Hat Trusted Artifact Signer 1.4 rhtas/fulcio-rhel9 1783326847, rhtas/rekor-server-rhel9 1783332625, rhtas/trillian-redis-rhel9 1783329793, rhtas/trillian-database-rhel9 1783329793, rhtas/trillian-logserver-rhel9 1783329793, rhtas/trillian-logsigner-rhel9 1783329793, +3 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
4mo ago

Exploit prediction

0.73% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • joshua.hu https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 8.7 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
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 4.0 8.7 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

Affected packages

ecosystem package affected fixed in
npm image-size
>=1.1.0, <1.2.1
>=2.0.0, <2.0.2
1.2.1
2.0.2

Affected products

  • image-size image-size
  • Red Hat Red Hat Discovery 2
  • Red Hat Red Hat Trusted Artifact Signer 1.4
  • Red Hat Gatekeeper 3
  • Red Hat Red Hat Build of Podman Desktop
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Fuse 7
  • Red Hat Red Hat JBoss Enterprise Application Platform 7
  • Red Hat Red Hat JBoss Enterprise Application Platform 8
  • Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat Red Hat OpenShift AI (RHOAI)
  • Red Hat Red Hat OpenShift Dev Spaces
  • Red Hat Red Hat Satellite 6

Classification

Weakness
  • CWE-835 Loop with Unreachable Exit Condition
  • CWE-770 Allocation of Resources Without Limits or Throttling

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.