GHSA-866g-f22w-33x8

    Dashboard / Vulnerabilities / GHSA-866g-f22w-33x8

    GHSA-866g-f22w-33x8

    Published: 18 May 2026Last Modified: 8 Sept 2026
    Aliases:

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

    Details: 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.

    Affected packages

    Package

    Name: @ai-sdk/provider-utils

    Purl: pkg:npm/%40ai-sdk/provider-utils

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -3.0.28

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-866g-f22w-33x8 | CVE-DB