{
  "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-8384-pwhh-cxjh"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-121",
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46674.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, an out-of-bounds read vulnerability exists in bacnet-stack's AtomicWriteFile record-access path. The bug is caused by a mismatch between an externally controlled returnedRecordCount field and the fixed-size internal fileData[] array used by BACNET_ATOMIC_WRITE_FILE_DATA. This issue has been patched in versions 1.4.4 and 1.5.1.",
  "id": "CVE-2026-46674",
  "modified": "2026-12-02T20:45:43.249771128Z",
  "published": "2026-11-12T20:00:21.167Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46674.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-8384-pwhh-cxjh"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46674"
    },
    {
      "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:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "BACnet Stack: Out-of-Bounds Read in AtomicWriteFile Record Decoder via Unbounded returnedRecordCount"
}