CVE-2026-5122
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-03-30
- Last modified
- 2026-06-17
- Assigned by
- cna@vuldb.com
- CVSS vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:- Scored by
- cna@vuldb.com
- Probability of exploitation
-
0.3 %
higher than 22 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Osrg | Gobgp | < 4.4.0 | Affected |
Weakness type
-
CWE-266: Incorrect Privilege Assignment
A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.
-
CWE-284: Improper Access Control
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1014: Rootkit
- T1027.009: Embedded Payloads
- T1037: Boot or Logon Initialization Scripts
- T1080: Taint Shared Content
- T1505.005: Terminal Services DLL
- T1542.003: Bootkit
- T1543: Create or Modify System Process
- T1543.001: Launch Agent
- T1543.003: Windows Service
- T1543.004: Launch Daemon
- T1546.001: Change Default File Association
- T1546.004: Unix Shell Configuration Modification
- T1546.008: Accessibility Features
- T1546.016: Installer Packages
- T1547: Boot or Logon Autostart Execution
- T1547.006: Kernel Modules and Extensions
- T1553.004: Install Root Certificate
- T1556.006: Multi-Factor Authentication
- T1574.011: Services Registry Permissions Weakness
References
- https://github.com/osrg/gobgp/
- https://github.com/osrg/gobgp/commit/2b09db390a3d455808363c53e409afe6b1b86d2d
- https://github.com/osrg/gobgp/pull/3343
- https://vuldb.com/submit/780124
- https://vuldb.com/vuln/354154
- https://vuldb.com/vuln/354154/cti
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.