{"id":"CVE-2026-45265","sourceIdentifier":"security-advisories@github.com","published":"2026-11-12T20:18:38.380","lastModified":"2026-12-01T23:18:01.340","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"bacnet-stack","product":"bacnet-stack","versions":[{"version":"< 1.4.4","status":"affected"},{"version":"< 1.5.1","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","baseScore":8.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":4.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-13T16:33:53.838763Z","id":"CVE-2026-45265","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-121"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:bacnetstack:bacnet_stack:*:*:*:*:*:*:*:*","versionEndExcluding":"1.4.4","matchCriteriaId":"E6A7BFBA-725F-42D4-82EE-82B1FB63C6D7"},{"vulnerable":true,"criteria":"cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:-:*:*:*:*:*:*","matchCriteriaId":"FAA961EA-E398-46F5-B54A-E4623204C67D"},{"vulnerable":true,"criteria":"cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc1:*:*:*:*:*:*","matchCriteriaId":"2B47182E-6B7F-4C53-904A-EB37C9C0A439"},{"vulnerable":true,"criteria":"cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc2:*:*:*:*:*:*","matchCriteriaId":"CF491863-1A31-4A23-A6AC-DF7545FCAA48"},{"vulnerable":true,"criteria":"cpe:2.3:a:bacnetstack:bacnet_stack:1.5.0:rc3:*:*:*:*:*:*","matchCriteriaId":"DAB57C9E-9ABF-41FD-8D30-7C319ED23227"}]}]}],"references":[{"url":"https://github.com/bacnet-stack/bacnet-stack/pull/1340","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-v3gx-mwrp-xvh5","source":"security-advisories@github.com","tags":["Exploit","Mitigation","Vendor Advisory"]}]}