{"id":"CVE-2026-45265","published":"2026-11-12T19:59:55Z","modified":"2026-11-13T22:32:54Z","title":"Atomic-Read-File RecordCount Stack-Based Out-of-Bounds Write in bacnet-stack","vendor":"bacnet-stack","product":"bacnet-stack","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00259,"percentile":0.17916,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-v3gx-mwrp-xvh5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bacnet-stack/bacnet-stack/pull/1340","tags":["x_refsource_MISC"]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":3.58},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"bacnet-stack","affectedVersions":[{"vendor":"bacnet-stack","product":"bacnet-stack","versions":["< 1.4.4","< 1.5.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-13T16:33:53.838763Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-124655","exploited":false,"provenance":"source"}}