Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/bishopfox/sliver
  4. ›
  5. GHSA-97vp-pwqj-46qc

GHSA-97vp-pwqj-46qc: Sliver Vulnerable to Authenticated OOM via Memory Exhaustion in mTLS/WireGuard Transports

March 17, 2026

A Remote OOM (Out-of-Memory) vulnerability exists in the Sliver C2 server’s mTLS and WireGuard C2 transport layer. The socketReadEnvelope and socketWGReadEnvelope functions trust an attacker-controlled 4-byte length prefix to allocate memory, with ServerMaxMessageSize allowing single allocations of up to ~2 GiB. A compromised implant or an attacker with valid credentials can exploit this by sending fabricated length prefixes over concurrent yamux streams (up to 128 per connection), forcing the server to attempt allocating ~256 GiB of memory and triggering an OS OOM kill. This crashes the Sliver server, disrupts all active implant sessions, and may degrade or kill other processes sharing the same host. The same pattern also affects all implant-side readers, which have no upper-bound check at all.


References

  • gist.github.com/skoveit/08f3ec08ffbf3deeff189a83ef827dcf
  • github.com/BishopFox/sliver
  • github.com/BishopFox/sliver/security/advisories/GHSA-97vp-pwqj-46qc
  • github.com/advisories/GHSA-97vp-pwqj-46qc

Code Behaviors & Features

Detect and mitigate GHSA-97vp-pwqj-46qc with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.7.3

Solution

Unfortunately, there is no solution available yet.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling
  • CWE-789: Memory Allocation with Excessive Size Value

Source file

go/github.com/bishopfox/sliver/GHSA-97vp-pwqj-46qc.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 18 Mar 2026 12:19:13 +0000.