Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-5123 EUVD-2026-17109

osrg GoBGP bgp.go DecodeFromBytes off-by-one

Published Mar 30, 2026 · Updated Apr 1, 2026 · Assigned by VulDB

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.

Affected products

VendorProductAffectedFixed
osrg GoBGP 4.0, 4.1, 4.2, 4.3.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gobgp 4.4.0-1 —
Debian 13 gobgp No fix yet —
Debian 12 gobgp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 gobgp No fix yet —
Ubuntu 25.10 gobgp No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS gobgp No fix yet —
Ubuntu Pro 24.04 LTS gobgp No fix yet —
Ubuntu Pro 22.04 LTS gobgp No fix yet —
Ubuntu Pro 20.04 LTS gobgp No fix yet —
Ubuntu Pro 18.04 LTS gobgp No fix yet —

References