megachangelog
Security15.5.10, 15.6.0-canary.61, 16.1.5, 16.2.0-canary.9

Security patches for CVE-2025-59471 and CVE-2025-59472

Two medium-severity denial-of-service vulnerabilities affecting self-hosted Next.js applications can cause server crashes through memory exhaustion. Vercel-hosted applications are unaffected and require no action. Fixes are available in Next.js 15.5.10, 15.6.0-canary.61, 16.1.5, and 16.2.0-canary.9.

Two medium-severity denial-of-service vulnerabilities were discovered in self-hosted Next.js applications. Both issues can cause server crashes through memory exhaustion under specific configurations. No data exposure or privilege escalation is possible. 

Applications hosted on Vercel’s platform are not affected by these issues, and require no customer action.

(CVSS 5.9) affects the Image Optimizer when external image optimization is enabled via . The endpoint loads remote images fully into memory without enforcing a maximum size, allowing an attacker to trigger out-of-memory conditions using very large images hosted on an allowed domain.CVE-2025-59471remotePatterns/_next/image

(CVSS 5.9) affects applications with Partial Pre-Rendering (PPR) enabled in minimal mode. The PPR resume endpoint accepts unauthenticated POST requests and processes attacker-controlled data, allowing memory exhaustion through unbounded request buffering or decompression.CVE-2025-59472

CVE-2025-59471

CVE-2025-59472

Both vulnerabilities can cause the Node.js process to terminate due to memory exhaustion, resulting in application downtime.

requires external image optimization to be enabled and the attacker to control a large image hosted on an allowed domain.CVE-2025-59471

only affects applications running with the or configuration options and as an environment variable.CVE-2025-59472experimental.ppr: truecacheComponents: trueNEXT_PRIVATE_MINIMAL_MODE=1

Fixed in:

Workaround:

For self-hosted deployments unable to upgrade immediately:

We thank for their responsible disclosure through our bug bounty program.Andrew MacPherson

Read more

Summary

Affected Versions

Impact

Resolution

Credit

References

  • Next.js versions >=10 through <15.5.10

  • Next.js versions >=16 through <16.1.5

  • Next.js versions >=15 through <15.6.0-canary.61

  • Next.js versions >=16 through <16.1.5

  • 15.5.10

  • 15.6.0-canary.61

  • 16.1.5

  • 16.2.0-canary.9

  • Restrict or remove untrusted remotePatterns

  • Disable Partial Pre-Rendering or minimal mode

  • Apply strict request size limits at the reverse proxy layer

securitydenial-of-servicememorynext.jscve

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Announcement2026.10.19

Updates to Hobby and Pro Terms of Service

Vercel is updating Terms of Service for Hobby and Pro customers effective October 19, 2026, clarifying credit policies, managed accounts, auto-renewal practices, and adding statutory cancellation and refund rights for UK and EU consumers, including protections for service changes with negative impact.

termsbillingcreditspolicylegal
Announcement

Mercury 3 now available on AI Gateway

Inception's Mercury 3 model is now available on Vercel's AI Gateway with 50% launch pricing and generation speeds exceeding 1,000 tokens per second. The model enables parallel text refinement with a 1M-token context window, ideal for real-time applications like browser agents and customer support.

ai-gatewaymodelsinferencellmlaunch
Announcement

MiniMax M3.1 Flash now available on AI Gateway for free

MiniMax M3.1 Flash, an open-weight multimodal model with 1M-token context window for coding and agentic work, is now available on Vercel's AI Gateway at no cost through October 20. The model excels at complex agent tasks, coding applications, and cybersecurity work, and can be used through multiple APIs and coding agents.

ai-gatewaymodelscodingagentsapi
See all Vercel changes →