GO-2026-5955

Source
https://pkg.go.dev/vuln/GO-2026-5955
Import Source
https://vuln.go.dev/ID/GO-2026-5955.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-5955
Aliases
Published
2026-07-24T18:35:55Z
Modified
2026-07-24T19:00:27.270048744Z
Summary
GoBGP: BGP OPEN capability parser may read capability values outside declared CapLen boundaries in github.com/osrg/gobgp
Details

GoBGP: BGP OPEN capability parser may read capability values outside declared CapLen boundaries in github.com/osrg/gobgp

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-5955"
}
References

Affected packages

Go / github.com/osrg/gobgp/v4

Package

Name
github.com/osrg/gobgp/v4
View open source insights on deps.dev
Purl
pkg:golang/github.com/osrg/gobgp/v4

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.6.0

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/osrg/gobgp/v4/pkg/packet/bgp",
            "symbols": [
                "BGPOpen.DecodeFromBytes",
                "CapFQDN.DecodeFromBytes",
                "CapFourOctetASNumber.DecodeFromBytes",
                "CapGracefulRestart.DecodeFromBytes",
                "CapMultiProtocol.DecodeFromBytes",
                "CapSoftwareVersion.DecodeFromBytes",
                "DecodeCapability",
                "OptionParameterCapability.DecodeFromBytes",
                "ParseBGPBody",
                "ParseBGPMessage"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-5955.json"