---
id: CVE-2026-7598
title: A security vulnerability has been detected in libssh2 up to 1.11.1
summary: >-
  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.…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-189
  - CWE-190
  - CWE-190
vendor: libssh2
product: libssh2
affected:
  - libssh2 <= 1.11.1
published: '2026-05-01'
updated: '2026-09-01'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-7598'
references:
  - url: 'https://github.com/libssh2/libssh2/'
    label: cna@vuldb.com
  - url: >-
      https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1
    label: cna@vuldb.com
  - url: 'https://github.com/libssh2/libssh2/pull/1858'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/805564'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/360555'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/360555/cti'
    label: cna@vuldb.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:16736'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:61752'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:7021'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-7598'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2464597'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7598.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://vuldb.com/submit/805564'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00466
epssPercentile: 0.39562
ingestedAt: '2026-09-02T12:43:46.469Z'
---

## Overview

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.

## Affected

- `libssh2 <= 1.11.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
