CVE-2026-142234: gopacket before 1.7.5 Denial of Service via pcapgo Capture File Readers
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.
Affected Software
Event History
Frequently Asked Questions
Which applications are exposed to this issue?
Applications using gopacket versions before 1.7.5 are exposed if they parse attacker-supplied or otherwise untrusted pcap, pcapng, or snoop capture files through the pcapgo readers.
What does an attacker need to do to trigger the denial of service?
An attacker needs to cause the application to parse a crafted capture file. The malicious file can be small but use manipulated length fields to request allocations of up to 4 GiB or produce negative buffer sizes that crash the parser.
Does exploitation require authentication or user interaction?
The provided vector indicates no privileges are required, but user interaction is required. In practice, the crafted capture file must be supplied to and parsed by the affected application.
What is the fixed version?
Upgrade gopacket to version 1.7.5 or later.