{
  "id": "CVE-2026-58050",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-58050",
  "published_at": "2026-06-28T01:32:53.582Z",
  "title": "libssh2 - Integer Overflow in publickey Subsystem Attribute Allocation",
  "vendor": "libssh2",
  "product": "libssh2",
  "cvss": {
    "score": 8.3,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/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": 0,
  "edge_device": null,
  "description": "libssh2 through 1.11.1 reads an attacker-controlled 32-bit attribute count from a publickey-subsystem response and uses it in the allocation num_attrs * sizeof(libssh2_publickey_attribute) without bounds checking, so on 32-bit platforms the multiplication overflows to an undersized buffer. A malicious SSH server can then drive the attribute-parsing loop to write past the allocation, causing a heap buffer overflow in a connecting libssh2 client.",
  "cwe": "CWE-190",
  "cpes": [
    "cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.3,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "libssh2",
        "product": "libssh2",
        "ranges": [
          "\u003c= 1.11.1"
        ],
        "fixed_in": null
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-poc",
      "source": "pocindex",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T11:25:11.578Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
