{
  "id": "CVE-2026-62976",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-62976",
  "published_at": "2026-11-13T18:39:25.636Z",
  "title": "BACnet Stack: Consecutive AtomicWriteFile(record-access) appends can trigger a heap out-of-bounds read in the RAMFS file backend",
  "vendor": "bacnet-stack",
  "product": "bacnet-stack",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 1,
  "edge_device": null,
  "description": "BACnet Stack is a BACnet open source protocol stack C library for embedded systems. Prior to version 1.5.1, the RAMFS-backed FILE object implementation stores appended records as NUL-terminated strings, but its record-counting logic later walks the buffer as if an additional terminating empty record were present. As a result, two consecutive AtomicWriteFile(record-access) append requests can cause record_count() to call bacnet_strnlen() on a pointer that is already one byte past the end of the heap allocation. This issue has been patched in versions 1.5.1 and 1.6.0.",
  "cwe": "CWE-125",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [
    {
      "repo": "davidredborder/redborder-ai-dpi",
      "url": "https://github.com/davidredborder/redborder-ai-dpi",
      "created_at": "2026-08-19T13:02:31Z",
      "first_seen_at": "2026-11-14T08:54:45.9Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 100,
      "suspicious": true,
      "suspicion_reasons": [
        "executes decoded/obfuscated code in data/payloads/synthesized_attacks.txt",
        "executes decoded/obfuscated code in data/payloads/xss.txt",
        "executes decoded/obfuscated code in scripts/download_datasets.py",
        "executes decoded/obfuscated code in scripts/train_payload_sqli.py",
        "pipes a download into a shell / encoded PowerShell in .github/workflows/rpm.yml",
        "pipes a download into a shell / encoded PowerShell in .github/workflows/sbom.yml",
        "pipes a download into a shell / encoded PowerShell in data/payloads/command_injection.txt",
        "pipes a download into a shell / encoded PowerShell in data/payloads/reverse_shell.txt",
        "pipes a download into a shell / encoded PowerShell in data/payloads/synthesized_attacks.txt",
        "pipes a download into a shell / encoded PowerShell in scripts/download_datasets.py",
        "README gives an archive password",
        "references an exfiltration/paste endpoint in internal/inference/domain_classifier.go",
        "references an exfiltration/paste endpoint in internal/inference/tls_classifier.go",
        "references an exfiltration/paste endpoint in scripts/download_threat_feeds.py",
        "contains archives (models/flow_anomaly_cnn.pth, models/payload_sqli_cnn.pth)",
        "large base64 blob in code in internal/output/whitelist_test.go"
      ],
      "status": "analyzed",
      "owner_created_at": "2017-12-20T08:15:58Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "bacnet-stack",
        "product": "bacnet-stack",
        "ranges": [
          "\u003c 1.5.1"
        ],
        "fixed_in": [
          "1.5.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade bacnet-stack to 1.5.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/bacnet-stack/bacnet-stack/security/advisories/GHSA-32jj-x86x-w98w"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/bacnet-stack/bacnet-stack/pull/1408"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
