Advisory

GHSA-2phg-qgmm-r638

Also known as: GO-2026-4548

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-02-25 17:36 UTC
Modified
2026-02-28 05:14 UTC

Affected packages and fixes

github.com/bishopfox/sliver

Go · All systems

Affected

  • introduced 0, fixed 1.7.2 (semver)

Fixed versions

1.7.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences