LiveActive security incident?Get immediate response
CVE Record

CVE-2025-71319: image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser

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.

HighCVSS 8.7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2025-71319 can let an unauthenticated remote user freeze a Node.js application that uses image-size to inspect certain image files. The issue is a denial of service, not data theft. Business impact depends on whether public uploads or external image processing reach this library.

Executive priority

Treat as urgent for public upload services, media platforms, and API gateways that process images. For internal-only use without untrusted image input, prioritize after confirming exposure. The main business risk is service outage from a small number of malicious requests.

Technical view

image-size through 2.0.2 is reported to enter an infinite loop in JXL or HEIF parsing when a recognized box has a zero size. This maps to CWE-835 and can block the Node.js event loop. The CVSS v4.0 score is 8.7, with network attack vector and high availability impact.

Likely exposure

Highest exposure is internet-facing Node.js services that accept user-supplied images and call image-size on JXL or HEIF content. The source data lists affected versions 1.1.0 and 2.0.0, while the description says through 2.0.2, so confirm exact dependency versions.

Exploitation context

The CVE record and advisories describe remote denial of service via crafted image input. The source bundle does not show CISA KEV listing or confirmed active exploitation. Public technical analysis exists, so vulnerable upload paths should be treated as realistically reachable.

Researcher notes

Key uncertainty is version scope: the narrative says through 2.0.2, while affected entries list 1.1.0 and 2.0.0. No source in the bundle names a fixed upstream version. Review PR 439, VulnCheck, CVE data, and Red Hat advisories for evolving remediation status.

Mitigation direction

  • Check image-size vendor guidance and apply a fixed release when identified.
  • Restrict or reject JXL and HEIF processing from untrusted uploads where feasible.
  • Run image parsing in isolated workers with timeouts and automatic restarts.
  • Add request size, type, and processing-time limits around image inspection paths.
  • Prioritize Red Hat errata review if using affected Red Hat-packaged components.

Validation and detection

  • Inventory Node.js services using image-size directly or transitively.
  • Check lockfiles, SBOMs, and containers for image-size versions.
  • Identify endpoints that parse untrusted JXL or HEIF images.
  • Confirm monitoring detects event-loop stalls and image-processing hangs.
  • Verify remediation in staging before enabling broad upload paths.
Prepared
Confidence
medium
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-835: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-71319 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.7 (4.0)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

3CVSS vectors
5Timeline events
2ADP providers
9Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: partial

CVSS vector scores

3 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.7CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NVulnCheck
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6VulnCheck
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6redhat-SADP

Vulnerability scoring details

Base CVSS 4.0 score

8.7High
CVSS 4.0 vector shape for CVE-2025-71319Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPimage-size: image-size: Denial of Service due to infinite loop when processing specially crafted images.
other:Red Hat severity ratingcvssV3_1
  • 2026-06-09T21:01:11.339Z: Reported to Red Hat.
  • 2026-06-09T19:57:16.125Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
image-sizeimage-size1.1.0, 2.0.0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-835 · source CWE mapping

Loop with Unreachable Exit Condition ('Infinite Loop')

Loop with Unreachable Exit Condition ('Infinite Loop') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.