VDB
Sign up
HIGH8.2

GHSA-4qwc-c7g9-4xcw

OpenClaw: Remote media error responses could trigger unbounded memory allocation before failure

Quick fix

GHSA-4qwc-c7g9-4xcw — openclaw: upgrade to the fixed version with the command below.

npm install openclaw@2026.3.22

Details

## 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 - Fixed: >= 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/openclaw
Introduced in: 0Fixed in: 2026.3.22
Fixnpm install openclaw@2026.3.22

References