Description
gopacket provides packet processing capabilities for Go. Through version 1.7.0, multiple layer decoders use attacker-controlled lengths, counts, or offsets before validating them against packet buffers, allowing a crafted packet decoded through DecodingLayerParser or DecodeFromBytes to trigger an unrecovered panic and remotely deny service. A patch commit is available at 210f25f.
Published: 2026-08-07
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Multiple layer decoders in gopacket use attacker-controlled lengths, counts, or offsets before validating against packet buffers. A crafted packet decoded through DecodingLayerParser or DecodeFromBytes can trigger an unrecovered panic, effectively crashing the process that uses the library. The vulnerability is a classic out‑of‑bounds read (CWE‑125) that results in denial of service (CWE‑400). It allows an unauthenticated attacker to stop the target from processing any further packets, compromising availability.

Affected Systems

The vulnerability affects the gopacket library for the Go programming language. All applications or services that depend on gopacket versions up to and including 1.7.0 are susceptible. No later versions have been confirmed; a patch was merged in commit 210f25f and released in v1.7.1.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity, and the lack of EPSS data suggests that while exploitation has not been widely reported, the attack potential exists. The vulnerability is not listed in the CISA KEV catalog. It is likely to be exploited by sending a maliciously crafted network packet to any service or library consumer that decodes packets using the affected decoder. The vulnerability does not require authentication, so any remote host that can deliver the packet is a potential attacker.

Generated by OpenCVE AI on August 7, 2026 at 20:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the gopacket library to version 1.7.1 or later to apply the patch that validates lengths and offsets before decoding.
  • If an upgrade is not immediately possible, implement defensive checks in the application code to verify packet lengths, counts, and offsets before passing data to DecodingLayerParser or DecodeFromBytes.
  • Add monitoring or graceful recovery around the decoding calls to catch panics and prevent a full service crash, ensuring that the process can recover or restart automatically.

Generated by OpenCVE AI on August 7, 2026 at 20:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 07 Aug 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Gopacket
Gopacket gopacket
Vendors & Products Gopacket
Gopacket gopacket

Fri, 07 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Description gopacket provides packet processing capabilities for Go. Through version 1.7.0, multiple layer decoders use attacker-controlled lengths, counts, or offsets before validating them against packet buffers, allowing a crafted packet decoded through DecodingLayerParser or DecodeFromBytes to trigger an unrecovered panic and remotely deny service. A patch commit is available at 210f25f.
Title gopacket: Multiple layer decoders panic on crafted packets (out-of-bounds/underflow) enabling unauthenticated remote DoS via DecodingLayerParser
Weaknesses CWE-125
CWE-400
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Gopacket Gopacket
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-07T19:19:16.032Z

Reserved: 2026-07-22T23:16:47.752Z

Link: CVE-2026-65819

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T20:30:17Z

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-400

    Uncontrolled Resource Consumption