# CVE-2026-27887: Spin has memory leaks in various WIT interfaces

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-02-26T00:55:53.360Z
- Modified: 2026-06-17T10:27:49.410Z
- Weaknesses: CWE-770, CWE-774, CWE-789
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- spinframework spin: < 3.6.1
- spinframework SpinKube: < 0.6.2
- spinframework containerd-shim-spin: < 0.22.1

## References

- <https://github.com/spinframework/spin/security/advisories/GHSA-mv4f-6ffm-32wx>

## Sources

- CVE List: [CVE-2026-27887](https://www.cve.org/CVERecord?id=CVE-2026-27887), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2026-27887](https://nvd.nist.gov/vuln/detail/CVE-2026-27887), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27887 · Whole record: https://cve.day/CVE-2026-27887.json · Rebuilt by cve.day 2026-11-25T22:59:14.932Z
