gobgp — security advisory
GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. In version 4.4.0, an unauthenticated remote BGP peer can trigger a fatal panic in GoBGP by sending a specially crafted BGP UPDATE message. When the server receives a message with inconsistent attribute lengths, it improperly handles the internal state transition to a "withdraw" action, leading to a nil pointer dereference in the AdjRib.Update function. This causes the entire GoBGP process to crash, resulting in a complete loss of service availability. This issue has been patched in version 4.5.0.
- Products
- gobgp
- Affected versions
- 3.36.0-2, 4.3.0-1, 4.4.0-1, 4.5.0-1~bpo13+1
- Fixed versions
- 4.5.0-1
- CVEs
- CVE-2026-42285
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:47 UTC · Revision 2
Source evidence
GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. In version 4.4.0, an unauthenticated remote BGP peer can trigger a fatal panic in GoBGP by sending a specially crafted BGP UPDATE message. When the server receives a message with inconsistent attribute lengths, it improperly handles the internal state transition to a "withdraw" action, leading to a nil pointer dereference in the AdjRib.Update function. This causes the entire GoBGP process to crash, resulting in a complete loss of service availability. This issue has been patched in version 4.5.0.
osv:DEBIAN-CVE-2026-42285
gobgp
Fixed versions: 4.5.0-1
Complete source record
{
"id": "2d5c0360c019580e16166afb7c570df2ced0f820601596558c3d0916b4881df9",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-42285",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-42285",
"summary": "GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. In version 4.4.0, an unauthenticated remote BGP peer can trigger a fatal panic in GoBGP by sending a specially crafted BGP UPDATE message. When the server receives a message with inconsistent attribute lengths, it improperly handles the internal state transition to a \"withdraw\" action, leading to a nil pointer dereference in the AdjRib.Update function. This causes the entire GoBGP process to crash, resulting in a complete loss of service availability. This issue has been patched in version 4.5.0.",
"evidence": "osv:DEBIAN-CVE-2026-42285",
"products": [
{
"name": {
"value": "gobgp",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.5.0-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "3.36.0-2",
"evidence": "/affected/0/versions"
},
{
"value": "4.3.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.4.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.5.0-1~bpo13+1",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-42285",
"aliases": [
"DEBIAN-CVE-2026-42285"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.5.0-1"
}
]
}
],
"package": {
"name": "gobgp",
"purl": "pkg:deb/debian/gobgp?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"3.36.0-2",
"4.3.0-1",
"4.4.0-1",
"4.5.0-1~bpo13+1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42285.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-27T09:47:34.923873147Z",
"provider": "osv",
"upstream": [
"CVE-2026-42285"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-42285"
]
},
"related_cves": [
{
"value": "CVE-2026-42285",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 461211,
"published_at": "2026-05-07T12:16:18.18+00:00"
}