Next.js issued an out-of-band security update on October 14 to address significant vulnerabilities. The update includes fixes for two critical remote code execution (RCE) flaws and one high-severity denial-of-service (DoS) vulnerability. These patches are available in Next.js versions 16.4.1 and 15.5.28, which are the current Active and Maintenance long-term support (LTS) releases.
One critical RCE flaw affects React Server Components, specifically within the `use cache` function when it returns multiple typed arrays. This vulnerability impacts Next.js 16 applications that have Cache Components enabled. The second critical RCE flaw is a memory bug in librsvg, an open-source library used by Next.js via the `sharp` package for SVG image handling. This flaw allows code execution on glibc-based Linux systems, particularly when the `dangerouslyAllowSVG` setting is enabled or when `next/og` generates social-preview images on the Node.js runtime. Vercel, the developer of Next.js, assigned a CVSS score of 9.5 to both RCE vulnerabilities.
A high-severity denial-of-service vulnerability was also patched. This issue affects App Router applications that define at least one Server Action. Maliciously crafted requests can cause a server process to consume full CPU resources, preventing it from handling other requests. Applications using the Pages Router or those without Server Actions are not affected by this specific DoS flaw.
The RCE flaw in React Server Components affects `react-server-dom-webpack`, `react-server-dom-parcel`, and `react-server-dom-turbopack` in versions 19.0.0 through 19.3.0. The librsvg flaw impacts Next.js installations that process SVG images. All users running Next.js 16 should upgrade to 16.4.1, and those on Next.js 15 should upgrade to 15.5.28. Vercel recommends upgrading even if an application does not explicitly use the affected functions or features.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Next.js released an out-of-band security update addressing two critical unauthenticated remote code execution (RCE) flaws and a high-severity denial-of-service (DoS) vulnerability. These fixes are crucial for users running Next.js 16 and 15 LTS releases to prevent potential server compromise and service disruption.