What’s Vulnerable › Vulnerabilities
CVE-2026-5122: osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control
- Severity: low (CVSS 3.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-30 · updated 2026-06-17
- Weakness: CWE-266
Description
A security flaw has been discovered in osrg GoBGP up to 4.3.0. This affects the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go of the component BGP OPEN Message Handler. Performing a manipulation of the argument domainNameLen results in improper access controls. The attack may be initiated remotely. A high degree of complexity is needed for the attack. The exploitability is reported as difficult. The patch is named 2b09db390a3d455808363c53e409afe6b1b86d2d. It is suggested to install a patch to address this issue.
Affected products
- osrg GoBGP: before 4.4.0 — fixed in 4.4.0
How to fix
Upgrade to a fixed version: osrg GoBGP 4.4.0. Check the vendor advisory for mitigations.
References
- https://github.com/osrg/gobgp/
- https://github.com/osrg/gobgp/commit/2b09db390a3d455808363c53e409afe6b1b86d2d
- https://github.com/osrg/gobgp/pull/3343
- https://vuldb.com/submit/780124
- https://vuldb.com/vuln/354154
- https://vuldb.com/vuln/354154/cti
Get alerted when CVE-2026-5122 or the next vulnerability affects your stack