NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

GHSA-w85g-3h6x-4xh2: OpenClaw: Image pixel-limit guard can fail open on sips and allow decompression-bomb DoS

mediumCVSS 4.0 6.9

OpenClaw 2026.3.28 and earlier have no reliable cap on image pixel counts, so a small file that declares huge dimensions, a decompression bomb, can exhaust memory and CPU when the gateway processes it, notably on the macOS sips backend. Upgrade to openclaw 2026.3.31, which rejects images over 25,000,000 pixels.

Published Apr 3, 2026 · Analysis Oct 30, 2026

What an attacker can do

OpenClaw resizes, converts and inspects images that arrive as media, in src/media/image-ops.ts. The pixel-limit guard could fail open, notably when the sips backend was in use: an image with an oversized pixel count was passed on to the decoder instead of being refused. A decompression bomb is a small compressed file that expands into a huge bitmap. A PNG, GIF, WebP or JPEG of a few kilobytes can declare dimensions that need gigabytes to decode.

The attacker needs only to get such an image into OpenClaw, for example as a chat attachment or a linked image. The CVSS 4.0 vector shows network access, no privileges and no user action. The result is high memory and CPU use, a slow or killed gateway, and failed work for everyone sharing it. The impact is availability only. The maintainers rate it medium.

Who is affected

The npm package openclaw at 2026.3.28 and earlier, wherever the gateway processes images from untrusted senders. Version 2026.3.31 is the first stable release with the fix. The sips path, which is the macOS image tool, is the case the advisory title names.

Check your install:

npm ls -g openclaw
openclaw --version

openclaw

Ecosystem
npm
Affected
<= 2026.3.28
Fixed in
2026.3.31
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.3.31 or later.

npm install -g [email protected]

Commit 0ed4f8a7 adds MAX_IMAGE_INPUT_PIXELS at 25,000,000 and passes it to sharp as limitInputPixels. It reads PNG, GIF, WebP and JPEG headers in JavaScript, with no decode, and rejects oversized images with the error Image dimensions exceed the 25,000,000 pixel input limit. The guard runs at the start of resize, convert, orientation and alpha-channel functions. If the size cannot be read and sips is the preferred backend, it refuses with Unable to determine image dimensions; refusing to process. The advisory names no workaround.

How to tell if you were hit

Check for gateway restarts, out-of-memory kills and sharp or sips processes using a lot of memory right after an image arrived. Find the offending attachment: a small file whose header declares very large width and height. On a patched version, search the logs for the two error strings above; they mark rejected images and so also attempts.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

Image pixel-limit guard can fail open on sips and allow decompression-bomb DoS

Current Maintainer Triage

  • Status: open
  • Normalized severity: medium
  • Assessment: Shipped v2026.3.28 image processing could fail open on oversized pixel counts and allow decompression-bomb DoS, an availability issue that is valid at medium.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Latest published npm version: 2026.3.31
  • Vulnerable version range: <=2026.3.28
  • Patched versions: >= 2026.3.31
  • First stable tag containing the fix: v2026.3.31

Fix Commit(s)

  • 0ed4f8a72bb140045962e97ab01c94c076b758a4 — 2026-03-31T22:52:55+09:00

OpenClaw thanks @AntAISecurityLab for reporting.

Credited to AntAISecurityLab.

Questions

Which versions are affected by GHSA-w85g-3h6x-4xh2?

OpenClaw 2026.3.28 and earlier. The patched version is 2026.3.31. The advisory has no CVE id.

What is the new image size limit?

25,000,000 pixels of input, set as MAX_IMAGE_INPUT_PIXELS. Larger images are rejected before any resize or decode work.

Is it exploited in the wild?

No source I read says so, and the entry has no CISA KEV flag.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries