CVE-2026-27887
published medium CVSS 4.0 · 6.9Spin has memory leaks in various WIT interfaces
Package status and fixes
Description
Spin is an open source developer tool for building and running serverless applications powered by WebAssembly. When Spin is configured to allow connections to a database or web server which could return responses of unbounded size (e.g. tables with many rows or large content bodies), Spin may in some cases attempt to buffer the entire response before delivering it to the guest, which can lead to the host process running out of memory, panicking, and crashing. In addition, a malicious guest application could incrementally insert a large number of rows or values into a database and then retrieve them all in a single query, leading to large host allocations. Spin 3.6.1, SpinKube 0.6.2, and `containerd-shim-spin` 0.22.1 have been patched to address the issue. As a workaround, configure Spin to only allow access to trusted databases and HTTP servers which limit response sizes.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| spinframework | spin | < 3.6.1 (affected) | GitHub_M · cna |
| spinframework | SpinKube | < 0.6.2 (affected) | GitHub_M · cna |
| spinframework | containerd-shim-spin | < 0.22.1 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
- CWE-774 CWE-774: Allocation of File Descriptors or Handles Without Limits or Throttling
- CWE-789 CWE-789: Memory Allocation with Excessive Size Value
References
1Provider assertions
2GitHub_M · cna
Spin has memory leaks in various WIT interfaces
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f294426bed5dcbf1ef497d2080cda11f08422dd9953f2b45a95975a416394c6e
- Ingested
- 23 Sep 2026, 09:07:57 UTC
- Source record
- Official CVE record