Privilege escalation in Osrg Gobgp
CVE-2026-5122
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 r…
EPSS: 0.001 (18.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: 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.
Affected products
- Osrg Gobgp — versions 4.0, 4.1, 4.2
Weakness classification (CWE)
References
- VDB-354154 | osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control (vdb-entry, technical-description)
- VDB-354154 | CTI Indicators (IOB, IOC, TTP, IOA) (signature, permissions-required)
- Submit #780124 | GoBGP 4.3.0 Improper Handling of Length Parameter Inconsistency (third-party-advisory)
- github.com/osrg/gobgp/pull/3343 (issue-tracking, patch)
- github.com/osrg/gobgp/commit/2b09db390a3d455808363c53e409afe6b1b86d2d (patch)
- github.com/osrg/gobgp/ (product)
Frequently asked questions
- What is CVE-2026-5122?
- CVE-2026-5122 is a low-severity vulnerability in Osrg Gobgp, classified under Improper Access Control. CVSS score: 3.7/10. Published 2026-03-30.
- How severe is CVE-2026-5122?
- Low severity. CVSS v3 base score is 3.7 out of 10.