Skip to main content
No exploitation reportedFix available

CVE-2020-8265

No exploitation reported by the sources we read.

  • Published2021-01-06
  • Fixed in15.5.1 · 14.15.4 · 12.20.1 · 10.23.1
  • WeaknessCWE-416

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2021-01-0621:15CVE publishedNVD

Versions per branch

NVD · OSV
Node.js
BranchAffectedFixed in
15.x≥ 15.0.0, < 15.5.115.5.1
14.x≥ 14.0.0, < 14.15.414.15.4
12.x≥ 12.0.0, < 12.20.112.20.1
10.x≥ 10.0.0, < 10.23.110.23.1
Fedoraproject fedora
BranchAffectedFixed in
32.x= 32no fix published
33.x= 33no fix published
Oracle graalvm
BranchAffectedFixed in
19.3= 19.3.4no fix published
20.3= 20.3.0no fix published

2 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • nodejsUbuntu:Pro:18.04:LTSall versions · fixed in 8.10.0~dfsg-2ubuntu0.4+esm2
  • nodejsUbuntu:Pro:16.04:LTSall versions · fixed in 4.2.6~dfsg-1ubuntu4.2+esm2
  • nodejsUbuntu:20.04:LTSall versions · fixed in 10.19.0~dfsg-3ubuntu1.1
  • nodejsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 1:10.23.1-1.module+el8.3.0+9502+012d8a97and 5 other packages
  • nodejsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 1:12.20.1-1.module+el8.3.0+9503+19cb079cand 5 other packages
  • nodejsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 1:14.15.4-2.module+el8.3.0+9635+ffdf8381and 5 other packages
  • nodejsopenEuler:20.03-LTS-SP1all versions · fixed in 10.21.0-5.oe1
  • nodejsopenEuler:20.03-LTSall versions · fixed in 10.21.0-5.oe1

83 more package ranges on OSV.dev

Vendor advisories

  • CVE-2020-8265 Red Hat Product Security242 products fixed

    nodejs: use-after-free in the TLS implementation

  • ICSA-22-111-03 CISA1 known affected

    Hitachi Energy MicroSCADA Pro/X SYS600

    SYS600: Versions 10.1.1 and prior

  • ICSA-22-090-02 CISA1 known affected

    Hitachi Energy e-mesh EMS

    e-mesh EMS: Version 1.0

  • ICSA-22-069-09 CISA1 known affected

    Siemens SINEC INS

    SINEC INS

  • SSA-389290 Siemens ProductCERT1 known affected

    SSA-389290: Third-Party Component Vulnerabilities in SINEC INS

    SINEC INS

  • RHSA-2021:0551 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: nodejs:14 security and bug fix update

5 more advisories

Full record on NVD

Fix

  1. Update Node.js to 15.5.1 · 14.15.4 · 12.20.1 · 10.23.1
  2. Vendor fix Siemens ProductCERT SSA-389290 · 1 productUpdate to V1.0.1.1 or later version
  3. Vendor fix CISA ICSA-22-069-09 · 1 productUpdate to V1.0.1.1 or later version
  4. Vendor fix Red Hat Product Security RHSA-2021:0551 · 30 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  5. Mitigation from the vendor CISA ICSA-22-111-03 · 3 productsHitachi Energy recommends users update to Versions 10.3 or later. For obtaining the update users should contact the Hitachi Energy technical support team. If users don't know who to contact, they should reach the closest Hitachi Energy sales office.
  6. Mitigation from the vendor CISA ICSA-22-111-03 · 3 productsHitachi Energy recommends security practices and firewall configurations to help protect process control networks from attacks that originate from outside the network. Such practices include physically protecting process control systems from direct access by unauthorized personnel, having no direct…
  7. Mitigation from the vendor CISA ICSA-22-111-03 · 3 productsFor more information see Hitachi Energy advisory 8DBD000075

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.18.1read 2026-10-23
  • NVDCVSS 2.06.8read 2026-10-23
  • CNAweakness (CWE)CWE-416known since 2026-10-23
  • NVDweakness (CWE)CWE-416read 2026-10-23
  • FIRST EPSSEPSS score9.1 %2026-12-04
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2021-01-06
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-879w-9vpf-9pw9

Frequently asked questions

What is 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. 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.

Is CVE-2020-8265 actively exploited?

Active exploitation of CVE-2020-8265 has not been confirmed. Its EPSS score was 9.1% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-8265?

CVE-2020-8265 has a CVSS v3 base score of 8.1 (High severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running Node.js? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record