CVE catalog

CVE-2026-5123

A weakness has been identified in osrg GoBGP up to 4.3.0. This impacts the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go. Executing a manipulation of the argument data[1] can lead to off-

[CVE catalog]

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

A weakness has been identified in osrg GoBGP up to 4.3.0. This impacts the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go. Executing a manipulation of the argument data[1] can lead to off-by-one. The attack may be launched remotely. Attacks of this nature are highly complex. The exploitability is said to be difficult. This patch is called 67c059413470df64bc20801c46f64058e88f800f. A patch should be applied to remediate 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