# CVE-2020-8252: Node.js 14 and 1 other: Classic Buffer Overflow (CWE-120)

CVE-2020-8252 is fixed in 10 products on 2 platforms, first by Node.js 14 14.9.0, released August 27, 2020. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2020-8252
- Priority: High
- CVSS: 7.8 (Moderate)
- EPSS: 0.0071
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 18, 2020
- Weakness: CWE-120: Classic Buffer Overflow (CWE-120)
- Vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2020-8252

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Node.js 10 | 10.23.2 | [Node.js 10 10.23.2](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.10-10.23.2.md) | Jan 26, 2021 |
| Windows apps | Node.js 14 | 14.9.0 | [Node.js 14 14.9.0](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.14-14.9.0.md) | Aug 27, 2020 |
| Linux | libuv1 Ubuntu 20.04 LTS (focal) | 1.34.2-1ubuntu1.1 | [libuv1 1.34.2-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libuv1-1.34.2-1ubuntu1.1.md) | Sep 18, 2020 |
| Linux | nodejs RHEL 8 | 1:10.23.1-1.module+el8.3.0+9502+012d8a97 | [RHSA-2021:0548](https://patchblox.com/security/data/fix/linux/rhsa-2021-0548.md) | Feb 16, 2021 |
| Linux | nodejs ol 8 | 1:12.18.4-2.module+el8.2.0+7806+0b44ae23 | [ELSA-2020-4272](https://patchblox.com/security/data/fix/linux/elsa-2020-4272.md) | Oct 20, 2020 |
| Linux | nodejs-devel RHEL 8 | 1:10.23.1-1.module+el8.3.0+9502+012d8a97 | [RHSA-2021:0548](https://patchblox.com/security/data/fix/linux/rhsa-2021-0548.md) | Feb 16, 2021 |
| Linux | nodejs-devel ol 8 | 1:12.18.4-2.module+el8.2.0+7806+0b44ae23 | [ELSA-2020-4272](https://patchblox.com/security/data/fix/linux/elsa-2020-4272.md) | Oct 20, 2020 |
| Linux | nodejs-docs RHEL 8 | 1:10.23.1-1.module+el8.3.0+9502+012d8a97 | [RHSA-2021:0548](https://patchblox.com/security/data/fix/linux/rhsa-2021-0548.md) | Feb 16, 2021 |
| Linux | nodejs-docs ol 8 | 1:12.18.4-2.module+el8.2.0+7806+0b44ae23 | [ELSA-2020-4272](https://patchblox.com/security/data/fix/linux/elsa-2020-4272.md) | Oct 20, 2020 |
| Linux | nodejs-full-i18n RHEL 8 | 1:10.23.1-1.module+el8.3.0+9502+012d8a97 | [RHSA-2021:0548](https://patchblox.com/security/data/fix/linux/rhsa-2021-0548.md) | Feb 16, 2021 |
| Linux | nodejs-full-i18n ol 8 | 1:12.18.4-2.module+el8.2.0+7806+0b44ae23 | [ELSA-2020-4272](https://patchblox.com/security/data/fix/linux/elsa-2020-4272.md) | Oct 20, 2020 |
| Linux | nodejs-nodemon RHEL 8 | 0:1.18.3-1.module+el8+2632+6c5111ed | [RHSA-2021:0548](https://patchblox.com/security/data/fix/linux/rhsa-2021-0548.md) | Feb 16, 2021 |
| Linux | nodejs-nodemon ol 8 | 0:1.18.3-1.module+el8.1.0+5393+aaf413e3 | [ELSA-2020-4272](https://patchblox.com/security/data/fix/linux/elsa-2020-4272.md) | Oct 20, 2020 |
| Linux | nodejs-packaging RHEL 8 | 0:17-3.module+el8+2873+aa7dfd9a | [RHSA-2021:0548](https://patchblox.com/security/data/fix/linux/rhsa-2021-0548.md) | Feb 16, 2021 |
| Linux | nodejs-packaging ol 8 | 0:17-3.module+el8.1.0+5393+aaf413e3 | [ELSA-2020-4272](https://patchblox.com/security/data/fix/linux/elsa-2020-4272.md) | Oct 20, 2020 |
| Linux | npm RHEL 8 | 1:6.14.10-1.10.23.1.1.module+el8.3.0+9502+012d8a97 | [RHSA-2021:0548](https://patchblox.com/security/data/fix/linux/rhsa-2021-0548.md) | Feb 16, 2021 |
| Linux | npm ol 8 | 1:6.14.6-1.12.18.4.2.module+el8.2.0+7806+0b44ae23 | [ELSA-2020-4272](https://patchblox.com/security/data/fix/linux/elsa-2020-4272.md) | Oct 20, 2020 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
