CVE-2026-5122

osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control

State
Published
Severity
6.3 Medium
Published
Mar 30, 2026
Updated
Mar 30, 2026
Reserved
Mar 30, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS: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:XVulDB
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:X/RL:O/RC:CVulDB
3.03.7 LowCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:X/RL:O/RC:CVulDB
2.02.6 LowAV:N/AC:H/Au:N/C:N/I:P/A:N/E:ND/RL:OF/RC:CVulDB

Weaknesses

  • CWE-284 Improper Access Controls
  • CWE-266 Incorrect Privilege Assignment

Affected Products

ProductVersions
GoBGPosrg
  • 4.0Affected
  • 4.1Affected
  • 4.2Affected
  • 4.3.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.