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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 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 | VulnCheck |
| 3.1 | 7.3 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H | VulnCheck |
Weaknesses
- CWE-193 Off-by-one Error
Affected Products
| Product | Versions |
|---|---|
canboatcanboat |
|
References
- Researcher Disclosuretechnical-descriptionexploit
- Pull Requestissue-tracking
- Patch Commitpatch
- https://www.vulncheck.com/advisories/canboat-off-by-one-global-buffer-overflow-in-searchforpgnthird-party-advisory
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.