Skip to content
RedCVE

CVE-2026-45265Bacnet Stack Bacnet-stack stack-based buffer overflow

bacnet-stackPublished:

CVSS score

8.2

High

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.26%

0.26% chance of exploitation in the next 30 days, higher than 17.7% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Bacnet-stack and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Bacnet-stack to 1.4.4, 1.5.1 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Affected products

Affected productsVersions
bacnet-stack Bacnet-stack< 1.4.4 · < 1.5.1

Weakness

  • CWE-121 stack-based buffer overflow

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-45265 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-45265?

CVE-2026-45265 has a CVSS 3.1 base score of 8.2 (high).

Which versions are affected?

Bacnet Stack Bacnet-stack (< 1.4.4; < 1.5.1)

Is there a patch for CVE-2026-45265?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.