CVE-2026-7598

Source
https://cve.org/CVERecord?id=CVE-2026-7598
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-7598.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-7598
Downstream
Related
Published
2026-05-01T21:30:11.006Z
Modified
2026-08-05T08:56:43.903554Z
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 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.

Database specific
{
    "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"
}
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
{
    "source": "REFERENCES"
}

Affected versions

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/cve-osv-conversion/osv-output/CVE-2026-7598.json"
vanir_signatures_modified
"2026-08-05T08:56:43Z"
vanir_signatures
[
    {
        "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"
    }
]