{
  "published": "2026-07-01T12:05:50Z",
  "modified": "2026-07-15T10:09:33Z",
  "schema_version": "1.7.5",
  "id": "CGA-grp9-rff8-g889",
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [
    "CVE-2026-58051",
    "GHSA-c5f3-hwj2-xp5p"
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/libssh2/libssh2/blob/master/src/publickey.c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58051.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58051"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/libssh2-free-of-uninitialized-pointer-in-publickey-list-cleanup"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-poc"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Chainguard",
        "name": "libssh2-dev",
        "purl": "pkg:apk/chainguard/libssh2-dev?arch=x86_64"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "components": [
          {
            "component_name": "libssh2-dev",
            "component_version": "1.11.1-r6",
            "component_type": "apk",
            "component_location": "/.PKGINFO",
            "component_purl": "pkg:apk/libssh2-dev@1.11.1-r6",
            "latest_event_status": "pending_upstream_fix",
            "latest_event_timestamp": "2026-07-14T19:15:20Z"
          }
        ]
      }
    },
    {
      "package": {
        "ecosystem": "Wolfi",
        "name": "libssh2-dev",
        "purl": "pkg:apk/wolfi/libssh2-dev?arch=x86_64"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "components": [
          {
            "component_name": "libssh2-dev",
            "component_version": "1.11.1-r6",
            "component_type": "apk",
            "component_location": "/.PKGINFO",
            "component_purl": "pkg:apk/libssh2-dev@1.11.1-r6",
            "latest_event_status": "pending_upstream_fix",
            "latest_event_timestamp": "2026-07-14T19:15:20Z"
          }
        ]
      }
    }
  ]
}
