# GHSA-2phg-qgmm-r638: Sliver has Potential Zip Bomb Denial of Service in GzipEncoder

- Severity: High (CVSS:4.0, scored by GitHub) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-02-25T17:36:44.000Z
- Modified: 2026-02-28T05:14:23.667Z
- Also known as: GO-2026-4548
- Weaknesses: CWE-409

## Description

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

```python
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.

(As written by GitHub Advisory Database.)

## Affected

- github.com/bishopfox/sliver (Go): before 1.7.2

## References

- <https://github.com/BishopFox/sliver/security/advisories/GHSA-2phg-qgmm-r638> (advisory, web)
- <https://github.com/BishopFox/sliver/commit/0cf5a47cfdf94b6ab481ec3ea0db09f31654c0f0> (web)
- <https://github.com/BishopFox/sliver> (package)
- <https://github.com/BishopFox/sliver/releases/tag/v1.7.2> (web)
- <https://pkg.go.dev/vuln/GO-2026-4548> (web)

## Sources

- GitHub Advisory Database: [GHSA-2phg-qgmm-r638](https://github.com/advisories/GHSA-2phg-qgmm-r638), CC-BY-4.0, modified 2026-02-28
- Go Vulnerability Database: [GO-2026-4548](https://pkg.go.dev/vuln/GO-2026-4548), CC-BY-4.0, modified 2026-02-25

---

Page: https://cve.day/GHSA-2phg-qgmm-r638 · Whole record: https://cve.day/GHSA-2phg-qgmm-r638.json · Rebuilt by cve.day 2026-11-25T22:56:24.396Z
