CVE-2026-56790

CANBoat - Off-by-One Global Buffer Overflow in searchForPgn()

State
Published
Severity
7.0 High
Published
Jun 25, 2026
Updated
Jul 14, 2026
Reserved
Jun 23, 2026

Read the record on cve.org

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.

Scores

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

Weaknesses

Affected Products

ProductVersions
canboatcanboat
  • 6.22 and earlierAffected
  • a5a22b74b9ac5688019cba62669df08562cebd6fNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.