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

High 7.0 Published Updated

Remote attackers can crash the CANBoat application by sending crafted NMEA-2000 messages with out-of-range PGN values, causing a buffer overflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-56790?

CVE-2026-56790 is a high-severity vulnerability in canboat, published on 25 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-193

Which versions are affected by CVE-2026-56790?

How do I fix CVE-2026-56790?

No fix has been published for CVE-2026-56790 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-56790 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56790 exists.

Sources

Also known as GHSA-p2cc-x7hq-6jvm.

Is CVE-2026-56790 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free