CVE-2026-142234: gopacket before 1.7.5 Denial of Service via pcapgo Capture File Readers

Published Dec 2, 2026
·
Updated

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

1 affected component
go/github.com/google/gopacket<1.7.5

Event History

Dec 2, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Event
via NVD·05:17 PM

Frequently Asked Questions

1

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.

2

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.

3

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.

4

What is the fixed version?

Upgrade gopacket to version 1.7.5 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203