CVE-2025-14821
published high CVSS 3.1 · 7.8Libssh: libssh: insecure default configuration leads to local man-in-the-middle attacks on windows
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | libssh-mainRed Hat Hardened Images · 0.12.0-1.1.hum1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8, 9, 10 | libssh | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 6, 7 | libssh2 | Unaffected | Not required | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-8Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | libssh | Fixed | 0 | Package fix record |
| Alpine Linux | v3.23 | libssh | Fixed | 0 | Package fix record |
| Alpine Linux | v3.24 | libssh | Fixed | 0 | Package fix record |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Hardened Images | 0.12.0-1.1.hum1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-427 Uncontrolled Search Path Element
References
4- RHSA-2026:7067 https://access.redhat.com/errata/RHSA-2026:7067
- https://access.redhat.com/security/cve/CVE-2025-14821
- RHBZ#2423148 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/
Provider assertions
2redhat · cna
Libssh: libssh: insecure default configuration leads to local man-in-the-middle attacks on windows
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c5e9f78a2921f0fc06eec55779f6a1e177bce0ded08c2f8e876a1c23cf8a55b7
- Ingested
- 25 Nov 2026, 14:23:54 UTC
- Source record
- Official CVE record