# CVE-2026-5122: osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-30 · Modified: 2026-03-30
- Aliases: UBUNTU-CVE-2026-5122, DEBIAN-CVE-2026-5122
- Record: https://cvemate.com/vulnerability/CVE-2026-5122 · JSON: https://cvemate.com/vulnerability/CVE-2026-5122/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X
- EPSS: 0.334%, percentile 28.59%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian gobgp (Debian): All versions (No fix recorded) \| \< 4.4.0-1
- ubuntu gobgp (Ubuntu): All versions (No fix recorded)
- osrg gobgp: 4.0 \| 4.1 \| 4.2 \| 4.3.0 \| \< 4.4.0

## References

- <https://vuldb.com/vuln/354154>
- <https://vuldb.com/vuln/354154/cti>
- <https://vuldb.com/submit/780124>
- <https://github.com/osrg/gobgp/pull/3343>
- <https://github.com/osrg/gobgp/commit/2b09db390a3d455808363c53e409afe6b1b86d2d>
- <https://github.com/osrg/gobgp/>
- <https://ubuntu.com/security/CVE-2026-5122>
- <https://www.cve.org/CVERecord?id=CVE-2026-5122>
- <https://security-tracker.debian.org/tracker/CVE-2026-5122>

---

Data as of 2026-12-05T14:42:44.987Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
