CVE-2021-22940

published 16 Aug 2021 · updated 30 Apr 2025

Node.js before 16.6.1 14.17.5 and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption to change process behavior.

8.0HighCVSS 7.5EPSS 14%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 14%. Fixed in 10.*, 11.*, 12.22.5 and 10 more.

Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
nodejs>=10.0 <10.*, >=11.0 <11.*, >=12.0 <12.22.5, >=13.0 <13.*, >=14.0 <14.17.5, >=15.0 <15.*, >=16.0 <16.6.2, >=4.0 <4.*, >=5.0 <5.*, >=6.0 <6.*, >=7.0 <7.*, >=8.0 <8.*, >=9.0 <9.*10.*, 11.*, 12.22.5, 13.*, 14.17.5, 15.*, 16.6.2, 4.*, 5.*, 6.*, 7.*, 8.*, 9.*

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-22940 severity on Zeptric[![CVE-2021-22940](https://zeptric.io/badge/cve/CVE-2021-22940.svg)](https://zeptric.io/cve/CVE-2021-22940)