CVE-2026-142234
gopacket before 1.7.5 contains a denial of service vulnerability in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/gopacket/gopacket/blob/v1.7.4/pcapgo/snoop.go#L125-L170
- github.com/gopacket/gopacket/commit/1887053e0373abb0b1ac2a60501d7b36dd9d582a
- github.com/gopacket/gopacket/commit/196a980310af66fd263e1f40b20624747c4b05a4
- github.com/gopacket/gopacket/releases/tag/v1.7.5
- github.com/gopacket/gopacket/security/advisories/GHSA-7mcm-qfgv-q3hh
- www.vulncheck.com/advisories/gopacket-before-1.7.5-denial-of-service-via-pcapgo-capture-fi
- nvd.nist.gov/vuln/detail/CVE-2026-142234
- cve.org/CVERecord?id=CVE-2026-142234
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.