Next.js Ships Out-of-Band Patch for Two Critical RCE Flaws in Caching and SVG Processing
Next.js 16.4.1 and 15.5.28 patch two critical unauthenticated RCE bugs and a Server Actions denial of service.
Next.js released an out-of-band update on October 14 in 16.4.1 and 15.5.28 fixing two critical unauthenticated remote code execution flaws, each CVSS 9.5, and a high-severity Server Actions denial of service. One RCE, tracked as GHSA-673q-mjm6-r5xr, affects React Server Components only in rare cases where a use cache function returns more than one typed array on Next.js 16 with Cache Components enabled. The other, CVE-2026-96889, is a librsvg memory bug reached through sharp when attacker-supplied SVGs are processed on glibc Linux; the fix raises sharp to 0.35.5 with librsvg 2.63.2. As of October 15 there were no public reports that any of the three flaws had been used in attacks.
- Fixes ship in Next.js 16.4.1 and 15.5.28; both RCEs are CVSS 9.5.
- use cache RCE needs Cache Components and multiple returned typed arrays.
- SVG RCE is CVE-2026-96889 in librsvg via sharp on glibc Linux.
- Server Actions DoS has no workaround; image flaw needs sharp 0.35.5 or later.
- No public reports that the three October 14 flaws are being exploited.
- CVEs
- CVE-2026-96889
- Vendors
- Vercel
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-96889 | Use-After-Free in librsvg SVG Parsing via Nested XIncludes and Duplicate Entities | 7.8 | 1% | PoC |
From the original article
4 min read at thehackernews.com
Next. js released an out-of-band security update on October 14 that fixes two critical flaws allowing unauthenticated remote code execution, along with a high-severity denial-of-service flaw. One code-execution flaw is in React Server Components, and the other in librsvg, the open-source library Next.
thehackernews.com
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.