CVE-2025-14821Libssh: libssh: insecure default configuration leads to local man-in-the-middle attacks…
A flaw was found in libssh. This vulnerability allows local man-in-the-middle attacks, security downgrades of SSH (Secure Shell) connections, and manipulation of trusted host information, posing a significant risk to the confidentiality, integrity, and availability of SSH communications via an insecure default configuration on Windows systems where the library automatically loads configuration files from the C:\etc directory, which can be created and modified by unprivileged local users.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | libssh | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | libssh | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libssh | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 10 | libssh | Not affected | ||
| Red Hat Enterprise Linux 10 | libssh-config | Not affected | ||
| Red Hat Enterprise Linux 10 | libssh-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libssh | Not affected | ||
| Red Hat Enterprise Linux 9 | libssh-config | Not affected | ||
| Red Hat Enterprise Linux 9 | libssh-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libssh | Not affected | ||
| Red Hat Enterprise Linux 8 | libssh-config | Not affected | ||
| Red Hat Enterprise Linux 8 | libssh-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libssh2 | Not affected | ||
| Red Hat Enterprise Linux 7 | libssh2-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libssh2-docs | Not affected | ||
| Red Hat Enterprise Linux 6 | libssh2 | Not affected | ||
| Red Hat Enterprise Linux 6 | libssh2-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | libssh2-docs | Not affected |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Hardened Images
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:7067 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:7067
- https://access.redhat.com/security/cve/CVE-2025-14821
- https://bugzilla.redhat.com/show_bug.cgi?id=2423148
- https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.