LowGO-2026-5971CVE-2026-37462GHSA-pw7p-7fqv-hpj8

GoBGP: Integer underflow in the BGPUpdate.DecodeFromBytes function in github.com/osrg/gobgp

Published 24 Jul 2026 · Updated 24 Jul 2026

Is your project on an affected github.com/osrg/gobgp/v4?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<4.4.0
Fixed in
4.4.0
Update to the fixed version for your release line, for example:go get github.com/osrg/gobgp/v4@v4.4.0

Details

GoBGP: Integer underflow in the BGPUpdate.DecodeFromBytes function in github.com/osrg/gobgp

Is GO-2026-5971 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/osrg/gobgp/v4, and gives you the command that fixes it.

More advisories for github.com/osrg/gobgp/v4

  • LowCVE-2026-41642GoBGP: Remote Denial of Service (Panic) via Malformed Well-known Path Attribute in github.com/osrg/gobgp · 24 Jul 2026
  • LowCVE-2026-41643GoBGP: Remote Denial of Service (Panic) in UpdatePathAttrs4ByteAs via Malformed BGP UPDATE in github.com/osrg/gobgp · 24 Jul 2026
  • LowCVE-2026-42285GoBGP has a panic in AdjRib.Update via malformed BGP Update message (Nil Pointer Dereference) in github.com/osrg/gobgp · 24 Jul 2026
  • LowCVE-2026-49838GoBGP confederation validation panics on empty AS_PATH attribute in github.com/osrg/gobgp · 24 Jul 2026
  • LowCVE-2026-49837GoBGP: BGP OPEN capability parser may read capability values outside declared CapLen boundaries in github.com/osrg/gobgp · 24 Jul 2026
  • MediumCVE-2026-49838GoBGP confederation validation panics on empty AS_PATH attribute · 9 Jul 2026
All 20 advisories for github.com/osrg/gobgp/v4

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.