CVE-2026-54345

NameCVE-2026-54345
Descriptiongopacket provides packet processing capabilities for Go. In version 1.6.0 and earlier, the Diameter AVP decoder computes an AVP data length by subtracting a fixed header size from an attacker-controlled AVP Length field, so a vendor-flagged AVP whose Length is smaller than the 12-byte header underflows the unsigned 32-bit value and drives an unbounded allocation of roughly 4 GiB, and two such messages in succession OOM-kill a collector, causing an unauthenticated remote denial of service. This issue is fixed in version 1.6.1.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-gopacket-gopacket (PTS)bookworm1.0.0-1fixed
forky, sid, trixie1.3.0-2fixed
gopacket (PTS)bullseye1.1.19-1fixed
bookworm1.1.19-3fixed
forky, sid, trixie1.1.19-6.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-gopacket-gopacketsource(unstable)(not affected)
gopacketsource(unstable)(not affected)

Notes

- golang-github-gopacket-gopacket <not-affected> (Vulnerable code not present)
- gopacket <not-affected> (Vulnerable code not present)
https://github.com/gopacket/gopacket/security/advisories/GHSA-6r28-9ppf-4hj5
Introduced with: https://github.com/gopacket/gopacket/commit/fe11a243b3365bf877ddd91f9ba37206c25d96df (v1.6.0)
Fixed by: https://github.com/gopacket/gopacket/commit/145859d0eaee1a6f5925ffb93851c976449c3311 (v1.6.1)

Search for package or bug name: Reporting problems