Skip to content
OpenAdvisories
High USN-7661-1 5 CVEs

gobgp vulnerabilities

Published Jul 22, 2025 · Updated Apr 27, 2026

Summary

It was discovered that GoBGP did not properly manage memory under
certain circumstances, which could lead to a buffer overflow. An
attacker could possibly use this issue to cause a denial of service. This
issue was only addressed in Ubuntu 22.04 LTS and Ubuntu 20.04 LTS.
(CVE-2023-46565)

It was discovered that GoBGP did not properly verify the length of
certain inputs. An attacker could possibly use this issue to cause a
panic resulting in a denial of service.
(CVE-2025-43970, CVE-2025-43971, CVE-2025-43972, CVE-2025-43973)

Fixed packages 4

ReleasePackageFixed in
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS gobgp 1.29-1ubuntu0.1+esm1
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS gobgp 2.12.0-1ubuntu0.1~esm2
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS gobgp 2.25.0-3ubuntu0.1+esm2
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS gobgp 3.23.0-1ubuntu0.3+esm2

Vulnerabilities 5

  • High 8.6

    GoBGP panics due to a zero value for softwareVersionLen

    An issue was discovered in GoBGP before 3.35.0. pkg/packet/bgp/bgp.go allows attackers to cause a panic via a zero value for softwareVersionLen.

  • High 7.5

    Buffer Overflow vulnerability in osrg gobgp

    Buffer Overflow vulnerability in osrg gobgp commit 419c50dfac578daa4d11256904d0dc182f1a9b22 allows a remote attacker to cause a denial of service via the handlingError function in pkg/server/fsm.go.

  • Medium 6.8

    GoBGP crashes in the flowspec parser

    An issue was discovered in GoBGP before 3.35.0. An attacker can cause a crash in the pkg/packet/bgp/bgp.go flowspec parser by sending fewer than 20 bytes in a certain context.

  • Medium 6.8

    GoBGP does not verify that the input length

    An issue was discovered in GoBGP before 3.35.0. pkg/packet/rtr/rtr.go does not verify that the input length corresponds to a situation in which all bytes are available for an RTR message.

  • Medium 4.3

    GoBGP does not properly check the input length

    An issue was discovered in GoBGP before 3.35.0. pkg/packet/mrt/mrt.go does not properly check the input length, e.g., by ensuring that there are 12 bytes or 36 bytes (depending on the address family).

References

  • report
    https://ubuntu.com/security/CVE-2023-46565
  • report
    https://ubuntu.com/security/CVE-2025-43970
  • report
    https://ubuntu.com/security/CVE-2025-43971
  • report
    https://ubuntu.com/security/CVE-2025-43972
  • report
    https://ubuntu.com/security/CVE-2025-43973