
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-30405 is a denial-of-service vulnerability in GoBGP (gobgpd) v4.2.0 that allows a remote, unauthenticated attacker to crash the BGP daemon by sending a malformed BGP UPDATE message containing a NEXT_HOP path attribute with an invalid length (less than 4 bytes). The issue was reported on January 27, 2026, and published to NVD on March 16, 2026. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Issue, Feedly).
The root cause is classified as CWE-400 (Uncontrolled Resource Consumption) with an estimated CWE-476 (NULL Pointer Dereference) component. When GoBGP receives a BGP UPDATE message containing a NEXT_HOP path attribute with AttrLen set to 0, 1, 2, or 3 (instead of the RFC 4271-mandated 4 bytes), the daemon partially accepts and processes the malformed attribute, constructing an internally inconsistent PathAttributeNextHop object. This misaligned state causes an out-of-bounds index access (index out of range [0] with length 0) during subsequent AS_PATH validation in ValidateAttribute (file pkg/packet/bgp/validate.go, line 138/152), triggering a Go runtime panic and crashing the gobgpd process. Exploitation requires only an established EBGP session with the target — no authentication beyond BGP peering is needed (GitHub Issue).
Successful exploitation causes the gobgpd daemon to panic and terminate, rendering the BGP routing service completely unavailable (availability impact: High). There is no confidentiality or integrity impact — the vulnerability is purely a denial-of-service condition. In network environments relying on GoBGP for route distribution or traffic engineering, a crash could disrupt routing convergence, cause traffic blackholing, or destabilize peering relationships until the daemon is manually restarted (GitHub Issue, Feedly).
A proof-of-concept exploit with concrete reproduction steps and a hex payload is publicly available on GitHub, demonstrating how to trigger the panic by establishing an EBGP session and sending a crafted UPDATE message (GitHub Issue). The exploit requires no privileges and no user interaction, only network access to an EBGP peer. As of the time of reporting, there is no evidence of active in-the-wild exploitation, and no threat actor attribution has been made. The EPSS score is approximately 0.0014 (0.14%), indicating low but non-zero exploitation probability. The vulnerability is not listed in the CISA KEV catalog (Feedly).
BGP_FSM_ESTABLISHED state.type code 0x03) with AttrLen set to a value less than 4 (e.g., 0, 1, 2, or 3). Example hex payload from the PoC: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 28 02 00 00 00 0d 40 01 01 02 40 02 00 40 03 02 01 02 01 18 c0 a8 01 (where 40 03 02 sets NEXT_HOP with AttrLen=2).ValidateAttribute in validate.go, and panics with a runtime out-of-bounds error, crashing the gobgpd process and taking down the BGP routing service (GitHub Issue).gobgpd log entries showing "msg":"the received Update message was treated as withdraw" followed immediately by a Go runtime panic: panic: runtime error: index out of range [0] with length 0 in gobgp/pkg/packet/bgp/validate.go.ValidateAttribute.func2 at validate.go:138 and ValidateUpdateMsg at validate.go:35 in the gobgpd process logs.gobgpd process, particularly following BGP UPDATE messages from a peer.0x03) with an attribute length field less than 4 bytes; these can be detected via BGP-aware IDS signatures or packet capture analysis (GitHub Issue).Users should upgrade GoBGP gobgpd to a version beyond 4.2.0 that includes a fix for NEXT_HOP attribute length validation (patch details reference the GitHub issue #3305). As a network-level workaround where immediate patching is not possible, restrict BGP peering to only trusted, known peers using firewall rules or BGP session authentication (e.g., MD5 TCP-AO), which reduces the attack surface by limiting who can establish an EBGP session. Additionally, monitoring for unexpected gobgpd process crashes and implementing automatic process restart (e.g., via systemd) can reduce downtime impact (GitHub Issue, Feedly).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."