CVE catalog

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 manip

[CVE catalog]

Severity
Medium · CVSS 6.3
Published
Source
[NVD] · [CVE record]
EPSS
0.29% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangobgpsid4.8.0-1fixed
Debiangobgpforky4.8.0-1fixed
Debiangobgptrixie3.36.0-2vulnerable
Debiangobgpbookworm3.10.0-1vulnerable
CpegobgpNot reportedNot reportedvulnerable
CpegobgpNot reported4.4.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangobgpsourcesid4.4.0-1unimportantNot reported[1132653]
Debiangobgpsourceforky4.4.0-1unimportantNot reported[1132653]
Debiangobgpsourcetrixie(unfixed)unimportantNot reported[1132653]
Debiangobgpsourcebookworm(unfixed)unimportantNot reported[1132653]
CpegobgpcpeNot reported4.4.0Not reportedNot reportedNot reported

[Debian bug #1132653]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [gobgpd]Affected

    Source package: [gobgp]

    Details (2)
    • 3.10.0-1+b4 · amd64 · bookworm

      Affected

      nvd · gobgp · debian · bookworm; nvd · gobgp · debian · 12

    • 3.10.0-1+b4 · arm64 · bookworm

      Affected

      nvd · gobgp · debian · bookworm; nvd · gobgp · debian · 12

  • Source package: [gobgp]

    Details (2)
    • 3.10.0-1 · all · bookworm

      Affected

      nvd · gobgp · debian · bookworm; nvd · gobgp · debian · 12

    • 3.10.0-1 · all · bookworm

      Affected

      nvd · gobgp · debian · bookworm; nvd · gobgp · debian · 12

[Debian 13 (Trixie)]

  • [gobgpd]Affected

    Source package: [gobgp]

    Details (4)
    • 3.36.0-2+b3 · amd64 · trixie

      Affected

      nvd · gobgp · debian · 13

    • 3.36.0-2+b3 · arm64 · trixie

      Affected

      nvd · gobgp · debian · 13

    • 4.7.0-1~bpo13+1 · amd64 · trixie-backports

      Affected

      nvd · gobgp · debian · 13

    • 4.7.0-1~bpo13+1 · arm64 · trixie-backports

      Affected

      nvd · gobgp · debian · 13

  • Source package: [gobgp]

    Details (4)
    • 3.36.0-2 · all · trixie

      Affected

      nvd · gobgp · debian · 13

    • 3.36.0-2 · all · trixie

      Affected

      nvd · gobgp · debian · 13

    • 4.7.0-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · gobgp · debian · 13

    • 4.7.0-1~bpo13+1 · all · trixie-backports

      Affected

      nvd · gobgp · debian · 13

Observed:

References