{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "cpe": "cpe:2.3:a:bacnetstack:bacnet_stack:*:*:*:*:*:*:*:*",
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.4.4"
                  }
                ],
                "source": "CPE_RANGE"
              },
              {
                "cpe": "cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:-:*:*:*:*:*:*",
                "range": [
                  {
                    "introduced": "1.5.0-NA"
                  },
                  {
                    "last_affected": "1.5.0-NA"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3ecb65cf56111fc8dd8429a25ff515763fbc74fe"
            },
            {
              "introduced": "61a7a53bea5b5bc4724646abbce601fd26c364b6"
            },
            {
              "last_affected": "61a7a53bea5b5bc4724646abbce601fd26c364b6"
            }
          ],
          "repo": "https://github.com/bacnet-stack/bacnet-stack",
          "type": "GIT"
        }
      ],
      "versions": [
        "1.5.0-NA"
      ]
    }
  ],
  "aliases": [
    "GHSA-rv5h-cxwq-q3mh"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-125",
      "CWE-130"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46677.json"
  },
  "details": "BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.4 and 1.5.1, there is a client-side out-of-bounds read in the AtomicReadFile-ACK record-access handling path. The issue is caused by a mismatch between a remote returnedRecordCount value and the fixed local fileData[] array capacity in BACNET_ATOMIC_READ_FILE_DATA. The ACK decode path preserves the remote RecordCount, discards storage for excess records without truncating that count, and a downstream sink later iterates over the original RecordCount and indexes fileData[i] out of bounds. This issue has been patched in versions 1.4.4 and 1.5.1.",
  "id": "CVE-2026-46677",
  "modified": "2026-12-02T20:45:59.555745243Z",
  "published": "2026-11-12T20:01:13.815Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46677.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-rv5h-cxwq-q3mh"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46677"
    },
    {
      "type": "FIX",
      "url": "https://github.com/bacnet-stack/bacnet-stack/pull/1344"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "BACnet Stack: Client-Side Out-of-Bounds Read in AtomicReadFile-ACK Record-Access Handling via RecordCount / fileData[] Mismatch"
}