Improper Validation of Array Index Affecting github.com/osrg/gobgp/internal/pkg/table package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.54% (43rd 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-GITHUBCOMOSRGGOBGPINTERNALPKGTABLE-16415522
  • published4 May 2026
  • disclosed29 Apr 2026
  • creditbacon251

Introduced: 29 Apr 2026

CVE-2026-41643  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

There is no fixed version for github.com/osrg/gobgp/internal/pkg/table.

Overview

Affected versions of this package are vulnerable to Improper Validation of Array Index in the UpdatePathAttrs4ByteAs function when processing malformed BGP UPDATE messages containing both AS_PATH and AS4_PATH attributes. An attacker can cause the process to crash by sending a specially crafted BGP UPDATE message that manipulates the order and validity of these attributes, resulting in an out-of-bounds access and a panic.

CVSS Base Scores

version 4.0
version 3.1