Skip to main content

CANBoat CVE-2026-56790

| EUVDEUVD-2026-39532 HIGH
Off-by-one Error (CWE-193)
2026-06-25 VulnCheck GHSA-p2cc-x7hq-6jvm
7.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain access to CAN bus or N2K-over-IP feed
  2. Delivery
    Craft N2K message with out-of-range PGN (e.g. 393216)
  3. Exploit
    Operator runs analyzer over the feed
  4. Execution
    searchForPgn() reads pgnList[pgnListSize] off-by-one
  5. Impact
    Process crashes, decoding denied

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
Exploitation Conditions

Exploitation requires the CANBoat analyzer to process attacker-controlled NMEA-2000 message data and the crafted message to carry a PGN value larger than every entry in the analyzer's pgnList[] table (the published PoC uses 393216; other out-of-range values such as 524287, 1000000, and 16777215 also trigger it). Delivery is via the CAN bus or an N2K-over-IP feed that the analyzer ingests. Limiting factors: per the CVSS vector this is rated local with passive user interaction (UI:P), meaning an operator must actually run the analyzer over the malicious feed rather than it being a remotely self-triggering daemon; no authentication or privileges are needed (PR:N); and the outcome is limited to crashing the analyzer process (denial of service), not code execution or data modification. Affected only on CANBoat builds at or before 6.22 lacking commit a5a22b7.

Impact

Signals are mostly consistent toward a moderate, availability-only risk. The published CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N, base 7.0) and the description agree the impact is a crash/DoS, with low attack complexity and no privileges required, but gated by user interaction (an operator must run the analyzer over the malicious feed). A public PoC exists and a patch is available, raising the practical priority for anyone running CANBoat to ingest untrusted N2K traffic. However, several signals temper the urgency: it is not in CISA KEV and shows no evidence of active exploitation, and the impact is denial of service of a parsing tool rather than code execution or data compromise. Note a discrepancy: the CVSS vector uses AV:L (local), yet the description states delivery 'over CAN bus or N2K-over-IP,' which implies adjacent or network delivery - the AV:L rating likely reflects the analyzer consuming a piped/streamed input file rather than listening on a socket; verify the actual deployment (live N2K listener vs. offline log analysis) before scoring. The VI:H/VA:H integrity/availability-high choices are also generous for what the description characterizes purely as a crash. No EPSS score was provided.

Exploit ScenarioDerived

An attacker with access to the marine CAN bus or to an N2K-over-IP feed injects a single NMEA-2000 frame carrying an out-of-range PGN (e.g., the public PoC value 393216, larger than any entry in pgnList[]). When an operator runs the CANBoat analyzer against that traffic, searchForPgn() reads one element past the PGN table and the process crashes, denying decoding of subsequent navigation/instrument data. A working PoC input is published in issue #644 and the project's regression test (invalid-pgn-test).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 25, 2026

Denial of service in CANBoat (the open-source NMEA 2000/CAN bus analyzer) through version 6.22 allows attackers to crash the analyzer by delivering a crafted NMEA-2000 message containing an out-of-range PGN value. The flaw is an off-by-one global buffer overflow in the searchForPgn() binary-search routine in analyzer/pgn.c, where an out-of-range PGN causes a one-element read past the end of the pgnList[] table. Publicly available exploit code exists (FuzzingLabs PoC value 393216 via issue #644), and a vendor patch is available; there is no public exploit identified as actively exploited.

RemediationAI

Upstream fix available (PR/commit); a released patched version is not independently confirmed from the input - update CANBoat to a build that includes commit a5a22b7 (PR #649), which is past the 6.22 release line. If you cannot rebuild immediately, the practical compensating control is to avoid feeding the analyzer untrusted or unvalidated N2K data: restrict the analyzer to known-good logs or trusted N2K sources, and isolate CANBoat hosts from any network path that could deliver attacker-crafted N2K-over-IP traffic (e.g., segment the marine/CAN network and block external access to the N2K-over-IP listener), accepting the trade-off that this limits live monitoring of untrusted segments. Because the impact is a crash rather than code execution, automatic restart/supervision of the analyzer process can reduce downtime as a stopgap. Track the patch through the vendor advisory at https://www.vulncheck.com/advisories/canboat-off-by-one-global-buffer-overflow-in-searchforpgn and the commit URL above.

Affected VersionsENISA

canboat 0 ≤6.22

Affected Packages

euvd canboat no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CANBoat is a toolset for decoding and encoding NMEA 2000 (N2K) marine network messages carried over CAN bus or tunneled as N2K-over-IP. Its analyzer maintains a sorted table, pgnList[], of known Parameter Group Numbers (PGNs) and resolves an incoming message's PGN via the searchForPgn() binary search in analyzer/pgn.c. The root cause is CWE-193 (off-by-one error): the search used an inclusive 'while (start <= end)' loop with 'end = mid - 1', so a PGN larger than every table entry converged to read pgnList[pgnListSize] - exactly one element beyond the array, a global buffer over-read. The fix in commit a5a22b7 (PR #649) switches to a half-open range 'while (start < end)' with 'end = mid', adds a 'mid >= pgnListSize' bounds guard, and uses overflow-safe midpoint arithmetic; the same PR also clamps an unrelated undefined 64-bit shift in fieldtype.c getMaxRange(). The affected product is identified by CPE cpe:2.3:a:canboat:canboat:*:*:*:*:*:*:*:* across all versions through 6.22.

Know when Canboat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.0 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Analyzer must be run by an operator over attacker-supplied input (UI:R, AV:L, PR:N); impact is a crash only, so availability-high with no confidentiality or integrity impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

CANBoat through 6.22, fixed in commit a5a22b7, contains an off-by-one global buffer overflow in the searchForPgn() function in analyzer/pgn.c that allows remote attackers to crash the application. Attackers can deliver a crafted NMEA-2000 message with an out-of-range PGN value over CAN bus or N2K-over-IP to trigger an out-of-bounds array access and denial of service.

Executive ViewAI

Why It Matters

CANBoat versions through 6.22 are vulnerable to denial-of-service attacks via specially crafted network messages, causing the analyzer to crash and disrupting real-time monitoring of critical maritime and vehicle CAN bus systems. Organizations relying on CANBoat for system visibility, compliance monitoring, or operational safety face interrupted visibility into live vehicle or vessel data. The vulnerability impacts any operation where continuous CAN bus monitoring is required for safety or regulatory compliance.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche open-source NMEA 2000 marine/boating tool, limited deployment
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

55
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy