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

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **CWE:** CWE-789
- **Published:** 2026-12-02T16:50:09.548Z
- **Modified:** 2026-12-02T23:18:37.757Z

## Who should check

- Anyone running gopacket \< 1.7.5

## Description

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 and fixed versions

- gopacket: \< 1.7.5 (cvelist)

## Mitigation

- Upgrade gopacket to 1.7.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142234. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142234.md
Affected: gopacket < 1.7.5
Fixed in: gopacket 1.7.5

Steps:
1. Search this machine and project for gopacket: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142234 being exploited?

There is no confirmed exploitation: CVE-2026-142234 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142234?

Medium: CVSS 6.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-142234?

gopacket \< 1.7.5.

### Is there a fix for CVE-2026-142234?

Yes. Fixed in gopacket 1.7.5. Upgrade gopacket to 1.7.5 or later.

### How do I check if I'm affected by CVE-2026-142234?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/gopacket/gopacket/security/advisories/GHSA-7mcm-qfgv-q3hh>
- patch: <https://github.com/gopacket/gopacket/commit/1887053e0373abb0b1ac2a60501d7b36dd9d582a>
- patch: <https://github.com/gopacket/gopacket/commit/196a980310af66fd263e1f40b20624747c4b05a4>
- article: <https://github.com/gopacket/gopacket/blob/v1.7.4/pcapgo/snoop.go#L125-L170>
- other: <https://github.com/gopacket/gopacket/releases/tag/v1.7.5>
- other: <https://www.vulncheck.com/advisories/gopacket-before-1.7.5-denial-of-service-via-pcapgo-capture-file-readers>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142234>

HTML: <https://flawdb.com/CVE-2026-142234> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142234>
