LowVulnerability
GHSA-866g-f22w-33x8: @ai-sdk/provider-utils has an Uncontrolled Resource Consumption issue
- Identifiers
- CVE-2026-8769GHSA-866g-f22w-33x8
- Published
- Record updated
- Affected
- @ai-sdk/provider-utils < 3.0.28, fixed in 3.0.28
- @ai-sdk/provider-utils >= 4.0.0-beta.10, < 4.0.33, fixed in 4.0.33
- @ai-sdk/provider-utils >= 5.0.0-beta.0, < 5.0.1, fixed in 5.0.1
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.7%
Summary
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 functions `createJsonResponseHandler`, `createJsonErrorResponseHandler`, and `createStatusCodeErrorResponseHandler` in `packages/provider-utils/src/response-handler.ts` read response bodies without a shared size limit, so a remote attacker with low privileges can cause excessive memory consumption. A public exploit has been disclosed.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- @ai-sdk/provider-utilsnpmLLM dependency since 2024-04-12 · 19 tracked dependents
Related items
- HighHermes Agent - Pre-Authentication Disk ConsumptionSimilar attack · Tenable Research Advisories
- MediumHermes Agent - Pre-Authentication Memory ExhaustionSimilar attack · Tenable Research Advisories
- MediumGHSA-v36g-jcw9-x7cw: Pydantic AI: Excessive resource use when local web fetching converts nested HTMLSimilar attack · GitHub Advisory Database
- MediumGHSA-v2xh-2vp8-57h8: Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrlSimilar attack · GitHub Advisory Database
- MediumGHSA-fpf4-vwcp-v4hp: Pydantic AI: Event loop blocked by quadratic title extraction in `web_fetch`Similar attack · GitHub Advisory Database