CVE-2020-8265

published 6 Jan 2021 · updated 30 Apr 2025

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

5.0MediumEPSS 9%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 9%. Fixed in 10.23.1, 11.*, 12.20.1 and 9 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
nodejs>=10.0 <10.23.1, >=11.0 <11.*, >=12.0 <12.20.1, >=13.0 <13.*, >=14.0 <14.15.4, >=15.0 <15.5.1, >=4.0 <4.*, >=5.0 <5.*, >=6.0 <6.*, >=7.0 <7.*, >=8.0 <8.*, >=9.0 <9.*10.23.1, 11.*, 12.20.1, 13.*, 14.15.4, 15.5.1, 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-8265 severity on Zeptric[![CVE-2020-8265](https://zeptric.io/badge/cve/CVE-2020-8265.svg)](https://zeptric.io/cve/CVE-2020-8265)