Off-by-one Error Affecting canboat/canboat package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (12th 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-UNMANAGED-CANBOATCANBOAT-17661013
  • published28 Jun 2026
  • disclosed25 Jun 2026
  • creditUnknown

Introduced: 25 Jun 2026

CVE-2026-56790  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Off-by-one Error via the searchForPgn function. An attacker can cause a crash or potentially execute arbitrary code by sending a crafted NMEA-2000 message with an out-of-range PGN value over CAN bus or N2K-over-IP, resulting in an out-of-bounds array access.

CVSS Base Scores

version 4.0
version 3.1