{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.4.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.5.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.6.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "289b90d8d109b00594667a82007255bb71b36a6b"
            },
            {
              "fixed": "3a74c74a8139526e34da32c6cc41ed7c71aaded5"
            },
            {
              "fixed": "9bc3cfa07aab98852de432fa24079f4b4b6b7eed"
            }
          ],
          "repo": "https://github.com/bacnet-stack/bacnet-stack",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-jr7p-rm2x-739x"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-416",
      "CWE-562"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52790.json"
  },
  "details": "BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to versions 1.4.5, 1.5.1, and 1.6.0, there is a library-level memory safety issue that is reachable from an unmodified official sample server (apps/server-basic/main.c) over BACnet/IP resulting in a stack-use-after-return in writable Device string properties. This issue has been patched in versions 1.4.5, 1.5.1, and 1.6.0.",
  "id": "CVE-2026-52790",
  "modified": "2026-11-14T10:30:26.155361165Z",
  "published": "2026-11-13T15:57:10.497Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52790.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/bacnet-stack/bacnet-stack/pull/1375"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-jr7p-rm2x-739x"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52790"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "BACnet Stack: bacnet_device.c stack-use-after-return in writable Device string properties"
}