{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.11.1"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "256d04b60d80bf1190e96b0ad1e91b2174d744b1"
            }
          ],
          "repo": "https://github.com/libssh2/libssh2",
          "type": "GIT"
        }
      ],
      "versions": [
        "1.11.0",
        "1.11.1"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-189",
      "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7598.json"
  },
  "details": "A security vulnerability has been detected in libssh2 up to 1.11.1. The impacted element is the function userauth_password of the file src/userauth.c. Such manipulation of the argument username_len/password_len leads to integer overflow. The attack may be launched remotely. The name of the patch is 256d04b60d80bf1190e96b0ad1e91b2174d744b1. A patch should be applied to remediate this issue.",
  "id": "CVE-2026-7598",
  "modified": "2026-07-08T05:36:21.366526454Z",
  "published": "2026-05-01T21:30:11.006Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/libssh2/libssh2/"
    },
    {
      "type": "WEB",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7598.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:16736"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:7021"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-7598"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7598.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-7598"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/805564"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/360555"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2464597"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/360555/cti"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libssh2/libssh2/pull/1858"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X",
      "type": "CVSS_V4"
    }
  ],
  "summary": "libssh2 userauth.c userauth_password integer overflow"
}