GitHub Advisoryadvisory · npm

GHSA-4qwc-c7g9-4xcw OpenClaw: Remote media error responses could trigger unbounded memory allocation before failure

HIGH Published 2026-03-26 Modified 2026-04-10 Official page ↗
Aliases
CVE-2026-35633
Ecosystem
npm
Packages
openclaw
Severity
High
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Weaknesses
CWE-400, CWE-770
Reviewed
2026-03-26

Affected packages

• npm openclaw: < 2026.3.22 → fixed in 2026.3.22

Description

Summary Remote media HTTP error bodies were read without a hard size cap before failure handling, allowing unbounded allocation on error responses. Affected Packages / Versions • Package: `openclaw` (npm) • Affected: = 2026.3.22 • Latest released tag checked: `v2026.3.23-2` (`630f1479c44f78484dfa21bb407cbe6f171dac87`) • Latest published npm version checked: `2026.3.23-2` Fix Commit(s) • `81445a901091a5d27ef0b56fceedbe4724566438` Release Status The fix shipped in `v2026.3.22` and remains present in `v2026.3.23` and `v2026.3.23-2`. Code-Level Confirmation • src/media/fetch.ts now routes non-2xx failures through bounded prefix reads instead of buffering the whole error body. • src/media/read-response-with-limit.ts enforces capped reads and truncates oversized snippets before surfacing failure text. OpenClaw thanks @YLChen-007 for reporting.

Related

Alias · CVE (1)

  • CVE-2026-35633 OpenClaw before 2026.3.22 contains an unbounded memory allocation vulnerability in remote media HTTP error handling that allows attackers… vulnerability

Weakness · CWE (2)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References