NULL Pointer Dereference Affecting github.com/osrg/gobgp/v4/internal/pkg/table package, versions >=4.4.0 <4.5.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.42% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMOSRGGOBGPV4INTERNALPKGTABLE-16424170
  • published6 May 2026
  • disclosed5 May 2026
  • creditbacon251

Introduced: 5 May 2026

CVE-2026-42285  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade github.com/osrg/gobgp/v4/internal/pkg/table to version 4.5.0 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference via the Update function. An attacker can cause the process to crash and disrupt service availability by sending a specially crafted BGP UPDATE message with inconsistent attribute lengths that leads to improper internal state handling and a nil pointer dereference.

CVSS Base Scores

version 4.0
version 3.1