CVE-2026-58045
Node.js Schwachstellenanalyse und -minderung

Überblick

CVE-2026-58045 is a denial-of-service vulnerability in Node.js's synchronous node:zlib APIs caused by a spoofed TypedArray byteLength triggering a reachable assertion, which crashes the process. It was disclosed on July 29, 2026, as part of Node.js's July 2026 security release batch. The vulnerability affects all active Node.js release lines: 22.x, 24.x, and 26.x. It carries a Medium severity rating, with a CVSS category estimate of Medium (Node.js Advisory).

Technische Details

The root cause is improper handling of a spoofed byteLength property on a TypedArray object passed to the synchronous node:zlib APIs (e.g., zlib.deflateSync(), zlib.inflateSync()). When the reported byteLength does not match the actual buffer size, the zlib binding triggers a reachable assertion failure, causing the Node.js process to abort. This is consistent with CWE-617 (Reachable Assertion) or CWE-787 (Out-of-Bounds Write), as the Feedly description references an out-of-bounds write buffer condition. The vulnerability was reported by researcher byvini and fixed by RafaelGSS (Node.js Advisory).

Aufprall

Successful exploitation causes the Node.js process to crash, resulting in a denial of service. Any application that passes user-controlled or externally influenced TypedArray objects to synchronous node:zlib APIs is at risk. Repeated triggering of this condition can sustain a denial-of-service condition against affected services. There is no known confidentiality or integrity impact beyond process availability (Node.js Advisory).

Ausnutzungsschritte

  1. Identify target: Locate a Node.js application (running 22.x, 24.x, or 26.x) that accepts external input and passes it to synchronous node:zlib APIs such as zlib.deflateSync(), zlib.inflateSync(), zlib.brotliCompressSync(), or similar.
  2. Craft malicious TypedArray: Create a TypedArray object (e.g., Uint8Array) with a spoofed byteLength property — overriding the getter to return a value inconsistent with the actual underlying buffer size.
  3. Submit payload: Pass the crafted TypedArray as input to the vulnerable synchronous zlib API call within the target application, either directly via an API endpoint or through any code path that processes attacker-controlled binary data.
  4. Trigger crash: The zlib binding reads the spoofed byteLength, attempts an out-of-bounds operation, hits a reachable assertion, and aborts the Node.js process, causing a denial of service.
  5. Repeat for sustained DoS: Repeatedly send the malicious payload to keep the service unavailable, particularly if the application auto-restarts (Node.js Advisory).

Indikatoren für Kompromittierung

  • Logs: Unexpected Node.js process crashes with assertion failure messages in application logs or system logs (e.g., Assertion failed, node: ../src/... stack traces related to zlib bindings).
  • Process: Repeated abnormal termination of the Node.js process, particularly correlated with requests involving compressed data or binary buffer processing.
  • Network: Unusual or malformed binary payloads submitted to application endpoints that handle compression/decompression operations.
  • Application Logs: Crash reports or core dumps generated by the Node.js runtime in the application working directory following zlib API calls.

Risikominderung und Problemumgehungen

Node.js has released patched versions addressing CVE-2026-58045: v22.23.2, v24.18.1, and v26.5.1. All users on active release lines (22.x, 24.x, 26.x) should upgrade to the respective patched version immediately. As a workaround, applications can validate TypedArray inputs before passing them to synchronous node:zlib APIs, ensuring the byteLength is consistent with the actual buffer. End-of-Life Node.js versions are also affected and should be migrated to a supported release line (Node.js Advisory, Node.js v22.23.2, Node.js v24.18.1, Node.js v26.5.1).

Reaktionen der Community

Security news outlets including CyberSecurityNews and CyberPress covered the broader July 2026 Node.js security release, noting that 11 vulnerabilities were patched across active release lines (CyberSecurityNews, CyberPress). The Apereo CAS project also responded quickly with a dependency update commit referencing the Node.js security releases (Apereo CAS). Community reaction has been moderate, with the focus primarily on the higher-severity HTTP/2 and Permission Model issues in the same release batch.

Zusätzliche Ressourcen


QuelleDieser Bericht wurde mithilfe von KI erstellt

Verwandt Node.js Schwachstellen:

CVE-Kennung

Strenge

Punktzahl

Technologieen

Name der Komponente

CISA KEV-Exploit

Hat fix

Veröffentlichungsdatum

CVE-2026-56846HIGH7.5
  • Node.js logoNode.js
  • nodejs22
NeinJaAug 04, 2026
CVE-2026-58045MEDIUM6.2
  • Node.js logoNode.js
  • nodejs22
NeinJaAug 04, 2026
CVE-2026-58042MEDIUM5.9
  • Node.js logoNode.js
  • nodejs24
NeinJaAug 04, 2026
CVE-2026-58041MEDIUM5.3
  • Node.js logoNode.js
  • nodejs
NeinJaAug 04, 2026
CVE-2026-58044LOW3.7
  • Node.js logoNode.js
  • nodejs24
NeinJaAug 04, 2026

Kostenlose Schwachstellenbewertung

Benchmarking Ihrer Cloud-Sicherheitslage

Bewerten Sie Ihre Cloud-Sicherheitspraktiken in 9 Sicherheitsbereichen, um Ihr Risikoniveau zu bewerten und Lücken in Ihren Abwehrmaßnahmen zu identifizieren.

Bewertung anfordern

Eine personalisierte Demo anfordern

Sind Sie bereit, Wiz in Aktion zu sehen?

"Die beste Benutzererfahrung, die ich je gesehen habe, bietet vollständige Transparenz für Cloud-Workloads."
David EstlickCISO
"„Wiz bietet eine zentrale Oberfläche, um zu sehen, was in unseren Cloud-Umgebungen vor sich geht.“ "
Adam FletcherSicherheitsbeauftragter
"„Wir wissen, dass, wenn Wiz etwas als kritisch identifiziert, es auch wirklich kritisch ist.“"
Greg PoniatowskiLeiter Bedrohungs- und Schwachstellenmanagement