Intel

AIKIDO-2026-10995

@ai-sdk/provider-utils is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 29, 2026

50

Medium Risk

This Affects:

JS@ai-sdk/provider-utils
0.0.1 - 4.0.14
Fixed in 4.0.15
Are you affected? Scan for Free

TL;DR

The downloadBlob helper in @ai-sdk/provider-utils reads response bodies via unbounded arrayBuffer() and blob() calls with no size cap. An attacker who can influence a URL passed into the helper can point at a host that streams arbitrarily large bytes and force the host process to crash. The default behavior applies no Content-Length check and no streaming limit. The fix introduces a readResponseWithSizeLimit helper that enforces a 2 GiB default cap, rejects responses whose advertised Content-Length exceeds the limit, and aborts streaming reads once received bytes pass the cap.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@ai-sdk/provider-utils is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 4.0.14.

How to fix this

Upgrade the @ai-sdk/provider-utils library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform