Multiple Code Paths Missing Base64 Pre-Allocation Size Checks.
Several base64 decode paths could allocate before enforcing decoded-size limits.
OpenClaw is a user-controlled local assistant. This advisory is scoped to the OpenClaw trust model and does not assume a multi-tenant service boundary.
openclaw (npm)<=v2026.4.22026.4.8The issue was fixed on main and is available in the patched npm version listed above. The verified fixed tree is commit d7c3210cd6f5fdfdc1beff4c9541673e814354d5.
The fix was re-checked against main before publication, including targeted regression tests for the affected security boundary.
Thanks @zsxsoft and @KeenSecurityLab for reporting.
{
"cwe_ids": [
"CWE-770"
],
"github_reviewed_at": "2026-04-09T17:37:20Z",
"nvd_published_at": null,
"severity": "MODERATE",
"github_reviewed": true
}