gopacket before 1.7.5 Denial of Service via pcapgo Capture File Readers
CVE-2026-142234Published 2 Dec 2026, 16:50 UTC
Real-world risk
1.2/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.8
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| gopacketNiche | < 1.7.5 | 1.7.5 |
What to do
Update to a fixed version: 1.7.5.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
The arithmetic
- Prerequisites multiplied together0.350
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 0.35 × threat 0.851.190
- Rounded to one decimal between 0.1 and 101.2
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 1.2 (cvss fallback)
Weakness
CWE-789
References
- https://github.com/gopacket/gopacket/security/advisories/GHSA-7mcm-qfgv-q3hhvendor-advisory
- https://github.com/gopacket/gopacket/blob/v1.7.4/pcapgo/snoop.go#L125-L170technical-description
- https://github.com/gopacket/gopacket/commit/1887053e0373abb0b1ac2a60501d7b36dd9d582apatch
- https://github.com/gopacket/gopacket/commit/196a980310af66fd263e1f40b20624747c4b05a4patch
- https://github.com/gopacket/gopacket/releases/tag/v1.7.5release-notes
- https://www.vulncheck.com/advisories/gopacket-before-1.7.5-denial-of-service-via-pcapgo-capture-file-readersthird-party-advisory
- CVE-2026-142234 on CVE.org