Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 66%

CVE-2026-42285: CWE-476: NULL Pointer Dereference in osrg gobgp

0
High
VulnerabilityCVE-2026-42285cvecve-2026-42285cwe-476
Published: 05/07/2026 (05/07/2026, 11:53:14 UTC)
Source: CVE Database V5
Vendor/Project: osrg
Product: gobgp

Description

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

github.com/osrg/gobgp
pkg:golang/github.com/osrg/gobgp
Affected versions
=4.4.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/07/2026, 12:36:27 UTC

Technical Analysis

GoBGP 4.4.0 contains a NULL pointer dereference vulnerability (CWE-476) triggered by an unauthenticated remote BGP peer sending a crafted BGP UPDATE message with inconsistent attribute lengths. This leads to improper handling of internal state transitions to a withdraw action, causing a nil pointer dereference in the AdjRib.Update function and crashing the GoBGP process. This results in denial of service due to process termination. The vulnerability has been patched in GoBGP version 4.5.0.

Potential Impact

Exploitation causes a denial of service by crashing the GoBGP process, resulting in complete loss of BGP service availability. There is no impact on confidentiality or integrity according to the CVSS vector. The vulnerability can be triggered remotely without authentication.

Mitigation Recommendations

Upgrade GoBGP to version 4.5.0 or later, where this NULL pointer dereference vulnerability is patched. Since the vulnerability is fixed in the newer version, applying this official update is the recommended remediation. Patch status is confirmed by the vendor's versioning information.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-26T12:13:55.551Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69fc83f6cbff5d8610e90d59

Added to database: 05/07/2026, 12:22:14 UTC

Last enriched: 05/07/2026, 12:36:27 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 101

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses