A security vulnerability has been detected in libssh2 up to 1.11.1. The impacted element is the function userauthpassword of the file src/userauth.c. Such manipulation of the argument usernamelen/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.
{
"cwe_ids": [
"CWE-189",
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7598.json",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "1.11.0"
},
{
"last_affected": "1.11.0"
},
{
"introduced": "1.11.1"
},
{
"last_affected": "1.11.1"
}
]
}
],
"cna_assigner": "VulDB"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-7598.json"
"2026-08-05T08:56:43Z"
[
{
"deprecated": false,
"source": "https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1",
"target": {
"file": "src/userauth.c"
},
"digest": {
"line_hashes": [
"105944883648702716469832361508455745779",
"135921686818758094780601426761088711007",
"104968438572238154354189502596144171515",
"23960908240841587187684784409845704464",
"220105438989333876975692306598100991888",
"71058313471587911986208624496644520080",
"339743418489222310773872299585903339361",
"117776238266867731180321242929075759140",
"336093971610785554616069224677083843150",
"313759567380244175551245030653333576709"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2026-7598-b7bfc08c"
},
{
"deprecated": false,
"source": "https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1",
"target": {
"function": "userauth_list",
"file": "src/userauth.c"
},
"digest": {
"function_hash": "95083009476355537283530344868539956767",
"length": 5127.0
},
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2026-7598-d9addf1a"
},
{
"deprecated": false,
"source": "https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1",
"target": {
"function": "userauth_password",
"file": "src/userauth.c"
},
"digest": {
"function_hash": "57283062015952208657733224504165706600",
"length": 7174.0
},
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2026-7598-e837479b"
}
]