CVE-2026-5123
CVE-2026-5123 · osrg GoBGP bgp.go DecodeFromBytes off-by-one
CVSS 6.3 · Medium · EPSS 0.8% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- gobgpNo fix published
- gobgp Debian 12No fix published
- gobgp Debian 13No fix published
- gobgp Debian 14Update to 4.4.0-1
- and 7 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="gobgp"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: system
Affected products and versions
gobgp
- Versions
- 4.0: Affected
- 4.1: Affected
- 4.2: Affected
- 4.3.0: Affected
No fix published
gobgp Debian 12
- Versions
- 3.10.0-1
- 3.16.0-1
- 3.19.0-1
- 3.21.0-1
- 3.23.0-1
- 3.25.0-1
All versions (27)
- 3.27.0-1
- 3.28.0-1
- 3.29.0-1
- 3.30.0-1
- 3.31.0-1
- 3.32.0-1
- 3.33.0-1
- 3.35.0-1
- 3.36.0-1
- 3.36.0-2
- 4.3.0-1
- 4.4.0-1
- 4.5.0-1
- 4.5.0-1~bpo13+1
- 4.6.0-1
- 4.6.0-2
- 4.6.0-2~bpo13+1
- 4.7.0-1
- 4.7.0-1~bpo13+1
- 4.8.0-1
- 4.8.0-2~exp1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gobgp Debian 13
- Versions
- 3.36.0-2
- 4.3.0-1
- 4.4.0-1
- 4.5.0-1
- 4.5.0-1~bpo13+1
- 4.6.0-1
All versions (12)
- 4.6.0-2
- 4.6.0-2~bpo13+1
- 4.7.0-1
- 4.7.0-1~bpo13+1
- 4.8.0-1
- 4.8.0-2~exp1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gobgp Debian 14
- Versions
- 3.36.0-2
- 4.3.0-1
- Affected ranges
- ECOSYSTEM: < 4.4.0-1
Update to 4.4.0-1
gobgp Ubuntu Pro 18.04 LTS
- Versions
- 1.15-1
- 1.29-1
- 1.29-1ubuntu0.1+esm1
- 1.29-1ubuntu0.1+esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gobgp Ubuntu Pro 20.04 LTS
- Versions
- 1.33-1
- 2.11.0-1
- 2.12.0-1
- 2.12.0-1ubuntu0.1~esm1
- 2.12.0-1ubuntu0.1~esm2
- 2.12.0-1ubuntu0.1~esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gobgp Ubuntu Pro 22.04 LTS
- Versions
- 2.25.0-2
- 2.25.0-3
- 2.25.0-3build1
- 2.25.0-3ubuntu0.1
- 2.25.0-3ubuntu0.1+esm1
- 2.25.0-3ubuntu0.1+esm2
All versions (8)
- 2.25.0-3ubuntu0.1+esm3
- 2.25.0-3ubuntu0.1+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gobgp Ubuntu Pro 24.04 LTS
- Versions
- 3.16.0-1build1
- 3.19.0-1
- 3.21.0-1
- 3.23.0-1
- 3.23.0-1ubuntu0.1
- 3.23.0-1ubuntu0.2
All versions (12)
- 3.23.0-1ubuntu0.2+esm1
- 3.23.0-1ubuntu0.3
- 3.23.0-1ubuntu0.3+esm1
- 3.23.0-1ubuntu0.3+esm2
- 3.23.0-1ubuntu0.3+esm3
- 3.23.0-1ubuntu0.3+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gobgp Ubuntu 25.10
- Versions
- 3.35.0-1
- 3.36.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gobgp Ubuntu 26.10
- Versions
- 3.36.0-2build1
- 4.8.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
gobgp Ubuntu Pro 26.04 LTS
- Versions
- 3.36.0-2
- 3.36.0-2build1
- 3.36.0-2ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published