{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a5a22b74b9ac5688019cba62669df08562cebd6f"
            }
          ],
          "repo": "https://github.com/canboat/canboat",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-193"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56790.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "last_affected": "6.22"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "fixed": "6.22"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "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.",
  "id": "CVE-2026-56790",
  "modified": "2026-07-16T03:30:52.529725591Z",
  "published": "2026-06-25T18:14:48.573Z",
  "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"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "CANBoat - Off-by-One Global Buffer Overflow in searchForPgn()"
}