# CVE-2026-5124: osrg GoBGP BGP Header bgp.go BGPHeader.DecodeFromBytes access control

- Severity: Medium 6.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-02)
- Published: 2026-03-30T16:15:12.565Z
- Modified: 2026-06-17T10:58:28.630Z
- Weaknesses: CWE-266, CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- osrg GoBGP: 4.0; 4.1; 4.2; 4.3.0; before 4.4.0

## Every score

- VulDB: CVSS:4.0 6.3 Medium `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`
- VulDB: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:X/RL:O/RC:C`
- VulDB: CVSS:3.0 3.7 Low `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:X/RL:O/RC:C`
- VulDB: CVSS:2.0 2.6 Low `AV:N/AC:H/Au:N/C:N/I:P/A:N/E:ND/RL:OF/RC:C`

## References

- <https://vuldb.com/vuln/354156> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/vuln/354156/cti> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/submit/780189> (third-party-advisory, vdb-entry)
- <https://github.com/osrg/gobgp/pull/3340> (issue-tracking, patch)
- <https://github.com/osrg/gobgp/commit/f0f24a2a901cbf159260698211ab15c583ced131> (patch)
- <https://github.com/osrg/gobgp/> (product)

## Sources

- CVE List: [CVE-2026-5124](https://www.cve.org/CVERecord?id=CVE-2026-5124), CVE Terms of Use, modified 2026-03-30
- NVD: [CVE-2026-5124](https://nvd.nist.gov/vuln/detail/CVE-2026-5124), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-5124 · Whole record: https://cve.day/CVE-2026-5124.json · Rebuilt by cve.day 2026-11-25T22:59:17.515Z
