AploSec / Disclosures / CVE-2026-142234
gopacket before 1.7.5 Denial of Service via pcapgo Capture File Readers
CVE-2026-142234 · published 2026-12-02
In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). A fixed release is listed.
Summary
CVE-2026-142234 affects gopacket (Go) < 1.7.5: Denial of Service via pcapgo Capture File Readers (CWE-789). Fixed in 1.7.5. CVSS 4.0 base score 6.8 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade gopacket to 1.7.5 or later. Releases in the affected range (< 1.7.5) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-12-02 CVE published
References
- Referencehttps://github.com/gopacket/gopacket/security/advisories/GHSA-7mcm-qfgv-q3hh
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/gopacket-before-1.7.5-denial-of-service-via-pcapgo-capture-file-readers
- Vulnerable codehttps://github.com/gopacket/gopacket/blob/v1.7.4/pcapgo/snoop.go#L125-L170
- Fix commithttps://github.com/gopacket/gopacket/commit/1887053e0373abb0b1ac2a60501d7b36dd9d582a
- Fix commithttps://github.com/gopacket/gopacket/commit/196a980310af66fd263e1f40b20624747c4b05a4
- Releasehttps://github.com/gopacket/gopacket/releases/tag/v1.7.5
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142234
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-142234
- Severity
- Medium 6.8CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- gopacket
- Ecosystem
- Go
- Affected
- < 1.7.5
- Fixed
- 1.7.5
- Weakness
- CWE-789
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder