GHSA-2phg-qgmm-r638

Suggest an improvement
Source
https://github.com/advisories/GHSA-2phg-qgmm-r638
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-2phg-qgmm-r638/GHSA-2phg-qgmm-r638.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2phg-qgmm-r638
Aliases
Published
2026-02-25T17:36:44Z
Modified
2026-02-28T05:14:23Z
Severity
  • 7.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
Sliver has Potential Zip Bomb Denial of Service in GzipEncoder
Details

Summary

GzipEncoder does not limit output size when processing compressed data. This allows unauthenticated remote attackers to crash sliver server by sending a http request with highly compressed gzip data (aka zip bomb).

Details

In util/encoders/gzip.go, Decode() method decompresses given data by reading the entire gzip buffer at once without limiting output size.

PoC

data = gzip.compress(bytes(1024 * 1024 * 1024)) * 16
requests.post(f"http://172.17.0.2/{nonce}", data=data)

Impact

Unauthenticated remote attackers can exhaust memory and cpu resource of sliver server and crash it when they have GzipEncoderID, which can be easily retrived from implant's http traffic, or by brute-forcing.

A fixed version is available at https://github.com/BishopFox/sliver/releases/tag/v1.7.2.

Database specific
{
    "cwe_ids":  [
        "CWE-409"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-02-25T17:36:44Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

Go / github.com/bishopfox/sliver

Package

Name
github.com/bishopfox/sliver
View open source insights on deps.dev
Purl
pkg:golang/github.com/bishopfox/sliver

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.7.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-2phg-qgmm-r638/GHSA-2phg-qgmm-r638.json"