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

- Severity: High 7.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-25T18:14:48.573Z
- Modified: 2026-11-08T14:06:28.433Z
- Weaknesses: CWE-193
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- canboat canboat: up to 6.22 (not affected: a5a22b74b9ac5688019cba62669df08562cebd6f)

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H`

## 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

- CVE List: [CVE-2026-56790](https://www.cve.org/CVERecord?id=CVE-2026-56790), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-56790](https://nvd.nist.gov/vuln/detail/CVE-2026-56790), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-56790 · Whole record: https://cve.day/CVE-2026-56790.json · Rebuilt by cve.day 2026-11-25T22:59:26.425Z
