{"id":"CVE-2026-54345","summary":"GoPacket's Diameter AVP decoder: uint32 underflow on vendor header size leads to unbounded ~4 GiB allocation (unauthenticated remote DoS)","details":"gopacket 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.","aliases":["GHSA-6r28-9ppf-4hj5"],"modified":"2026-07-30T04:03:15.083978280Z","published":"2026-07-28T16:14:12.097Z","related":["CGA-qx3f-c53f-wg3m"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-191","CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54345.json"},"references":[{"type":"WEB","url":"https://github.com/gopacket/gopacket/releases/tag/v1.6.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54345.json"},{"type":"ADVISORY","url":"https://github.com/gopacket/gopacket/security/advisories/GHSA-6r28-9ppf-4hj5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54345"},{"type":"FIX","url":"https://github.com/gopacket/gopacket/commit/145859d0eaee1a6f5925ffb93851c976449c3311"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gopacket/gopacket","events":[{"introduced":"0"},{"fixed":"145859d0eaee1a6f5925ffb93851c976449c3311"},{"fixed":"76119086f5936aacd7088bdf97d565501bb6c4cc"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"1.6.1"}]}}],"versions":["v1.6.0","v1.5.0","v1.4.0","v1.3.1","v1.3.0","v.1.3.0","v1.2.0","v1.1.1","v1.1.0","v1.0.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54345.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}