# CVE-2026-58045: Denial of service in node

> A flaw in Node.js zlib APIs allows a spoofed TypedArray byteLength to crash the process, causing denial of service.

- **Severity:** Medium 6.2 (`CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 4 Aug 2026
- **Updated:** 4 Aug 2026
- **Also known as:** ALPINE-CVE-2026-58045, BELL-CVE-2026-58045, BIT-node-2026-58045, BIT-node-min-2026-58045, CLEANSTART-2026-FK24161, DEBIAN-CVE-2026-58045, ECHO-2724-052b-b26c, GHSA-4j79-vxj3-vjvm, MINI-2993-q3pj-wf8w, MINI-3vvc-j2q6-hc8v, MINI-44fv-vfph-r5fx, MINI-66g2-8p8p-767w, MINI-7j3g-hw4v-c774, MINI-9gm4-7w82-4hm9, MINI-cpqp-xwm9-m9cr, MINI-wfxj-3j45-g5wc, UBUNTU-CVE-2026-58045

## What is CVE-2026-58045?

CVE-2026-58045 is a medium-severity denial of service vulnerability in nodejs node, published on 4 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

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**.

Weakness: CWE-400 (Uncontrolled Resource Consumption)

## Which versions are affected by CVE-2026-58045?

2 open source packages ship an affected version, including node and node-min.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `node` | Bitnami | All versions | 22.23.2, 24.18.1, 26.5.1 |
| `node-min` | Bitnami | All versions | 22.23.2, 24.18.1, 26.5.1 |

## How do I fix CVE-2026-58045?

Upgrade node to a fixed version for your release line: 22.23.2, 24.18.1 or 26.5.1.

## Is CVE-2026-58045 being exploited?

There is no known exploitation of CVE-2026-58045 in the wild and no public exploit code.

Public exploit code:

- Offline Node.js evidence checker for CVE-2026-58045: zlib synchronous API spoofed TypedArray crash. Single-file Python; JSON/CSV/HTML reports; no exploit payloads. (github_poc): https://github.com/CompleteTech-Security/node-cve-2026-58045-check

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-58045 and fix it if it is affected.

What it is: CVE-2026-58045 is a medium-severity denial of service vulnerability in nodejs node, published on 4 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-58045 in the wild and no public exploit code.

Affected packages and fixed versions:
- node (Bitnami): affected all versions; fixed in 22.23.2, 24.18.1, 26.5.1
- node-min (Bitnami): affected all versions; fixed in 22.23.2, 24.18.1, 26.5.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-58045/ (Markdown: https://insights.sbomify.com/CVE-2026-58045/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-58045
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-58045
- OSV: https://osv.dev/vulnerability/CVE-2026-58045

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-58045/
Summaries are generated and may contain mistakes; the official description above is the record.
