CVE-2026-3731: 
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-3731 is an out-of-bounds read vulnerability in libssh's SFTP Extension Name Handler that allows remote attackers to trigger a denial of service without authentication. The flaw affects libssh versions up to and including 0.11.3, specifically in the sftp_extensions_get_name and sftp_extensions_get_data functions within src/sftp.c. It was published on March 8, 2026, with patches released in versions 0.11.4 and 0.12.0. The vulnerability carries a CVSS v3.1 base score of 7.5 (High) and a CVSS v4.0 base score of 6.9 (Medium) (Feedly, Red Hat).

Technical details

The root cause is improper bounds checking (CWE-125: Out-of-bounds Read; CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) in the SFTP extension handler. By manipulating the idx argument passed to sftp_extensions_get_name or sftp_extensions_get_data in src/sftp.c, a remote attacker can cause the library to read memory outside the bounds of an allocated buffer. No authentication, special privileges, or user interaction are required for exploitation, as the vulnerable code path is reachable via network-accessible SFTP sessions. The fix is documented in commit 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60 in the libssh mirror repository (GitLab Commit, Feedly).

Impact

Successful exploitation can cause application crashes or denial of service conditions in any system or service relying on a vulnerable version of libssh (up to 0.11.3) for SFTP functionality. The primary impact is on availability (rated High in CVSS v3.1), with no direct confidentiality or integrity impact identified. Downstream products incorporating libssh — including Microsoft Azure Linux packages (azl3_libssh) and distributions such as Ubuntu, SUSE, and Amazon Linux 2023 — are also affected (Feedly, Red Hat, Microsoft MSRC).

Exploitability

There is no public proof-of-concept exploit and no evidence of active in-the-wild exploitation as of the time of reporting (Feedly). The EPSS score is approximately 0.047%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.

Mitigation and workarounds

The primary remediation is to upgrade libssh to version 0.11.4 or 0.12.0, both of which include the fix introduced in commit 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60 (GitLab Commit, libssh Release). Linux distribution users should apply vendor-specific security updates: Ubuntu, SUSE (SUSE-SU-2026:0936-1, SUSE-SU-2026:1310-1), openSUSE, and Amazon Linux 2023 (ALAS2023-2026-1759) have all issued advisories. If immediate patching is not feasible, restrict network access to SFTP services running vulnerable libssh versions to reduce remote exploitation exposure (Red Hat, Feedly).

Community reactions

Red Hat, Microsoft (Azure Linux), Ubuntu, SUSE, openSUSE, Amazon Linux, and Splunk have all issued advisories or security updates addressing this vulnerability, reflecting broad downstream impact across major Linux ecosystems (Red Hat, Microsoft MSRC). Coverage has appeared on Linux security news aggregators and German-language security outlets (pro-linux.de), and the vulnerability was noted on Bluesky by CVE tracking accounts. Community sentiment treats this as a routine, low-urgency patch given the absence of public exploits and the limited impact scope.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

libssh

Affected

sid

libssh: 0.12.0-1

Fixed

trixie

libssh: 0.11.5-0+deb13u1

Fixed

RHEL / CentOS

Affected

OpenShift

openshift/ose-rhel-coreos-8

Affected

RHEL 8

libssh.src

Affected

RHEL 9

libssh.src

Affected

RHEL 10

libssh.src

Affected

Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-112940HIGH7.1
  • Python logoPython
  • py3-filelock
NoYesOct 20, 2026
CVE-2026-112937MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112936MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112939MEDIUM4.7
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112941LOW3.3
  • Python logoPython
  • filelock
NoYesOct 20, 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

Additional Wiz resources

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