CVE-2025-4878: Libssh: use of uninitialized variable in privatekey_from_file()
CVE-2025-4878 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- Low
- CVSS base score
- 3.6 (NetApp), 3.6 (Red Hat)
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N· base score 3.6, scored by redhatAttack vector: local. Attack complexity: high. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: low. Integrity impact: low. Availability impact: none.- Weakness
- CWE-416 Use After Free
- EPSS
- 0.23% chance of exploitation in the next 30 days (13th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- Fixed releases
- NetApp: NetApp Console Agent OVA: 4.13.0
- Red Hat: libssh-0:0.10.4-18.el9, RHSA-2026:18683
- Assigned by
- redhat (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2025-4878; each belongs to its advisory, not to every product listed. How records are collected and checked.
Am I affected by CVE-2025-4878?
You are affected if you run NetApp Console Agent OVA at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| NetApp: 0.11.2 | NetApp Console Agent OVA: 4.13.0 |
Description
A vulnerability was found in libssh, where an uninitialized variable exists under certain conditions in the privatekey_from_file() function. This flaw can be triggered if the file specified by the filename doesn't exist and may lead to possible signing failures or heap corruption.
Text from the CVE.org record (redhat).
How do I fix CVE-2025-4878?
Upgrade to a fixed release named by the vendor:
- NetApp: NetApp Console Agent OVA: 4.13.0
- Red Hat: libssh-0:0.10.4-18.el9, RHSA-2026:18683
- Update affected NetApp products to a fixed release: NetApp Console Agent OVA: 4.13.0. (NetApp)
Vendor advisories for CVE-2025-4878
NetApp
1 advisory- Advisory severityLow3.6
Low [CVE-2025-4878] Libssh Vulnerability in NetApp Products
NTAP-20260109-0008Source published Source updated
Multiple NetApp products incorporate libssh. Libssh versions prior to 0.11.2 are susceptible to a vulnerability which when successfully exploited could lead to disclosure of sensitive information or addition or modification of data. Affected products: NetApp Console Agent OVA. NetApp reports that one or more additional products remain under investigation; review the canonical advisory for current status. NetApp states there is no workaround available at this time.
- Affected products in this advisory
- NetApp Console Agent OVA
- Source-reported affected versions
- 0.11.2
- Source-reported fixed versions
- NetApp Console Agent OVA: 4.13.0
- Mitigation guidance
- Update affected NetApp products to a fixed release: NetApp Console Agent OVA: 4.13.0.
Red Hat
1 advisory- Advisory severityLow3.6
Low [CVE-2025-4878] use of uninitialized variable in privatekey_from_file
CVE-2025-4878Source published Source updated
A vulnerability was found in libssh, where an uninitialized variable exists under certain conditions in the privatekey_from_file() function. This flaw can be triggered if the file specified by the filename doesn't exist and may lead to possible signing failures or heap corruption. Red Hat Product Security has rated this vulnerability as having Low severity as the affected privatekey_from_file() function is deprecated and should not be used. Weakness: CWE-416. Affected Red Hat products: Red Hat Enterprise Linux 9; Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; Red Hat OpenShift Container Platform 4. Will not fix / out of support: Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7. Red Hat fixing advisory…
- Affected products in this advisory
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
3 more entries in the full advisory.
- Source-reported affected versions
- Affected-version details not available in this record.
- Source-reported fixed versions
- libssh-0:0.10.4-18.el9
- RHSA-2026:18683
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
References
- CVE-2025-4878 recordCVE.org
- CVE-2025-4878 detailNVD
- RHSA-2026:18683vendor-advisory, x_refsource_redhat
- access.redhat.com/security/cve/CVE-2025-4878vdb-entry, x_refsource_redhat
- RHBZ#2376184issue-tracking, x_refsource_redhat
- git.libssh.org/projects/libssh.git/commit
- git.libssh.org/projects/libssh.git/commit
- libssh.org/security/advisories/CVE-2025-4878.txt
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More NetApp advisories
CVE-2026-88822Nov 25, 2026November 2026 OpenSSL Vulnerabilities in NetApp ProductsCVE-2026-43114Nov 25, 2026Linux Kernel Vulnerability in NetApp ProductsCVE-2026-64268Nov 25, 2026Linux Kernel Vulnerability in NetApp ProductsCVE-2026-106552Nov 18, 2026OpenSSH Vulnerability in NetApp ProductsCVE-2026-106555Nov 18, 2026OpenSSH Vulnerability in NetApp ProductsCVE-2026-106586Nov 18, 2026OpenSSH Vulnerability in NetApp Products
Get an email when NetApp publishes the next one.
See NetApp's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.