CVE-2025-4878

Publication date 25 June 2025

Last updated 23 July 2025


Ubuntu priority

Cvss 3 Severity Score

3.6 · Low

Score breakdown

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.

Status

Package Ubuntu Release Status
libssh 25.04 plucky
Fixed 0.11.1-1ubuntu0.1
24.10 oracular
Fixed 0.10.6-3ubuntu1.1
24.04 LTS noble
Fixed 0.10.6-2ubuntu0.1
22.04 LTS jammy
Fixed 0.9.6-2ubuntu0.22.04.4
20.04 LTS focal
Needs evaluation
18.04 LTS bionic
Needs evaluation
16.04 LTS xenial
Needs evaluation

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libssh

Severity score breakdown

Parameter Value
Base score 3.6 · Low
Attack vector Local
Attack complexity High
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality Low
Integrity impact Low
Availability impact None
Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

References

Related Ubuntu Security Notices (USN)

Other references