CVE-2026-49837

Medium

Description

GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. Versions prior to 4.6.0 contain a BGP OPEN capability parsing issue where several concrete capability decoders may parse data from the full remaining capability buffer instead of the slice bounded by the declared capability length, `CapLen`. A malformed BGP OPEN message can cause bytes from a following capability to be interpreted as part of the current capability. The most security-relevant case is the 4-octet AS capability, where a capability with `CapLen == 0` may cause the parser to read bytes from the following capability as the 4-octet AS value. This parsed value may later affect peer AS validation during BGP session establishment. Version 4.6.0 patches the issue.

SeverityMedium
CVSS5.9
Exploit probability—
ProductGithub.com/osrg/gobgp/v4
PublishedSep 10, 2026
First seenSep 10, 2026

How to fix

Update
  • github.com/osrg/gobgp/v44.6.0 or later

Affected products

ProductAffected versionsFixed in
github.com/osrg/gobgp/v4Gov < 4.6.04.6.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.