All reports
High

libuv: buffer overflow in realpath

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2020-8252

Probability of exploitation in the next 30 days: 0.71%

FIRST EPSS · 2026-11-22

Description

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.

A flaw has been found in libuv. The realpath() implementation performs an incorrect calculation when allocating a buffer, leading to a potential buffer overflow. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.