CVE-2026-7598
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-7598 is an integer overflow vulnerability in libssh2 affecting all versions up to and including 1.11.1. The flaw resides in the userauth_password function within src/userauth.c, where insufficient bounds checking on the username_len and password_len arguments can lead to integer overflow conditions. It was disclosed on May 1, 2026, with the patch merged on April 13, 2026 (commit 256d04b). The vulnerability carries a CVSS v3.1 base score of 7.3 (High) and a CVSS v4.0 base score of 6.9 (Medium) (Github Advisory, Feedly).

Technical details

The root cause is an integer overflow or wraparound (CWE-190) in the userauth_password function of src/userauth.c. When computing buffer sizes such as username_len + 40 or username_len + password_len + 44, the code failed to validate that these values would not exceed UINT32_MAX, allowing an attacker to supply crafted oversized length values that wrap around and produce an undersized allocation. The fix adds explicit bounds checks — e.g., if(username_len > UINT32_MAX - 40) — before performing arithmetic on these lengths, and also corrects a pre-existing flawed bounds check in the password change path (<= vs. proper subtraction-based comparison). The attack is network-accessible, requires no authentication or user interaction, and has low attack complexity (libssh2 PR #1858, libssh2 commit).

Impact

Successful exploitation could result in low-level unauthorized access to sensitive information (confidentiality impact), unauthorized modification of data (integrity impact), and potential service disruption (availability impact). Because libssh2 is a widely embedded SSH library used across many applications, platforms, and distributions — including Ubuntu, Fedora, Amazon Linux, and Windows toolchains — the affected scope is broad. The vulnerability does not appear to enable full remote code execution based on current analysis, but memory corruption resulting from the integer overflow could potentially be leveraged for further exploitation depending on the application context (Github Advisory, Feedly).

Exploitability

As of the time of reporting, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). No threat actor attribution has been identified. The EPSS score is approximately 0.046% (Feedly data) to 0.075% (GitHub Advisory), placing it in a low exploitation probability range. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Detection plugins are available from Nessus (plugin IDs 311788, 312357, 317985, 319615) and Qualys (288868) (Feedly).

Mitigation and workarounds

The fix is available as commit 256d04b60d80bf1190e96b0ad1e91b2174d744b1 merged into the libssh2 master branch on April 13, 2026, via PR #1858. Users should update libssh2 to a version built from or after this commit. Distribution-specific patches have been released for Ubuntu (USN-8309-1), Fedora (FEDORA-2026-1b9134cdc9), Amazon Linux 2 (ALAS2-2026-3329), and Amazon Linux 2023 (ALAS2023-2026-1779). Priority should be given to systems running libssh2 versions 1.11.0 and 1.11.1; no configuration-based workaround is available, so patching is the only remediation (libssh2 PR #1858, Github Advisory).

Community reactions

The vulnerability received routine coverage from security aggregators and distribution security teams, including Yocto Project security mailing lists, Red Packet Security, and Linux security advisory sites. Microsoft's Security Response Center published an entry for the CVE. Pro-Linux.de covered it under denial-of-service and buffer overflow categories. No notable researcher commentary or significant social media discussion beyond automated CVE notification accounts has been observed (Feedly).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-78662HIGH7.5
  • Docker logoDocker
  • telegraf-1.38
NoYesSep 02, 2026
CVE-2026-56855HIGH7.5
  • Docker logoDocker
  • flux-notification-controller
NoYesSep 02, 2026
CVE-2026-84642HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
NoYesSep 01, 2026
CVE-2026-84641HIGH7.5
  • NixOS logoNixOS
  • thunderbird
NoYesSep 01, 2026
CVE-2026-84640HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
NoYesSep 01, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management