GHSA-866G-F22W-33X8
Vulnerability from github – Published: 2026-05-18 00:31 – Updated: 2026-09-08 16:16Versions 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": [
{
"package": {
"ecosystem": "npm",
"name": "@ai-sdk/provider-utils"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.28"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "@ai-sdk/provider-utils"
},
"ranges": [
{
"events": [
{
"introduced": "4.0.0-beta.10"
},
{
"fixed": "4.0.33"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "@ai-sdk/provider-utils"
},
"ranges": [
{
"events": [
{
"introduced": "5.0.0-beta.0"
},
{
"fixed": "5.0.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-8769"
],
"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"
},
"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.",
"id": "GHSA-866g-f22w-33x8",
"modified": "2026-09-08T16:16:50Z",
"published": "2026-05-18T00:31:37Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-8769"
},
{
"type": "WEB",
"url": "https://github.com/vercel/ai/pull/16374"
},
{
"type": "WEB",
"url": "https://github.com/vercel/ai/commit/6a436e31d247d678ddaedfc6f61e73ac0595e4b4"
},
{
"type": "WEB",
"url": "https://github.com/vercel/ai/commit/b30e43ac3fae2432a40b4f4f27f844f3d78b119e"
},
{
"type": "WEB",
"url": "https://github.com/vercel/ai/commit/b85c4fbc603b8173cf50a9790823397aada908a9"
},
{
"type": "WEB",
"url": "https://gist.github.com/YLChen-007/fb1096bc8428bed9a428f764d9d103bb"
},
{
"type": "PACKAGE",
"url": "https://github.com/vercel/ai"
},
{
"type": "WEB",
"url": "https://github.com/vercel/ai/blob/main/packages/provider-utils/CHANGELOG.md#501"
},
{
"type": "WEB",
"url": "https://github.com/vercel/ai/releases/tag/@ai-sdk/provider-utils@3.0.28"
},
{
"type": "WEB",
"url": "https://github.com/vercel/ai/releases/tag/@ai-sdk/provider-utils@4.0.33"
},
{
"type": "WEB",
"url": "https://github.com/vercel/ai/releases/tag/@ai-sdk/provider-utils@5.0.1"
},
{
"type": "WEB",
"url": "https://vuldb.com/submit/811406"
},
{
"type": "WEB",
"url": "https://vuldb.com/vuln/364394"
},
{
"type": "WEB",
"url": "https://vuldb.com/vuln/364394/cti"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "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",
"type": "CVSS_V4"
}
],
"summary": "@ai-sdk/provider-utils has an Uncontrolled Resource Consumption issue"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.