Close Menu
NCIJ Network NCIJ Network
    What's Hot

    25 rumors about Pete Hegseth we’ve fact-checked

    November 12, 2026

    Poland turns to home-grown giant for its defense buildup – POLITICO

    November 12, 2026

    Senior doctors call off two-day strike planned this month

    November 12, 2026
    Facebook X (Twitter) Instagram
    Trending
    • 25 rumors about Pete Hegseth we’ve fact-checked
    • Poland turns to home-grown giant for its defense buildup – POLITICO
    • Senior doctors call off two-day strike planned this month
    • Wildlife trade regulator CITES lifts sanctions against Laos, prompting conservation concerns
    • Curiosity Blog, Sols 5063-5069 Rocks and Chips
    • Welsh NHS bosses call for multi-year health funding
    • To boost conservation of kelp forests, start by naming them (commentary)
    • Tanzanian Opposition Leader Lissu Sentenced to Prison
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Thursday, November 12
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Cybersecurity

    Next.js Ships Out-of-Band Patch for Two Critical RCE Flaws in Caching and SVG Processing

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKOctober 18, 2026 Cybersecurity No Comments5 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    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.js uses through the sharp package to handle SVG images.

    The fixes are in Next.js 16.4.1 and 15.5.28, the current Active and Maintenance long-term support (LTS) releases.

    What Was Fixed

    The update covers three separate issues. Vercel, which develops Next.js, rated both code-execution flaws critical, each with a CVSS score of 9.5. The table lists the versions each issue affects and the version that fixes it.

    Issue Affected versions Fixed in Who is exposed

    Code execution through use cache (

    GHSA-673q-mjm6-r5xr

    )
    16.0.0 through 16.4.0 16.4.1 App Router apps with Cache Components enabled, where a use cache function returns more than one typed array

    Code execution through SVG images (CVE-2026-96889,

    GHSA-2464-fhr4-w9xw

    )
    10.0.0 through 15.5.27, and 16.0.0 through 16.4.0 16.4.1, or 15.5.28 with sharp 0.35.5 or later Apps that pass attacker-supplied SVG files to sharp on glibc-based Linux

    Denial of service through Server Actions (

    GHSA-p3m5-59mp-jv5r

    )
    13.0.0 through 15.5.27, and 16.0.0 through 16.4.0 15.5.28, 16.4.1 App Router apps with at least one Server Action

    Who Is Affected

    The first code-execution flaw is in React Server Components, the React feature that runs user-interface components on the server. React’s advisory covers three packages, react-server-dom-webpack, react-server-dom-parcel, and react-server-dom-turbopack, in versions 19.0.0 through 19.3.0. It describes the flaw as affecting “extremely rare cases where responses transport multiple typed arrays and an attacker-controlled value.”

    In a Next.js app, the trigger is a use cache function that returns more than one typed array, so only version 16 apps that enable Cache Components, the feature behind use cache, are exposed. Vercel says to upgrade even if your app has no such function.

    Cybersecurity

    The second flaw is a memory bug in librsvg, the library that renders SVG images, which Next.js reaches through the bundled sharp package. Code execution is possible when Next.js runs on glibc-based Linux, according to the advisory.

    By default, Next.js does not optimize SVG files. Serving them through the image optimizer requires turning on a setting called dangerouslyAllowSVG. The same library also renders images for next/og, the feature that builds social-preview images, when that feature runs on the Node.js runtime.

    The third flaw is a denial-of-service issue. In App Router apps that define at least one Server Action, crafted requests can push one server process to full CPU use and stop it from handling other requests. Apps on the Pages Router, or with no Server Actions, are not affected.

    Exposure can differ by host. Netlify said its platform does not run the image-optimizer code path and that the flaws have limited impact on its setup, while still recommending the upgrade.

    What to Do

    Upgrade to Next.js 16.4.1 if you run version 16, or 15.5.28 if you run version 15, then rebuild and redeploy.

    Vercel’s advisory says upgrading Next.js makes package managers supply the fixed sharp automatically. On version 16 that holds, because 16.4.1 requires sharp 0.35.5.

    On version 15 it may not. 15.5.28 still accepts the older, affected sharp 0.34.x, and upgrading over an existing install can leave that version in place. Check with npm ls sharp and update sharp to 0.35.5 or later if it is older.

    If you cannot upgrade Next.js right away, the image flaw has an interim option: make sure sharp is 0.35.5 or later, or block SVG rendering in sharp with sharp.block({ operation: ["VipsForeignLoadSvg"] }), as the sharp advisory describes. The use cache and Server Actions flaws have no workaround, and only the upgrade closes them.

    As of October 15, the use cache and Server Actions advisories had no CVE and did not appear in the npm advisory feed that npm audit uses, so dependency scanners may not warn you about them. The image flaw does surface, through sharp‘s own advisory.

    Why the Image Flaw Keeps Returning

    This is the third time since August that image processing in Next.js has produced a code-execution flaw. In August, a bug in libheif, reached through sharp, allowed code execution when the optimizer handled a crafted AVIF image. In September, a flaw in next/og let attacker-controlled text change the SVG it generated.

    Next.js did not change its own image code this time. 16.4.1 ships the same optimizer as 16.4.0 and fixes the image flaw by raising the bundled sharp to 0.35.5, which carries a patched librsvg (2.63.2).

    The librsvg bug, CVE-2026-96889, was made public on September 23 and fixed in sharp on September 27. Red Hat scored it 7.8 and said exploiting it needs user interaction, such as opening a malicious file. Vercel rated the Next.js exposure 9.5 and reachable over the network.

    Cybersecurity

    The researcher who reported the librsvg bug, Rafael B. Dias, says it is the weakness behind September’s next/og flaw. A working exploit for that earlier flaw, built for one specific server setup, has since been published.

    sharp’s maintainer also warns that whether the flaw ends in code execution or only a crash can come down to the server’s Node.js build, because the official Node.js binaries are not hardened against this kind of memory attack.

    Not the Same as React2Shell

    The React Server Components flaw sits in the same three packages as React2Shell, the maximum-severity flaw disclosed in December 2025 that attackers exploited at scale. This one is far narrower. React describes it as affecting “extremely rare cases where responses transport multiple typed arrays and an attacker-controlled value.”

    As of October 15, there are no public reports that any of the three flaws fixed on October 14 has been used in attacks.

    Caching critical flaws Next.js outofband patch processing RCE ships SVG
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    Peru’s drive for critical minerals threatens a disappearing glacier

    OpenAI Launches GPT-Image-2.6 Flare and Sunburst: Adds GIFs, SVG Export and 6-Second API Generation

    UK found to be ‘dangerously’ reliant on China for critical minerals needed for defence and AI | Critical minerals

    BTCPay Server warns of hot wallet crypto thefts on outdated instances

    Cybersecurity M&A Roundup: 37 Deals Announced in October 2026

    DarkBlinders Compromises Israeli Target and Iraqi Kurdish Government Cloud Environment

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    25 rumors about Pete Hegseth we’ve fact-checked

    November 12, 2026

    Poland turns to home-grown giant for its defense buildup – POLITICO

    November 12, 2026

    Senior doctors call off two-day strike planned this month

    November 12, 2026

    Wildlife trade regulator CITES lifts sanctions against Laos, prompting conservation concerns

    November 12, 2026
    Latest Posts

    Ukrainian man arrested in Croatia over Nord Stream blasts

    August 19, 2026

    Why extreme heat is much more dangerous for the elderly than we realised | Health News

    August 19, 2026

    Posts claim Eric Clapton brought deaf teen onstage in 1992. Tune out the noise

    August 19, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    25 rumors about Pete Hegseth we’ve fact-checked

    November 12, 2026

    Poland turns to home-grown giant for its defense buildup – POLITICO

    November 12, 2026

    Senior doctors call off two-day strike planned this month

    November 12, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.