CVE-2026-56790CANBoat - Off-by-One Global Buffer Overflow in searchForPgn()
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- canboat: affected: up to 6.22, a5a22b74b9ac5688019cba62669df08562cebd6f not affected
Vendor advisories:
- https://github.com/canboat/canboat/pull/649 (patch)
- https://github.com/canboat/canboat/commit/a5a22b74b9ac5688019cba62669df08562cebd6f (patch)
References
- https://github.com/canboat/canboat/issues/644
- https://github.com/canboat/canboat/pull/649
- https://github.com/canboat/canboat/commit/a5a22b74b9ac5688019cba62669df08562cebd6f
- https://www.vulncheck.com/advisories/canboat-off-by-one-global-buffer-overflow-in-searchforpgn
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.