CVE-2026-58045: Reachable assertion in node:zlib sync API crashes the entire process via spoofed TypedArray byteLength (all 11 *Sync functions affected)

Published Jul 29, 2026
·
Updated

A flaw in Node.js allows a spoofed TypedArray byteLength to trigger a reachable assertion in the synchronous node:zlib APIs, causing the entire process to crash. All 11 synchronous zlib functions are affected.

Repeated exploitation of this condition can result in a denial of service.

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

Other sources

A flaw in Node.js allows a spoofed TypedArray byteLength to trigger a reachable assertion in the synchronous node:zlib APIs, causing the process to crash.

Repeated exploitation of this condition can result in a denial of service.

— Node.Js

Affected Software

12 affected componentsFixes available
nodejs/Node.js>=22.0.0<=22.x
nodejs/Node.js>=24.0.0<=24.x
nodejs/Node.js>=26.0.0<=26.x
Node.js Node.js>=22.0.0<22.23.2, >=24.0.0<24.18.1, >=26.0.0<26.5.1
22.23.224.18.126.5.1
Node.js Node.js>=22.0.0<22.23.2
22.23.2
Node.js Node.js>=24.0.0<24.18.1
24.18.1
Node.js Node.js>=26.0.0<26.5.1
26.5.1
alpine/nodejs<22.23.2-r0
22.23.2-r0
alpine/nodejs<22.23.2-r0
22.23.2-r0
alpine/nodejs<24.18.1-r0
24.18.1-r0
alpine/nodejs<24.18.1-r0
24.18.1-r0
alpine/nodejs-current<26.5.1-r0
26.5.1-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 22.23.2Fixed in 24.18.1Fixed in 26.5.1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 22.23.2
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 24.18.1
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.5.1
  5. Upgrade

    Upgrade alpine/nodejs to a version that resolves this vulnerability.

    Fixed in 22.23.2-r0
  6. Upgrade

    Upgrade alpine/nodejs to a version that resolves this vulnerability.

    Fixed in 24.18.1-r0
  7. Upgrade

    Upgrade alpine/nodejs-current to a version that resolves this vulnerability.

    Fixed in 26.5.1-r0

Event History

Jul 29, 2026
CVE Published
via Node.js·12:00 AM
Data Sourced
via Node.js·12:00 AM
DescriptionSeverityAffected Software
Aug 4, 2026
CVE Published
via MITRE·12:49 AM
Data Sourced
via MITRE·12:49 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·01:16 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-58045?

The severity of CVE-2026-58045 is medium with a score of 6.2.

2

How do I fix CVE-2026-58045?

To fix CVE-2026-58045, update your Node.js version to the latest security release that addresses this vulnerability.

3

What are the potential impacts of CVE-2026-58045?

CVE-2026-58045 can lead to denial of service by causing the Node.js process to crash when exploited.

4

Which Node.js features are affected by CVE-2026-58045?

CVE-2026-58045 affects all 11 synchronous zlib functions in Node.js.

5

Is CVE-2026-58045 a remote or local vulnerability?

CVE-2026-58045 is a local vulnerability since it requires an attacker to have access to the Node.js application environment.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203