7.0high
CANBoat - Off-by-One Global Buffer Overflow in searchForPgn()
- Severity
- 7.0high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| canboat canboat | up to 6.22 Not affected: a5a22b74b9ac5688019cba62669df08562cebd6f | CVE List |
All scores
| VulnCheck | 7.0high CVSS:4.0 | 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 |
| VulnCheck | 7.3high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
CANBoat hasta la versión 6.22, corregido en el commit a5a22b7, contiene un desbordamiento de búfer global por un byte en la función searchForPgn() en analyzer/pgn.c que permite a atacantes remotos bloquear la aplicación. Los atacantes pueden entregar un mensaje NMEA-2000 manipulado con un valor PGN fuera de rango a través del bus CAN o N2K-over-IP para desencadenar un acceso a array fuera de límites y denegación de servicio.
References
| https://github.com/canboat/canboat/issues/644 | exploit, issue-tracking, technical-description | |
| https://github.com/canboat/canboat/pull/649 | issue-tracking, patch | |
| https://github.com/canboat/canboat/commit/a5a22b74b9ac5688019cba62669df08562cebd6f | patch | |
| https://www.vulncheck.com/advisories/canboat-off-by-one-global-buffer-overflow-in-searchforpgn | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-56790 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-56790 changed 2026-10-25 | Public domain |