CVE-2026-5122
JSON

6.3medium

osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control

Severity
6.3medium CVSS:4.0 by VulDB
Exploit likelihood
0.33% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
osrg GoBGP4.0, 4.1, 4.2, 4.3.0, before 4.4.0CVE List, NVD

All scores

VulDB6.3medium CVSS:4.0CVSS: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
VulDB3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:X/RL:O/RC:C
VulDB3.7low CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:X/RL:O/RC:C
VulDB2.6low CVSS:2.0AV:N/AC:H/Au:N/C:N/I:P/A:N/E:ND/RL:OF/RC:C

Classification

CWE-266CWE-284

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Una falla de seguridad ha sido descubierta en osrg GoBGP hasta la versión 4.3.0. Esto afecta a la función DecodeFromBytes del archivo pkg/packet/bgp/bgp.go del componente Gestor de Mensajes BGP OPEN. Realizar una manipulación del argumento domainNameLen resulta en controles de acceso inadecuados. El ataque puede ser iniciado de forma remota. Se necesita un alto grado de complejidad para el ataque. La explotabilidad se reporta como difícil. El parche se llama 2b09db390a3d455808363c53e409afe6b1b86d2d. Se sugiere instalar un parche para abordar este problema.

References

https://vuldb.com/vuln/354154technical-description, third-party-advisory, vdb-entry
https://vuldb.com/vuln/354154/ctipermissions-required, signature, vdb-entry
https://vuldb.com/submit/780124third-party-advisory, vdb-entry
https://github.com/osrg/gobgp/pull/3343issue-tracking, patch
https://github.com/osrg/gobgp/commit/2b09db390a3d455808363c53e409afe6b1b86d2dpatch
https://github.com/osrg/gobgp/product

Sources

SourceRecordLicence
CVE ListCVE-2026-5122 changed 2026-03-30CVE Terms of Use
NVDCVE-2026-5122 changed 2026-06-17Public domain