# CVE-2026-5122: osrg GoBGP BGP OPEN Message bgp.go 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-01)
- Published: 2026-03-30T14:15:14.485Z
- Modified: 2026-06-17T10:58:28.370Z
- Weaknesses: CWE-266, CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(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/354154> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/vuln/354154/cti> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/submit/780124> (third-party-advisory, vdb-entry)
- <https://github.com/osrg/gobgp/pull/3343> (issue-tracking, patch)
- <https://github.com/osrg/gobgp/commit/2b09db390a3d455808363c53e409afe6b1b86d2d> (patch)
- <https://github.com/osrg/gobgp/> (product)

## Sources

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

---

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