Description
A vulnerability was found in osrg GoBGP up to 4.3.0. Affected is the function PathAttributeAigp.DecodeFromBytes of the file pkg/packet/bgp/bgp.go of the component AIGP Attribute Parser. Performing a manipulation results in buffer overflow. It is possible to initiate the attack remotely. Upgrading to version 4.4.0 is able to address this issue. The patch is named 51ad1ada06cb41ce47b7066799981816f50b7ced. The affected component should be upgraded.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| osrg | GoBGP | 4.0, 4.1, 4.2, 4.3.0 | 4.4.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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gobgp | 4.4.0-1 | — |
| Debian 13 | gobgp | No fix yet | — |
| Debian 12 | gobgp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | gobgp | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | gobgp | 3.36.0-2ubuntu0.1~esm1 | USN-8348-1 |
| Ubuntu Pro 24.04 LTS | gobgp | 3.23.0-1ubuntu0.3+esm4 | USN-8348-1 |
| Ubuntu Pro 22.04 LTS | gobgp | 2.25.0-3ubuntu0.1+esm4 | USN-8348-1 |
| Ubuntu Pro 20.04 LTS | gobgp | 2.12.0-1ubuntu0.1~esm3 | USN-8348-1 |
| Ubuntu Pro 18.04 LTS | gobgp | 1.29-1ubuntu0.1+esm2 | USN-8348-1 |
Advisories 1
- USN-8348-1 gobgp vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
References
- VDB-360910 | osrg GoBGP AIGP Attribute bgp.go PathAttributeAigp.DecodeFromBytes buffer overflow vdb-entry technical-description
- VDB-360910 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #807600 | GoBGP 4.3.0 Improper Input Validation third-party-advisory
- https://github.com/osrg/gobgp/commit/51ad1ada06cb41ce47b7066799981816f50b7ced patch
- https://github.com/osrg/gobgp/releases/tag/v4.4.0 patch
- https://github.com/osrg/gobgp/ product