GHSA-mwv6-3258-q52c: Next Denial of Service Vulnerability

HIGH
CVSS 7.5
CWE-502 CWE-400 CWE-1395
Published
Advisory Summary

GHSA-mwv6-3258-q52c is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Next libraries in the npm ecosystem. The issue involves next vulnerable to denial of service with server components. Remediation is available by upgrading affected packages to version 14.2.34, 15.0.6, 15.1.10, 15.2.7, 15.3.7, 15.4.9, 15.5.8, 15.6.0-canary.59, 16.0.9, 16.1.0-canary.17.

GHSA-mwv6-3258-q52c at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-mwv6-3258-q52c
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Next
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix GHSA-mwv6-3258-q52c

To remediate this vulnerability, upgrade all affected Next dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

next fixed: 14.2.34
npm install next@14.2.34
next fixed: 15.0.6
npm install next@15.0.6
next fixed: 15.1.10
npm install next@15.1.10
next fixed: 15.2.7
npm install next@15.2.7
next fixed: 15.3.7
npm install next@15.3.7
next fixed: 15.4.9
npm install next@15.4.9
next fixed: 15.5.8
npm install next@15.5.8
next fixed: 15.6.0-canary.59
npm install next@15.6.0-canary.59
next fixed: 16.0.9
npm install next@16.0.9
next fixed: 16.1.0-canary.17
npm install next@16.1.0-canary.17
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls next

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-mwv6-3258-q52c, inspect your project dependencies using npm:

npm ls next

Analyze the terminal output to locate any version of Next in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 14.2.34), your application is affected.

Note: The npm ls next command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Next, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability affects certain React packages for versions 19.0.0, 19.0.1, 19.1.0, 19.1.1, 19.1.2, 19.2.0, and 19.2.1 and frameworks that use the affected packages, including Next.js 15.x and 16.x using the App Router. The issue is tracked upstream as [CVE-2025-55184](https://www.cve.org/CVERecord?id=CVE-2025-55184). A malicious HTTP request can be crafted and sent to any App Router endpoint that, when deserialized, can cause the server process to hang and consume CPU. This can result in denial of service in unpatched environments.

GHSA-mwv6-3258-q52c Affected Next Versions

10 component(s)
Fixed Versions:
14.2.3415.0.615.1.1015.2.715.3.715.4.915.5.815.6.0-canary.5916.0.916.1.0-canary.17
Product / Package Ecosystem Affected Versions Fixed Version
next
npm
≥ 13.3.0
< 14.2.34
14.2.34
next
npm
≥ 15.0.0-canary.0
< 15.0.6
15.0.6
next
npm
≥ 15.1.1-canary.0
< 15.1.10
15.1.10
next
npm
≥ 15.2.0-canary.0
< 15.2.7
15.2.7
next
npm
≥ 15.3.0-canary.0
< 15.3.7
15.3.7
next
npm
≥ 15.4.0-canary.0
< 15.4.9
15.4.9
next
npm
≥ 15.5.1-canary.0
< 15.5.8
15.5.8
next
npm
≥ 15.6.0-canary.0
< 15.6.0-canary.59
15.6.0-canary.59
next
npm
≥ 16.0.0-beta.0
< 16.0.9
16.0.9
next
npm
≥ 16.1.0-canary.0
< 16.1.0-canary.17
16.1.0-canary.17

References

Frequently Asked Questions

What is GHSA-mwv6-3258-q52c?
GHSA-mwv6-3258-q52c is a security vulnerability in Next involving Next Vulnerable to Denial of Service with Server Components under CWE-502: Deserialization of Untrusted Data.
Which Next versions are affected?
Affected versions include releases prior to 14.2.34, 15.0.6, 15.1.10, 15.2.7, 15.3.7, 15.4.9, 15.5.8, 15.6.0-canary.59, 16.0.9, 16.1.0-canary.17 across affected packages: next.
What version fixes GHSA-mwv6-3258-q52c?
Upgrading to 14.2.34, 15.0.6, 15.1.10, 15.2.7, 15.3.7, 15.4.9, 15.5.8, 15.6.0-canary.59, 16.0.9, 16.1.0-canary.17 (or the latest patched release for your respective branch) resolves the vulnerability.
Is next affected?
Yes, next is affected in releases prior to 14.2.34, 15.0.6, 15.1.10, 15.2.7, 15.3.7, 15.4.9, 15.5.8, 15.6.0-canary.59, 16.0.9, 16.1.0-canary.17. Upgrade your dependency to 14.2.34, 15.0.6, 15.1.10, 15.2.7, 15.3.7, 15.4.9, 15.5.8, 15.6.0-canary.59, 16.0.9, 16.1.0-canary.17 or later.
What is the CVSS score of GHSA-mwv6-3258-q52c?
GHSA-mwv6-3258-q52c has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with GHSA-mwv6-3258-q52c?
GHSA-mwv6-3258-q52c is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check npm dependencies for GHSA-mwv6-3258-q52c?
Run the dependency tree command: 'npm ls next'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-mwv6-3258-q52c",
  "modified" : "2025-12-11T22:49:28Z",
  "published" : "2025-12-11T22:49:27Z",
  "aliases" : [ ],
  "summary" : "Next Vulnerable to Denial of Service with Server Components",
  "details" : "A vulnerability affects certain React packages for versions 19.0.0, 19.0.1, 19.1.0, 19.1.1, 19.1.2, 19.2.0, and 19.2.1 and frameworks that use the affected packages, including Next.js 15.x and 16.x using the App Router. The issue is tracked upstream as [CVE-2025-55184](https://www.cve.org/CVERecord?id=CVE-2025-55184).\n\nA malicious HTTP request can be crafted and sent to any App Router endpoint that, when deserialized, can cause the server process to hang and consume CPU. This can result in denial of service in unpatched environments.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "next"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "13.3.0"
      }, {
        "fixed" : "14.2.34"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "next"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.0.0-canary.0"
      }, {
        "fixed" : "15.0.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "next"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.1.1-canary.0"
      }, {
        "fixed" : "15.1.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "next"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.2.0-canary.0"
      }, {
        "fixed" : "15.2.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "next"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.3.0-canary.0"
      }, {
        "fixed" : "15.3.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "next"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.4.0-canary.0"
      }, {
        "fixed" : "15.4.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "next"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.5.1-canary.0"
      }, {
        "fixed" : "15.5.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "next"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.6.0-canary.0"
      }, {
        "fixed" : "15.6.0-canary.59"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "next"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.0.0-beta.0"
      }, {
        "fixed" : "16.0.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "next"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.1.0-canary.0"
      }, {
        "fixed" : "16.1.0-canary.17"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/vercel/next.js/security/advisories/GHSA-mwv6-3258-q52c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/vercel/next.js"
  }, {
    "type" : "WEB",
    "url" : "https://nextjs.org/blog/security-update-2025-12-11"
  }, {
    "type" : "WEB",
    "url" : "https://www.cve.org/CVERecord?id=CVE-2025-55184"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1395", "CWE-400", "CWE-502" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-11T22:49:27Z",
    "nvd_published_at" : null
  }
}