{"answers":{"affected":"3 open source packages ship an affected version, including github.com/gopacket/gopacket. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54332 exists.","fix":"Upgrade github.com/gopacket/gopacket to 1.6.1 or later.","what":"CVE-2026-54332 is a medium-severity denial of service vulnerability in gopacket, published on 28 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-54332 and fix it if it is affected.\n\nWhat it is: CVE-2026-54332 is a medium-severity denial of service vulnerability in gopacket, published on 28 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54332 exists.\n\nAffected packages and fixed versions:\n- github.com/gopacket/gopacket (Go): affected all versions; fixed in 1.6.1\n- github.com/gopacket/gopacket (Go): affected all versions; fixed in 1.6.1\n- github.com/gopacket/gopacket (Go): affected all versions; fixed in 1.6.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54332/ (Markdown: https://insights.sbomify.com/CVE-2026-54332/index.md)","id":"CVE-2026-54332","markdown":"https://insights.sbomify.com/CVE-2026-54332/index.md","name":"CVE-2026-54332","record":{"aliases":["AZL-94323","CLEANSTART-2026-BH05638","DEBIAN-CVE-2026-54332","GHSA-g6v3-7xmc-w563","GO-2026-6122","MINI-2hgp-c865-m2g5","MINI-2qmq-vhmh-ph26","MINI-35cc-6x8j-w5mx","MINI-3v3x-3g75-fh57","MINI-44jh-fjgf-mjgf","MINI-59gr-4hp7-2j7v","MINI-5v89-9vqr-m22x","MINI-6vcx-h529-pfgx","MINI-7c89-ghm2-w225","MINI-c3gj-5v6q-r6hp","MINI-c84q-vfrf-9vqg","MINI-gvr3-xjh5-97q6","MINI-j654-v5hf-vc47","MINI-p9rr-724c-xgq5","MINI-pwx7-c8qf-h7v3","MINI-q43p-9m77-q5gv","MINI-q78c-4xrw-v9cx","MINI-qp8j-55w2-qqrh","MINI-qxqx-gmrm-6mw5","MINI-x3jp-rvxm-wqr6","UBUNTU-CVE-2026-54332"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go packet processing library","requires_auth":"none","summary":"An attacker can cause a denial of service by sending a small UDP datagram that triggers excessive memory allocation in the sFlow decoder.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"gopacket","vendor":"gopacket"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"gopacket provides packet processing capabilities for Go. In version 1.6.0 and earlier, the sFlow ExtendedGatewayFlow decoder in layers/sflow.go reads an attacker-controlled 32-bit community count and AS path member count and sizes a slice allocation from those counts without bounding them against the bytes remaining in the datagram, so a 104-byte UDP datagram can drive an allocation of up to 16 GiB and cause an unauthenticated remote denial of service. This issue is fixed in version 1.6.1.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"GoPacket's sFlow ExtendedGatewayFlow decoder: unbounded attacker-controlled allocation (104-byte UDP datagram -\u003e up to 16 GiB make) -\u003e unauthenticated remote DoS","id":"CVE-2026-54332","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"UEFI Firmware Parser: Stack out-of-bounds write in tiano decompressor MakeTable","id":"CVE-2026-54333"},"packages":[{"ecosystem":"Go","fixed":["1.6.1"],"introduced":["0"],"last_affected":[],"package":"github.com/gopacket/gopacket","purl":null,"source":"GHSA-g6v3-7xmc-w563"},{"ecosystem":"Go","fixed":["1.6.1"],"introduced":["0"],"last_affected":[],"package":"github.com/gopacket/gopacket","purl":"pkg:golang/github.com/gopacket/gopacket","source":"GHSA-g6v3-7xmc-w563"},{"ecosystem":"Go","fixed":["1.6.1"],"introduced":["0"],"last_affected":[],"package":"github.com/gopacket/gopacket","purl":"pkg:golang/github.com/gopacket/gopacket","source":"GO-2026-6122"}],"prev":{"headline":"Ceph RGW SigV4 handler accepts unsigned x-amz-* headers on presigned requests, allowing privilege escalation","id":"CVE-2026-54330"},"products":["gopacket"],"published":"2026-07-28","related":[{"cvss_score":6.9,"headline":"GoPacket's Diameter AVP decoder: uint32 underflow on vendor header size leads to unbounded ~4 GiB allocation (unauthenticated remote DoS)","id":"CVE-2026-54345","kev_date_added":null,"published":"2026-07-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-28","vendors":["gopacket"]},"summary":"An attacker can cause a denial of service by sending a small UDP datagram that triggers excessive memory allocation in the sFlow decoder.","url":"https://insights.sbomify.com/CVE-2026-54332/"}