Commit 929a385
authored
fix(deps): update dependency next to v16.1.5 [security] (#1164)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [next](https://nextjs.org)
([source](https://redirect.github.com/vercel/next.js)) | [`16.1.4` →
`16.1.5`](https://renovatebot.com/diffs/npm/next/16.1.4/16.1.5) |

|

|
### GitHub Vulnerability Alerts
####
[CVE-2025-59471](https://redirect.github.com/vercel/next.js/security/advisories/GHSA-9g9p-9gw9-jx7f)
A DoS vulnerability exists in self-hosted Next.js applications that have
`remotePatterns` configured for the Image Optimizer. The image
optimization endpoint (`/_next/image`) loads external images entirely
into memory without enforcing a maximum size limit, allowing an attacker
to cause out-of-memory conditions by requesting optimization of
arbitrarily large images. This vulnerability requires that
`remotePatterns` is configured to allow image optimization from external
domains and that the attacker can serve or control a large image on an
allowed domain.
Strongly consider upgrading to 15.5.10 and 16.1.5 to reduce risk and
prevent availability issues in Next applications.
####
[CVE-2025-59472](https://redirect.github.com/vercel/next.js/security/advisories/GHSA-5f7q-jpqc-wp7h)
A denial of service vulnerability exists in Next.js versions with
Partial Prerendering (PPR) enabled when running in minimal mode. The PPR
resume endpoint accepts unauthenticated POST requests with the
`Next-Resume: 1` header and processes attacker-controlled postponed
state data. Two closely related vulnerabilities allow an attacker to
crash the server process through memory exhaustion:
1. **Unbounded request body buffering**: The server buffers the entire
POST request body into memory using `Buffer.concat()` without enforcing
any size limit, allowing arbitrarily large payloads to exhaust available
memory.
2. **Unbounded decompression (zipbomb)**: The resume data cache is
decompressed using `inflateSync()` without limiting the decompressed
output size. A small compressed payload can expand to hundreds of
megabytes or gigabytes, causing memory exhaustion.
Both attack vectors result in a fatal V8 out-of-memory error (`FATAL
ERROR: Reached heap limit Allocation failed - JavaScript heap out of
memory`) causing the Node.js process to terminate. The zipbomb variant
is particularly dangerous as it can bypass reverse proxy request size
limits while still causing large memory allocation on the server.
To be affected, an application must run with `experimental.ppr: true` or
`cacheComponents: true` configured along with the
NEXT_PRIVATE_MINIMAL_MODE=1 environment variable.
Strongly consider upgrading to 15.6.0-canary.61 or 16.1.5 to reduce risk
and prevent availability issues in Next applications.
####
[GHSA-h25m-26qc-wcjf](https://redirect.github.com/facebook/react/security/advisories/GHSA-83fc-fqcc-2hmg)
A vulnerability affects certain React Server Components packages for
versions 19.0.x, 19.1.x, and 19.2.x and frameworks that use the affected
packages, including Next.js 13.x, 14.x, 15.x, and 16.x using the App
Router. The issue is tracked upstream as
[CVE-2026-23864](https://redirect.github.com/facebook/react/security/advisories/GHSA-83fc-fqcc-2hmg).
A specially crafted HTTP request can be sent to any App Router Server
Function endpoint that, when deserialized, may trigger excessive CPU
usage, out-of-memory exceptions, or server crashes. This can result in
denial of service in unpatched environments.
---
### Next.js has Unbounded Memory Consumption via PPR Resume Endpoint
[CVE-2025-59472](https://nvd.nist.gov/vuln/detail/CVE-2025-59472) /
[GHSA-5f7q-jpqc-wp7h](https://redirect.github.com/advisories/GHSA-5f7q-jpqc-wp7h)
<details>
<summary>More information</summary>
#### Details
A denial of service vulnerability exists in Next.js versions with
Partial Prerendering (PPR) enabled when running in minimal mode. The PPR
resume endpoint accepts unauthenticated POST requests with the
`Next-Resume: 1` header and processes attacker-controlled postponed
state data. Two closely related vulnerabilities allow an attacker to
crash the server process through memory exhaustion:
1. **Unbounded request body buffering**: The server buffers the entire
POST request body into memory using `Buffer.concat()` without enforcing
any size limit, allowing arbitrarily large payloads to exhaust available
memory.
2. **Unbounded decompression (zipbomb)**: The resume data cache is
decompressed using `inflateSync()` without limiting the decompressed
output size. A small compressed payload can expand to hundreds of
megabytes or gigabytes, causing memory exhaustion.
Both attack vectors result in a fatal V8 out-of-memory error (`FATAL
ERROR: Reached heap limit Allocation failed - JavaScript heap out of
memory`) causing the Node.js process to terminate. The zipbomb variant
is particularly dangerous as it can bypass reverse proxy request size
limits while still causing large memory allocation on the server.
To be affected, an application must run with `experimental.ppr: true` or
`cacheComponents: true` configured along with the
NEXT_PRIVATE_MINIMAL_MODE=1 environment variable.
Strongly consider upgrading to 15.6.0-canary.61 or 16.1.5 to reduce risk
and prevent availability issues in Next applications.
#### Severity
- CVSS Score: 5.9 / 10 (Medium)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
#### References
-
[https://github.com/vercel/next.js/security/advisories/GHSA-5f7q-jpqc-wp7h](https://redirect.github.com/vercel/next.js/security/advisories/GHSA-5f7q-jpqc-wp7h)
-
[https://nvd.nist.gov/vuln/detail/CVE-2025-59472](https://nvd.nist.gov/vuln/detail/CVE-2025-59472)
-
[https://github.com/vercel/next.js](https://redirect.github.com/vercel/next.js)
-
[https://vercel.com/changelog/summaries-of-cve-2025-59471-and-cve-2025-59472](https://vercel.com/changelog/summaries-of-cve-2025-59471-and-cve-2025-59472)
This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-5f7q-jpqc-wp7h) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>
---
### Next.js HTTP request deserialization can lead to DoS when using
insecure React Server Components
[GHSA-h25m-26qc-wcjf](https://redirect.github.com/advisories/GHSA-h25m-26qc-wcjf)
<details>
<summary>More information</summary>
#### Details
A vulnerability affects certain React Server Components packages for
versions 19.0.x, 19.1.x, and 19.2.x and frameworks that use the affected
packages, including Next.js 13.x, 14.x, 15.x, and 16.x using the App
Router. The issue is tracked upstream as
[CVE-2026-23864](https://redirect.github.com/facebook/react/security/advisories/GHSA-83fc-fqcc-2hmg).
A specially crafted HTTP request can be sent to any App Router Server
Function endpoint that, when deserialized, may trigger excessive CPU
usage, out-of-memory exceptions, or server crashes. This can result in
denial of service in unpatched environments.
#### Severity
- CVSS Score: 7.5 / 10 (High)
- Vector String: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
#### References
-
[https://github.com/facebook/react/security/advisories/GHSA-83fc-fqcc-2hmg](https://redirect.github.com/facebook/react/security/advisories/GHSA-83fc-fqcc-2hmg)
-
[https://github.com/vercel/next.js/security/advisories/GHSA-h25m-26qc-wcjf](https://redirect.github.com/vercel/next.js/security/advisories/GHSA-h25m-26qc-wcjf)
-
[https://nvd.nist.gov/vuln/detail/CVE-2026-23864](https://nvd.nist.gov/vuln/detail/CVE-2026-23864)
-
[https://github.com/vercel/next.js](https://redirect.github.com/vercel/next.js)
-
[https://vercel.com/changelog/summary-of-cve-2026-23864](https://vercel.com/changelog/summary-of-cve-2026-23864)
This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-h25m-26qc-wcjf) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>
---
### Next.js self-hosted applications vulnerable to DoS via Image
Optimizer remotePatterns configuration
[CVE-2025-59471](https://nvd.nist.gov/vuln/detail/CVE-2025-59471) /
[GHSA-9g9p-9gw9-jx7f](https://redirect.github.com/advisories/GHSA-9g9p-9gw9-jx7f)
<details>
<summary>More information</summary>
#### Details
A DoS vulnerability exists in self-hosted Next.js applications that have
`remotePatterns` configured for the Image Optimizer. The image
optimization endpoint (`/_next/image`) loads external images entirely
into memory without enforcing a maximum size limit, allowing an attacker
to cause out-of-memory conditions by requesting optimization of
arbitrarily large images. This vulnerability requires that
`remotePatterns` is configured to allow image optimization from external
domains and that the attacker can serve or control a large image on an
allowed domain.
Strongly consider upgrading to 15.5.10 and 16.1.5 to reduce risk and
prevent availability issues in Next applications.
#### Severity
- CVSS Score: 5.9 / 10 (Medium)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
#### References
-
[https://github.com/vercel/next.js/security/advisories/GHSA-9g9p-9gw9-jx7f](https://redirect.github.com/vercel/next.js/security/advisories/GHSA-9g9p-9gw9-jx7f)
-
[https://nvd.nist.gov/vuln/detail/CVE-2025-59471](https://nvd.nist.gov/vuln/detail/CVE-2025-59471)
-
[https://github.com/vercel/next.js/commit/500ec83743639addceaede95e95913398975156c](https://redirect.github.com/vercel/next.js/commit/500ec83743639addceaede95e95913398975156c)
-
[https://github.com/vercel/next.js/commit/e5b834d208fe0edf64aa26b5d76dcf6a176500ec](https://redirect.github.com/vercel/next.js/commit/e5b834d208fe0edf64aa26b5d76dcf6a176500ec)
-
[https://github.com/vercel/next.js](https://redirect.github.com/vercel/next.js)
-
[https://github.com/vercel/next.js/releases/tag/v15.5.10](https://redirect.github.com/vercel/next.js/releases/tag/v15.5.10)
-
[https://github.com/vercel/next.js/releases/tag/v16.1.5](https://redirect.github.com/vercel/next.js/releases/tag/v16.1.5)
This data is provided by
[OSV](https://osv.dev/vulnerability/GHSA-9g9p-9gw9-jx7f) and the [GitHub
Advisory Database](https://redirect.github.com/github/advisory-database)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>
---
### Release Notes
<details>
<summary>vercel/next.js (next)</summary>
###
[`v16.1.5`](https://redirect.github.com/vercel/next.js/releases/tag/v16.1.5)
[Compare
Source](https://redirect.github.com/vercel/next.js/compare/v16.1.4...v16.1.5)
Please refer the following changelogs for more information about this
security release:
<https://vercel.com/changelog/summaries-of-cve-2025-59471-and-cve-2025-59472>
<https://vercel.com/changelog/summary-of-cve-2026-23864>
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/launchdarkly/js-core).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41OS4wIiwidXBkYXRlZEluVmVyIjoiNDMuNTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 498216a commit 929a385
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments