# CVE-2026-5124: osrg GoBGP BGP Header bgp.go BGPHeader.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-5124, DEBIAN-CVE-2026-5124
- Record: https://cvemate.com/vulnerability/CVE-2026-5124 · JSON: https://cvemate.com/vulnerability/CVE-2026-5124/json

## Description

```text
A security vulnerability has been detected in osrg GoBGP up to 4.3.0. Affected is the function BGPHeader.DecodeFromBytes of the file pkg/packet/bgp/bgp.go of the component BGP Header Handler. The manipulation leads to improper access controls. Remote exploitation of the attack is possible. The attack is considered to have high complexity. The exploitability is told to be difficult. The identifier of the patch is f0f24a2a901cbf159260698211ab15c583ced131. To fix this issue, it is recommended to deploy a patch.
```

## 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/354156>
- <https://vuldb.com/vuln/354156/cti>
- <https://vuldb.com/submit/780189>
- <https://github.com/osrg/gobgp/pull/3340>
- <https://github.com/osrg/gobgp/commit/f0f24a2a901cbf159260698211ab15c583ced131>
- <https://github.com/osrg/gobgp/>
- <https://ubuntu.com/security/CVE-2026-5124>
- <https://www.cve.org/CVERecord?id=CVE-2026-5124>
- <https://security-tracker.debian.org/tracker/CVE-2026-5124>

---

Data as of 2026-12-05T14:42:40.817Z. 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
