CVE-2026-7598

Source
https://cve.org/CVERecord?id=CVE-2026-7598
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-7598.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-7598
Downstream
ALPINE (1)
AZL (3)
BELL (1)
CGA (6)
CLSA (6)
DEBIAN (1)
ECHO (1)
JLSEC (1)
MGASA (1)
MINI (1)
OESA (1)
openSUSE (2)
RHSA (3)
ROOT (2)
SUSE (9)
UBUNTU (1)
Related
Published
2026-05-01T21:30:11Z
Modified
2026-10-06T08:29:21Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
libssh2 userauth.c userauth_password integer overflow
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.

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"
}
References

Affected packages

Git / github.com/libssh2/libssh2

Affected ranges

Type
GIT
Repo
https://github.com/libssh2/libssh2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "1.11.1"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.11.0
1.11.1
RELEASE.*
RELEASE.0.1
RELEASE.0.10
RELEASE.0.11
RELEASE.0.12
RELEASE.0.13
RELEASE.0.14
RELEASE.0.15
RELEASE.0.16
RELEASE.0.17
RELEASE.0.18
RELEASE.0.3
RELEASE.0.5
RELEASE.0.6
RELEASE.0.7
RELEASE.0.8
RELEASE.1.0
RELEASE.1.1
beforenb-0.*
beforenb-0.14
beforenb2-0.*
beforenb2-0.14
libssh2-1.*
libssh2-1.10.0
libssh2-1.11.0
libssh2-1.11.1
libssh2-1.2
libssh2-1.2.1
libssh2-1.2.3
libssh2-1.2.4
libssh2-1.2.5
libssh2-1.2.6
libssh2-1.2.7
libssh2-1.2.8
libssh2-1.2.9
libssh2-1.3.0
libssh2-1.4.0
libssh2-1.4.1
libssh2-1.4.2
libssh2-1.4.3
libssh2-1.5.0
libssh2-1.6.0
libssh2-1.7.0
libssh2-1.8.0
libssh2-1.9.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-7598.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "105944883648702716469832361508455745779",
                "135921686818758094780601426761088711007",
                "104968438572238154354189502596144171515",
                "23960908240841587187684784409845704464",
                "220105438989333876975692306598100991888",
                "71058313471587911986208624496644520080",
                "339743418489222310773872299585903339361",
                "117776238266867731180321242929075759140",
                "336093971610785554616069224677083843150",
                "313759567380244175551245030653333576709"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-7598-b7bfc08c",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1",
        "target":  {
            "file":  "src/userauth.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "95083009476355537283530344868539956767",
            "length":  5127
        },
        "id":  "CVE-2026-7598-d9addf1a",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1",
        "target":  {
            "file":  "src/userauth.c",
            "function":  "userauth_list"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "57283062015952208657733224504165706600",
            "length":  7174
        },
        "id":  "CVE-2026-7598-e837479b",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1",
        "target":  {
            "file":  "src/userauth.c",
            "function":  "userauth_password"
        }
    }
]
vanir_signatures_modified
"2026-10-06T08:29:21Z"