CVE-2020-8252

published 18 Sep 2020 · updated 30 Apr 2025

The implementation of realpath in libuv < 10.22.1, < 12.18.4, and < 14.9.0 used within Node.js incorrectly determined the buffer size which…

5.0MediumEPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 10.22.1, 11.*, 12.18.4 and 8 more.

The implementation of realpath in libuv < 10.22.1, < 12.18.4, and < 14.9.0 used within Node.js incorrectly determined the buffer size which can result in a buffer overflow if the resolved path is longer than 256 bytes.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
nodejs>=10.0 <10.22.1, >=11.0 <11.*, >=12.0 <12.18.4, >=13.0 <13.*, >=14.0 <14.9.0, >=4.0 <4.*, >=5.0 <5.*, >=6.0 <6.*, >=7.0 <7.*, >=8.0 <8.*, >=9.0 <9.*10.22.1, 11.*, 12.18.4, 13.*, 14.9.0, 4.*, 5.*, 6.*, 7.*, 8.*, 9.*

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

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