Incorrect Privilege Assignment Affecting gobgp package, versions <4.4.0-1


Severity

Recommended
0.0
low
0
10

Based on Debian security rating.

Threat Intelligence

EPSS
0.29% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-GOBGP-15878861
  • published3 Apr 2026
  • disclosed30 Mar 2026

Introduced: 30 Mar 2026

CVE-2026-5122  (opens in a new tab)
CWE-266  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade Debian:unstable gobgp to version 4.4.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gobgp package and not the gobgp package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1