CVE-2025-14821
HIGH 7.0CVSS 3.1Libssh: libssh: insecure default configuration leads to local man-in-the-middle attacks on windows
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.
- Published
- 7 Apr 2026
- Last modified
- 25 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Analyzed
- Weakness
- CWE-427
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | redhat | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | libssh | libsshcpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* |
< 0.12.0 | 0.12.0 |
| NVD | redhat | hardened_imagescpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:* |
(no version) | |
| CVE List | https://catalog.redhat.com/software/containers/ | libssh-maincpe:/a:redhat:hummingbird:1 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libsshcpe:/o:redhat:enterprise_linux:10 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libssh2cpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libssh2cpe:/o:redhat:rhel_els:7 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libsshcpe:/o:redhat:enterprise_linux:8 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libsshcpe:/o:redhat:enterprise_linux:9 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | openshift/ose-rhel-coreos-8cpe:/a:redhat:openshift:4 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | openshift/ose-rhel-coreos-9cpe:/a:redhat:openshift:4 |
References
- https://access.redhat.com/errata/RHSA-2026:7067 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-14821 · Third Party Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2423148 · Issue Tracking, Third Party Advisory, issue-tracking, x_refsource_REDHAT
- https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/ · Release Notes
History
- 25 Nov 2026 20:55 UTC · CVE List: first stored (published 7 Apr 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 7 Apr 2026)