{"affected":[{"product":"bacnet-stack","source":"CNA: GitHub_M","vendor":"bacnet-stack","versions":[{"status":"affected","version":"< 1.4.4"},{"status":"affected","version":"< 1.5.1"}]}],"cveId":"CVE-2026-45265","cwes":["CWE-121"],"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 &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.","epss":{"date":"2026-11-13","percentile":0.17729,"score":0.00259},"exploits":[],"kev":null,"metrics":[{"score":8.2,"severity":"high","source":"CNA: GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","version":"3.1"},{"score":8.2,"severity":"high","source":"NVD: security-advisories@github.com","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","version":"3.1"}],"modifiedAt":1794611839483,"publishedAt":1794513595457,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-v3gx-mwrp-xvh5"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/bacnet-stack/bacnet-stack/pull/1340"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/bacnet-stack/bacnet-stack/pull/1340"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-v3gx-mwrp-xvh5"}],"remediation":[],"revision":"34be919ddcc2a79ab9b21dcab34f7d3939ddd5c4ff63f44aca7bae3eceb8df03","sources":[{"modifiedAt":1794609174748,"name":"CNA: GitHub_M","retrievedAt":1794611350371,"url":"https://www.cve.org/CVERecord?id=CVE-2026-45265"},{"modifiedAt":1794611839483,"name":"NVD","retrievedAt":1794615463526,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45265"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1794611358688,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-45265"}],"ssvc":{"assessedAt":1794587633838,"automatable":"yes","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"Atomic-Read-File RecordCount Stack-Based Out-of-Bounds Write in bacnet-stack","updatedAt":1794615463526}