CVE-2026-56790

high

Description

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.

References

https://www.vulncheck.com/advisories/canboat-off-by-one-global-buffer-overflow-in-searchforpgn

https://github.com/canboat/canboat/pull/649

https://github.com/canboat/canboat/issues/644

https://github.com/canboat/canboat/commit/a5a22b74b9ac5688019cba62669df08562cebd6f

Details

Source: Mitre, NVD

Published: 2026-06-25

Updated: 2026-06-25

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.3

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H

Severity: High

CVSS v4

Base Score: 7

Vector: 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

Severity: High