{
  "id": "CVE-2026-45265",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45265",
  "published_at": "2026-11-12T19:59:55.457Z",
  "title": "Atomic-Read-File RecordCount Stack-Based Out-of-Bounds Write in bacnet-stack",
  "vendor": "bacnet-stack",
  "product": "bacnet-stack",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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 stack-based out-of-bounds write / stack-buffer-overflow in bacnet-stack when the server processes a malicious Atomic-Read-File request in record access mode. The bug is triggered on the real server side. A crafted request can set an excessively large RecordCount, which is later used as the loop bound for writing record data into a stack-allocated BACNET_ATOMIC_READ_FILE_DATA data structure. However, the stack object only has space for one fileData element. When the loop reaches i = 1, the code computes \u0026data-\u003efileData[1], which is already out of bounds, and the resulting invalid pointer is passed down to memmove(), causing a stack-buffer-overflow. This issue has been patched in versions 1.4.4 and 1.5.1.",
  "cwe": "CWE-121",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "bacnet-stack",
        "product": "bacnet-stack",
        "ranges": [
          "\u003c 1.4.4",
          "\u003c 1.5.1"
        ],
        "fixed_in": [
          "1.4.4",
          "1.5.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade bacnet-stack to 1.4.4 or 1.5.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-v3gx-mwrp-xvh5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/bacnet-stack/bacnet-stack/pull/1340"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
