gopacket before 1.7.5 contains a denial of service vulnerability in the pcapgo capture file readers that allows attackers to exhaust memory or trigger panics via crafted length fields. Attackers can supply small pcap, pcapng, or snoop files that force allocations up to 4 GiB or negative buffer sizes, crashing the parsing application.
https://github.com/gopacket/gopacket/security/advisories/GHSA-7mcm-qfgv-q3hh
https://github.com/gopacket/gopacket/releases/tag/v1.7.5
https://github.com/gopacket/gopacket/commit/196a980310af66fd263e1f40b20624747c4b05a4
https://github.com/gopacket/gopacket/commit/1887053e0373abb0b1ac2a60501d7b36dd9d582a
https://github.com/gopacket/gopacket/blob/v1.7.4/pcapgo/snoop.go#L125-L170
Published: 2026-12-02
Updated: 2026-12-04
Base Score: 5
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P
Severity: Medium
Base Score: 5.5
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Severity: Medium
Base Score: 6.8
Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.0029