All reports
Low

@ai-sdk/provider-utils has an Uncontrolled Resource Consumption issue

Affected versions

Affected versions
>= 5.0.0-beta.0, < 5.0.1
Fixed version
5.0.1
Affected versions
< 3.0.28
Fixed version
3.0.28
Affected versions
>= 4.0.0-beta.10, < 4.0.33
Fixed version
4.0.33

Exploitation

CVE-2026-8769

Probability of exploitation in the next 30 days: 0.56%

FIRST EPSS · 2026-11-18

Description

Versions of @ai-sdk/provider-utils before 3.0.28, from 4.0.0 before 4.0.33, and from 5.0.0 before 5.0.1 are vulnerable to uncontrolled resource consumption. The createJsonResponseHandler, createJsonErrorResponseHandler, and createStatusCodeErrorResponseHandler functions in packages/provider-utils/src/response-handler.ts read response bodies without a shared size limit, allowing a remote attacker with low privileges to cause excessive memory consumption. The exploit has been publicly disclosed and may be utilized.

Links

Credits

  • lachieh
  • lochoangwork
  • tractorcow