GHSA-866g-f22w-33x8

Suggest an improvement
Source
https://github.com/advisories/GHSA-866g-f22w-33x8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-866g-f22w-33x8/GHSA-866g-f22w-33x8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-866g-f22w-33x8
Aliases
  • CVE-2026-8769
Downstream
Published
2026-05-18T00:31:37Z
Modified
2026-09-08T16:30:06Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 2.1 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-400"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-29T16:18:57Z",
    "nvd_published_at": "2026-05-17T23:17:03Z",
    "severity": "LOW"
}
References

Affected packages

npm / @ai-sdk/provider-utils

Package

Name
@ai-sdk/provider-utils
View open source insights on deps.dev
Purl
pkg:npm/%40ai-sdk/provider-utils

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.0.28

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-866g-f22w-33x8/GHSA-866g-f22w-33x8.json"

npm / @ai-sdk/provider-utils

Package

Name
@ai-sdk/provider-utils
View open source insights on deps.dev
Purl
pkg:npm/%40ai-sdk/provider-utils

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0-beta.10
Fixed
4.0.33

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-866g-f22w-33x8/GHSA-866g-f22w-33x8.json"

npm / @ai-sdk/provider-utils

Package

Name
@ai-sdk/provider-utils
View open source insights on deps.dev
Purl
pkg:npm/%40ai-sdk/provider-utils

Affected ranges

Type
SEMVER
Events
Introduced
5.0.0-beta.0
Fixed
5.0.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-866g-f22w-33x8/GHSA-866g-f22w-33x8.json"