Skip to content
NewA calmer, faster ZeroHour

Critical Next.js SVG Image Processing Vulnerability Could Enable Remote Code Execution

GBHackersby Kavichselvan ()2 min read7 · 2 reads
AI summary · grok-4.7-buildSummaries by Vani AI

Vercel patched unauthenticated Next.js remote code execution in SVG image optimization, with no active exploitation reported.

Vercel released out-of-band Next.js patches for two critical remote code execution flaws and one high-severity denial-of-service bug. CVE-2026-96889 is a memory flaw in the upstream sharp library used by the Image Optimization API and can allow unauthenticated RCE on glibc-based Linux through SVG processing. A second critical issue affects App Router applications using Cache Components when a cached function returns multiple typed arrays, with a related React advisory and no workaround. Crafted requests can also exhaust CPU in App Router apps that expose a Server Action. Patches are in Next.js 16.4.1 and 15.5.28, and Vercel does not report active exploitation.

Key facts
  • CVE-2026-96889 is a critical memory flaw in sharp used for SVG optimization.
  • Unauthenticated RCE applies on glibc Linux; musl and Alpine are not named.
  • A second critical bug affects App Router Cache Components returning typed arrays.
  • High-severity CPU denial of service hits App Router apps with Server Actions.
  • Fixed in Next.js 16.4.1 and 15.5.28; sharp should be 0.35.5 or later.
Analyze CVE-2026-96889 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-96889
Use-After-Free in librsvg SVG Parsing via Nested XIncludes and Duplicate Entities
7.81%PoC

From the original article

2 min read at gbhackers.com

Vercel has released an out-of-band security update for Next. js that fixes two critical remote code execution (RCE) flaws and one high-severity denial-of-service (DoS) bug. One of the critical flaws, CVE-2026-96889 (GHSA-2464-fhr4-w9xw), sits in the Image Optimization API and is triggered through SVG processing.

GBHackers

By Kavichselvan · gbhackers.com

Read the full article at GBHackers

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.