Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-36046

MEDIUM 5.3EPSS 55%

Unexpected server crash in Next.js version 12.2.3

Also known as GHSA-wff4-fpwg-qqv3, PYSEC-2022-43188

Mitigation

  • Upgrade next to 12.2.4 or later.

Who should check

  • Projects that depend on npm package next (>= 12.2.3, < 12.2.4)
  • Projects that depend on PyPI package nextjs (<= 12.2.3)
  • Anyone running vercel next.js = 12.2.3

Vulnerability facts

Affected
next >= 12.2.3, < 12.2.4; nextjs <= 12.2.3
Fixed in
12.2.4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
5.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.84% chance of exploitation in 30 days (percentile 55, 2026-11-26)
CWE
CWE-248
Published
Modified

Description

Next.js is a React framework that can provide building blocks to create web applications. All of the following must be true to be affected by this CVE: Next.js version 12.2.3, Node.js version above v15.0.0 being used with strict `unhandledRejection` exiting AND using next start or a [custom server](https://nextjs.org/docs/advanced-features/custom-server). Deployments on Vercel ([vercel.com](https://vercel.com/)) are not affected along with similar environments where `next-server` isn't being shared across requests.

Affected and fixed versions

Package / productAffectedFixedSource
npm next>= 12.2.3, < 12.2.412.2.4osv
PyPI nextjs<= 12.2.3—osv
vercel next.js= 12.2.3—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-36046. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-36046.md
Affected: next >= 12.2.3, < 12.2.4; nextjs <= 12.2.3
Fixed in: 12.2.4

Steps:
1. Search this machine and project for next (npm), nextjs (PyPI), vercel next.js: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-36046 being exploited?

There is no confirmed exploitation: CVE-2022-36046 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.84% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-36046?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2022-36046?

next >= 12.2.3, < 12.2.4; nextjs <= 12.2.3.

Is there a fix for CVE-2022-36046?

Yes. Fixed in 12.2.4. Upgrade next to 12.2.4 or later.

How do I check if I'm affected by CVE-2022-36046?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors