{"id":"CVE-2026-45265","aliases":["CVE-2026-45265"],"related":[],"kind":"vulnerability","state":"published","title":"Atomic-Read-File RecordCount Stack-Based Out-of-Bounds Write in bacnet-stack","summary":"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 &data->fileData[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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 &data->fileData[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.","source":"cvelist"}],"published":"2026-11-12T19:59:55.457Z","modified":"2026-12-01T23:18:01.340Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"}],"cwes":["CWE-121"],"affected":[{"ranges":[{"version":"< 1.4.4","status":"affected"},{"version":"< 1.5.1","status":"affected"}],"vendor":"bacnet-stack","product":"bacnet-stack","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.4.4"},{"status":"affected","version":"1.5.0"},{"status":"affected","version":"1.5.0"},{"status":"affected","version":"1.5.0"},{"status":"affected","version":"1.5.0"}],"vendor":"bacnetstack","product":"bacnet_stack","cpe":"cpe:2.3:a:bacnetstack:bacnet_stack:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-v3gx-mwrp-xvh5","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bacnet-stack/bacnet-stack/pull/1340","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-11-13T16:33:53.838Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45265","url":"https://www.cve.org/CVERecord?id=CVE-2026-45265","licence":"CVE Terms of Use","modified":"2026-11-13T22:32:54.748Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45265","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45265","licence":"Public domain","modified":"2026-12-01T23:18:01.340Z"}],"updatedAt":"2026-12-01T23:32:17.525Z","epss":{"score":0.00324,"percentile":0.27503,"date":"2026-12-01T12:00:22.000Z"}}