cve.bz

CVE-2022-36046 vercel next.js: Uncaught Exception

5.3 mediumEPSS 1.2%Fix available

Medium (5.3) in vercel next.js. EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in next 12.2.4.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-754 Improper Check for Unusual or Exceptional Conditions
CWE-248 Uncaught Exception
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • next (npm): fixed in 12.2.4

Ask an AI about this CVE

Show the promptExplain CVE-2022-36046 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-36046?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-36046?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-36046 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vercel:next.js12.2.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wff4-fpwg-qqv3npmnext>=12.2.3 <12.2.412.2.4
PYSEC-2022-43188PyPInextjs<=12.2.3no fix published

References

Check your stackJSON