CVE-2026-5123: osrg GoBGP · Off-by-One
Affects osrg GoBGPSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:XExploitation evidence
Disclosed: evidence found.
CVE published 30 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| osrgGoBGP | Affected
| Fixed in– |
Gogithub.com/osrg/gobgppkg:golang/github.com/osrg/gobgpOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available for this vulnerability, identified by commit 67c059413470df64bc20801c46f64058e88f800f. Users of osrg GoBGP versions 4.0 through 4.3.0 should apply this patch to remediate the issue. No alternative mitigations or vendor advisory details are provided, so applying the official patch is the recommended course of action.
Description
A weakness has been identified in osrg GoBGP up to 4.3.0. This impacts the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go. Executing a manipulation of the argument data[1] can lead to off-by-one. The attack may be launched remotely. Attacks of this nature are highly complex. The exploitability is said to be difficult. This patch is called 67c059413470df64bc20801c46f64058e88f800f. A patch should be applied to remediate this issue.
References
- vuldb.com/vuln/354155 (opens in a new tab)
- vuldb.com/vuln/354155/cti (opens in a new tab)
- vuldb.com/submit/780179 (opens in a new tab)
- github.com/osrg/gobgp/pull/3342 (opens in a new tab)
- github.com/osrg/gobgp/commit/67c059413470df64bc20801c46f64058e88f800f (opens in a new tab)
- github.com/osrg/gobgp/ (opens in a new tab)