p PatchFirst

CVE-2026-5122

CVE-2026-5122 · osrg GoBGP BGP OPEN Message bgp.go DecodeFromBytes access control

CVSS 6.3 · Medium · EPSS 0.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • gobgpNo fix published
  • gobgp Debian 12No fix published
  • gobgp Debian 13No fix published
  • gobgp Debian 14Update to 4.4.0-1
  • and 7 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="gobgp"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • gobgp

    Versions
    • 4.0: Affected
    • 4.1: Affected
    • 4.2: Affected
    • 4.3.0: Affected

    No fix published

  • gobgp Debian 12

    Versions
    • 3.10.0-1
    • 3.16.0-1
    • 3.19.0-1
    • 3.21.0-1
    • 3.23.0-1
    • 3.25.0-1
    All versions (27)
    • 3.27.0-1
    • 3.28.0-1
    • 3.29.0-1
    • 3.30.0-1
    • 3.31.0-1
    • 3.32.0-1
    • 3.33.0-1
    • 3.35.0-1
    • 3.36.0-1
    • 3.36.0-2
    • 4.3.0-1
    • 4.4.0-1
    • 4.5.0-1
    • 4.5.0-1~bpo13+1
    • 4.6.0-1
    • 4.6.0-2
    • 4.6.0-2~bpo13+1
    • 4.7.0-1
    • 4.7.0-1~bpo13+1
    • 4.8.0-1
    • 4.8.0-2~exp1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gobgp Debian 13

    Versions
    • 3.36.0-2
    • 4.3.0-1
    • 4.4.0-1
    • 4.5.0-1
    • 4.5.0-1~bpo13+1
    • 4.6.0-1
    All versions (12)
    • 4.6.0-2
    • 4.6.0-2~bpo13+1
    • 4.7.0-1
    • 4.7.0-1~bpo13+1
    • 4.8.0-1
    • 4.8.0-2~exp1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gobgp Debian 14

    Versions
    • 3.36.0-2
    • 4.3.0-1
    Affected ranges
    • ECOSYSTEM: < 4.4.0-1

    Update to 4.4.0-1

  • gobgp Ubuntu Pro 18.04 LTS

    Versions
    • 1.15-1
    • 1.29-1
    • 1.29-1ubuntu0.1+esm1
    • 1.29-1ubuntu0.1+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gobgp Ubuntu Pro 20.04 LTS

    Versions
    • 1.33-1
    • 2.11.0-1
    • 2.12.0-1
    • 2.12.0-1ubuntu0.1~esm1
    • 2.12.0-1ubuntu0.1~esm2
    • 2.12.0-1ubuntu0.1~esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gobgp Ubuntu Pro 22.04 LTS

    Versions
    • 2.25.0-2
    • 2.25.0-3
    • 2.25.0-3build1
    • 2.25.0-3ubuntu0.1
    • 2.25.0-3ubuntu0.1+esm1
    • 2.25.0-3ubuntu0.1+esm2
    All versions (8)
    • 2.25.0-3ubuntu0.1+esm3
    • 2.25.0-3ubuntu0.1+esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gobgp Ubuntu Pro 24.04 LTS

    Versions
    • 3.16.0-1build1
    • 3.19.0-1
    • 3.21.0-1
    • 3.23.0-1
    • 3.23.0-1ubuntu0.1
    • 3.23.0-1ubuntu0.2
    All versions (12)
    • 3.23.0-1ubuntu0.2+esm1
    • 3.23.0-1ubuntu0.3
    • 3.23.0-1ubuntu0.3+esm1
    • 3.23.0-1ubuntu0.3+esm2
    • 3.23.0-1ubuntu0.3+esm3
    • 3.23.0-1ubuntu0.3+esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gobgp Ubuntu 25.10

    Versions
    • 3.35.0-1
    • 3.36.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gobgp Ubuntu 26.10

    Versions
    • 3.36.0-2build1
    • 4.8.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gobgp Ubuntu Pro 26.04 LTS

    Versions
    • 3.36.0-2
    • 3.36.0-2build1
    • 3.36.0-2ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →