CVE-2026-56848

nodejs: Node.js: Heap-use-after-free in HTTP/2 handling can lead to denial of service

Published Aug 4, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
A flaw in Node.js HTTP/2 handling allows `nghttp2_session_mem_send()` to be called re-entrantly while `nghttp2_session_mem_recv()` is executing, resulting in a heap-use-after-free.

This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.

Analysis

AI-generated

Technical impact

A flaw in Node.js HTTP/2 handling permits the function nghttp2_session_mem_send() to be invoked again while nghttp2_session_mem_recv() is still executing, causing a heap‑use‑after‑free condition. The memory corruption that results can lead to a denial‑of‑service attack. This vulnerability falls under CWEs 416 and 825, indicating a misuse or flaw in memory management and incorrect default behavior for unauthenticated users.

Affected Systems

Node.js versions 26.x, 24.x, and 22.x are affected. The vulnerability originates in the nodejs:node product and impacts servers or applications that use these Node.js releases and rely on the HTTP/2 protocol.

Risk and Exploitability

The CVSS score of 7.5 classifies the vulnerability as high severity; however, the EPSS score is < 1% and it is not listed in CISA KEV. The likely attack vector is remote, requiring an attacker to send specially crafted HTTP/2 traffic to a Node.js application. Exploitation requires the ability to send multiple concurrent or overlapping HTTP/2 requests that trigger the re‑entrant call. Given the severity and remote nature, timely remediation is recommended.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Node.js to a patched version from the July 2026 security releases as documented on the Node.js blog
  • If HTTP/2 is not needed in your environment, disable it in your application configuration and server settings to remove the vulnerable path
  • Ensure that any dependent native modules such as nghttp2 are also updated to their latest patched versions

Generated by OpenCVE AI on August 7, 2026 at 14:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4809-1 nodejs security update
Debian DSA Debian DSA DSA-6517-1 nodejs security update
History
Type Values Removed Values Added
Title Node.js HTTP/2 Heap Use‑After‑Free via Re‑entrant Call nodejs: Node.js: Heap-use-after-free in HTTP/2 handling can lead to denial of service
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Nodejs
Nodejs nodejs
Vendors & Products Nodejs
Nodejs nodejs
Type Values Removed Values Added
Title Node.js HTTP/2 Heap Use‑After‑Free via Re‑entrant Call
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw in Node.js HTTP/2 handling allows `nghttp2_session_mem_send()` to be called re-entrantly while `nghttp2_session_mem_recv()` is executing, resulting in a heap-use-after-free. This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.
Weaknesses CWE-416
References
Metrics cvssV3_0

{'score': 7.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Aug 4, 2026, 5:36 PM
Reserved
Jun 23, 2026, 3:00 PM
Status
Awaiting Analysis
Published
Aug 4, 2026, 5:16 PM
Modified
Oct 24, 2026, 4:10 PM
Severity
Important
Public date
Aug 4, 2026, 3:57 PM