{
  "id": "CVE-2026-97152",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-97152",
  "published_at": "2026-09-24T03:17:23.503Z",
  "vendor": "Nanomsg",
  "product": "Nanomsg",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:H/SI:H/SA:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Nanomsg versions 0.5-beta through 1.x before 1.2.3 has a remotely exploitable buffer overflow in the WebSocket transport, due to an unchecked copy of the Sec-WebSocket-Version header, through snprintf.",
  "cwe": "CWE-122",
  "cvss_by_source": {
    "cna": 8.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Nanomsg",
        "product": "Nanomsg",
        "ranges": [
          "\u003e= 0.5.0, \u003c 1.2.3"
        ],
        "fixed_in": [
          "1.2.3"
        ]
      }
    ],
    "solutions": [
      "Upgrade to nanomsg 1.2.3 or higher, or use NNG which is hardened for hostile networks."
    ],
    "upgrade": [
      "Upgrade Nanomsg to 1.2.3 or later."
    ],
    "workarounds": [
      "Disable the websocket transport, or ensure that it is only available to trusted peers."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/nanomsg/nanomsg/pull/1130"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/nanomsg/nanomsg/releases/tag/1.2.3"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
