# CVE-2020-8252: 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…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-02)
- Published: 2020-09-18T20:11:51.000Z
- Modified: 2026-09-08T08:48:17.558Z
- Also known as: BIT-NODE-2020-8252, BIT-NODE-MIN-2020-8252
- Weaknesses: CWE-120
- Assigned by: hackerone

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

(As written by CVE List.)

## Affected

- NodeJS Node: from 4.0 before 4.*; from 5.0 before 5.*; from 6.0 before 6.*; from 7.0 before 7.*; from 8.0 before 8.*; from 9.0 before 9.*; from 10.0 before 10.22.1; from 11.0 before 11.*; from 12.0 before 12.18.4; from 13.0 before 13.*; from 14.0 before 14.9.0
- nodejs node.js: from 10.0.0 before 10.22.1; from 12.0.0 before 12.18.4; from 14.0.0 before 14.9.0
- opensuse leap: 15.2
- fedoraproject fedora: 33
- node (Bitnami): from 10.0.0 before 10.22.1; from 12.0.0 before 12.18.4; from 14.0.0 before 14.9.0
- node-min (Bitnami): from 10.0.0 before 10.22.1; from 12.0.0 before 12.18.4; from 14.0.0 before 14.9.0

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://nodejs.org/en/blog/vulnerability/september-2020-security-releases/> (advisory, vendor-advisory)
- <https://hackerone.com/reports/965914> (advisory, permissions-required, third-party-advisory)
- <https://security.gentoo.org/glsa/202009-15> (advisory, third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4548-1/> (advisory, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00011.html> (advisory, third-party-advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20201009-0004/> (advisory, third-party-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00023.html> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OOYAMJVLLCLXDTHW3V5UXNULZBBK4O6/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8252> (web)

## Sources

- CVE List: [CVE-2020-8252](https://www.cve.org/CVERecord?id=CVE-2020-8252), CVE Terms of Use, modified 2025-04-30
- NVD: [CVE-2020-8252](https://nvd.nist.gov/vuln/detail/CVE-2020-8252), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NODE-2020-8252](https://osv.dev/vulnerability/BIT-NODE-2020-8252), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2020-8252](https://osv.dev/vulnerability/BIT-NODE-MIN-2020-8252), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-8252 · Whole record: https://cve.day/CVE-2020-8252.json · Rebuilt by cve.day 2026-11-25T22:57:54.823Z
