# CVE-2020-8265: Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation.

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/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): 9.12%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-01-06T21:01:15.000Z
- Modified: 2026-10-16T09:45:31.649Z
- Also known as: BIT-NODE-2020-8265, BIT-NODE-MIN-2020-8265
- Weaknesses: CWE-416
- Assigned by: hackerone

## Description

Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an error, this object is passed back to the caller as part of a StreamWriteResult structure. This may be exploited to corrupt memory leading to a Denial of Service or potentially other exploits.

(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.23.1; from 11.0 before 11.*; from 12.0 before 12.20.1; from 13.0 before 13.*; from 14.0 before 14.15.4; from 15.0 before 15.5.1
- nodejs node.js: from 10.0.0 before 10.23.1; from 12.0.0 before 12.20.1; from 14.0.0 before 14.15.4; from 15.0.0 before 15.5.1
- debian debian_linux: 10.0
- fedoraproject fedora: 32; 33
- oracle graalvm: 19.3.4; 20.3.0
- siemens sinec_infrastructure_network_services: before 1.0.1.1
- node (Bitnami): from 10.0.0 before 10.23.1; from 12.0.0 before 12.20.1; from 14.0.0 before 14.15.4; from 15.0.0 before 15.5.1
- node-min (Bitnami): from 10.0.0 before 10.23.1; from 12.0.0 before 12.20.1; from 14.0.0 before 14.15.4; from 15.0.0 before 15.5.1

## Every score

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

## References

- <https://hackerone.com/reports/988103> (exploit, advisory, issue-tracking, patch, third-party-advisory)
- <https://nodejs.org/en/blog/vulnerability/january-2021-security-releases/> (advisory, patch, vendor-advisory)
- <https://www.debian.org/security/2021/dsa-4826> (advisory, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K4I6MZNC7C7VIDQR267OL4TVCI3ZKAC4/> (vendor-advisory, web)
- <https://security.gentoo.org/glsa/202101-07> (advisory, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H472D5HPXN6RRXCNFML3BK5OYC52CXF2/> (vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpujan2021.html> (advisory, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210212-0003/> (advisory, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf> (patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8265> (web)

## Sources

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

---

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