{"id":"CVE-2026-56790","summary":"CANBoat - Off-by-One Global Buffer Overflow in searchForPgn()","details":"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.","modified":"2026-07-16T03:48:43.681225209Z","published":"2026-06-25T18:14:48.573Z","database_specific":{"cwe_ids":["CWE-193"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56790.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"last_affected":"6.22"}]},{"source":"DESCRIPTION","extracted_events":[{"fixed":"6.22"}]}],"cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56790.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56790"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/canboat-off-by-one-global-buffer-overflow-in-searchforpgn"},{"type":"REPORT","url":"https://github.com/canboat/canboat/pull/649"},{"type":"FIX","url":"https://github.com/canboat/canboat/commit/a5a22b74b9ac5688019cba62669df08562cebd6f"},{"type":"PACKAGE","url":"https://github.com/canboat/canboat"},{"type":"EVIDENCE","url":"https://github.com/canboat/canboat/issues/644"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/canboat/canboat","events":[{"introduced":"0"},{"fixed":"a5a22b74b9ac5688019cba62669df08562cebd6f"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v6.2.2","v6.2.1","v6.2.0","v6.1.9","v6.1.8","v6.1.7","v6.1.6","v6.1.5","v6.1.4","v6.1.3","v6.1.2","v6.1.1","v6.1.0","v6.0.1","v6.0.0","v5.1.3","v5.1.2","v5.1.1","v5.1.0","v5.0.2","v5.0.1","v5.0.0","v4.12.0","v4.11.1","v4.11.0","v4.10.1","v4.10.0","v4.9.2","v4.9.1","v4.6.1","v4.6.0","v4.5.1","v4.5.0","v4.4.0","v4.3.0","v4.2.2","v4.2.1","v1.3.0","v1.2.1","v1.2.0","v1.1.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56790.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}