Advisory

GHSA-4qwc-c7g9-4xcw

Also known as: CVE-2026-35633

Summary

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

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-26 19:50 UTC
Modified
2026-04-10 20:42 UTC

Affected packages and fixes

openclaw

npm · All systems

Affected

  • introduced 0, fixed 2026.3.22 (semver)

Fixed versions

2026.3.22

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences