CVE-2026-5122
published medium CVSS 4.0 · 6.3osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| osrg | — | GoBGP4.0 · 4.1 · 4.2 · 4.3.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.7 | low | VulDB · cna | 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 | — |
| 3.0 | 3.7 | low | VulDB · cna | 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 | — |
| 2.0 | 2.6 | low | VulDB · cna | AV:N/AC:H/Au:N/C:N/I:P/A:N/E:ND/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| osrg | GoBGP | 4.0 (affected)4.1 (affected)4.2 (affected)4.3.0 (affected) | VulDB · cna |
Weaknesses
2- CWE-284 Improper Access Controls
- CWE-266 Incorrect Privilege Assignment
References
6- https://github.com/osrg/gobgp/
- https://github.com/osrg/gobgp/commit/2b09db390a3d455808363c53e409afe6b1b86d2d
- https://github.com/osrg/gobgp/pull/3343
- Submit #780124 | GoBGP 4.3.0 Improper Handling of Length Parameter Inconsistency https://vuldb.com/submit/780124
- VDB-354154 | osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control https://vuldb.com/vuln/354154
- VDB-354154 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/354154/cti
Provider assertions
2VulDB · cna
osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0c9f447b8670d4d43e482a28087a8607fdffafac4fb54aa1b204ef23b69e8aa7
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record