CVSS 3.1
4.5 mediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LMedium (4.5). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LExplain CVE-2025-4877 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-4877?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-4877?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-4877 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Fixed in |
|---|---|
| Red Hat Enterprise Linux 9 | 0:0.10.4-18.el9 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | libssh | 0.9.8-0+deb11u2 | DLA-4385-1 |
| Debian | 12 | libssh | 0.10.6-0+deb12u2 | DEBIAN-CVE-2025-4877 |
| Debian | 13, 14 | libssh | 0.11.2-1 | DEBIAN-CVE-2025-4877 |
| Ubuntu | 22.04:LTS | libssh | 0.9.6-2ubuntu0.22.04.4 | UBUNTU-CVE-2025-4877 USN-7619-1 |
| Ubuntu | 24.04:LTS | libssh | 0.10.6-2ubuntu0.1 | UBUNTU-CVE-2025-4877 USN-7619-1 |
| Ubuntu | Pro:16.04:LTS | libssh | 0.6.3-4.3ubuntu0.6+esm2 | UBUNTU-CVE-2025-4877 USN-7696-1 |
| Ubuntu | Pro:18.04:LTS | libssh | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm4 | UBUNTU-CVE-2025-4877 USN-7696-1 |
| Ubuntu | Pro:20.04:LTS | libssh | 0.9.3-2ubuntu2.5+esm1 | UBUNTU-CVE-2025-4877 USN-7696-1 |
| Red Hat | enterprise_linux:9::appstream | libssh-devel, libssh-debuginfo, libssh-debugsource | 0:0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat | enterprise_linux:9::baseos | libssh, libssh-config, libssh-debuginfo and 1 more | 0:0.10.4-18.el9 | RHSA-2026:18683 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 more | libssh | 0.9.8-150200.13.9.1 | SUSE-SU-2025:02279-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 10 more | libssh | 0.9.8-150400.3.9.1 | SUSE-SU-2025:02278-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7 | libssh | 0.9.8-150600.11.3.1 | SUSE-SU-2025:02229-1 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5 | libssh | 0.6.3-12.15.1 | SUSE-SU-2025:02755-1 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5 | libssh | 0.9.8-3.15.1 | SUSE-SU-2025:02281-1 |
| SUSE | Linux Micro 6.0 | libssh | 0.10.6-2.1 | SUSE-SU-2025:20557-1 |
| SUSE | Linux Micro 6.1 | libssh | 0.10.6-slfo.1.1_2.1 | SUSE-SU-2025:20596-1 |
| openSUSE | Leap 15.6 | libssh | 0.9.8-150600.11.3.1 | SUSE-SU-2025:02229-1 |
| openSUSE | Tumbleweed | libssh | 0.11.2-1.1 | openSUSE-SU-2025:15243-1 |
| AlmaLinux | 9 | libssh, libssh-devel, libssh-config | 0.10.4-18.el9 | ALSA-2026:18683 |
| Rocky Linux | 9 | libssh | 0:0.10.4-18.el9 | RLSA-2026:18683 |
| Alpine | v3.22, v3.23, v3.24 | libssh | 0.11.2-r0 | ALPINE-CVE-2025-4877 |
| Alpaquita | 23, 25, stream | libssh | 0.11.2-r0 | BELL-CVE-2025-4877 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Moderate.
Red Hat Product Security classified this vulnerability as having a Moderate severity. This happens because of the complexity of the attack, the possible misusage of the libssh API and the fact the attacker may not have full control over the positions and contents written into the heap.
No supported Red Hat products are affected by this issue since only 32-bit builds are vulnerable.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | libssh-0:0.10.4-18.el9 | Fixed 2026-05-19 | RHSA-2026:18683 |
| Red Hat Enterprise Linux 10 | libssh | Not affected | |
| Red Hat Enterprise Linux 6 | libssh2 | Not affected | |
| Red Hat Enterprise Linux 7 | libssh2 | Not affected | |
| Red Hat Enterprise Linux 8 | libssh | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-4877.