SecurityContext

CVE-2025-4878: libssh - Memory Corruption

  • Cve: CVE-2025-4878
  • Name: libssh - Memory Corruption
  • 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.
  • Impact: Attackers can cause signing failures or heap corruption, potentially leading to denial of service or memory corruption.
  • Remediation: Update to the latest version of libssh.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 3.6
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
  • Epss score: 0.00228
  • Epss percentile: 0.13601
  • Assignee: [email protected]
  • Published at: 2025-07-22T15:15:36Z
  • Age in days: 490
  • Modified at: 2026-11-06T18:17:21Z
  • References total: 6
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-4878
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: vulnerability type, requirements

Cwe

IdName
CWE-416Use After Free

Hackerone

  • Reports: 1
  • Rank: 5211

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://access.redhat.com/errata/RHSA-2026:18683
https://access.redhat.com/security/cve/CVE-2025-4878
https://bugzilla.redhat.com/show_bug.cgi?id=2376184
https://git.libssh.org/projects/libssh.git/commit/?id=697650caa97eaf7623924c75f9fcfec6dd423cd1
https://git.libssh.org/projects/libssh.git/commit/?id=b35ee876adc92a208d47194772e99f9c71e0bedb
https://www.libssh.org/security/advisories/CVE-2025-4878.txt

Products

ProductAffectedPlatform boundSourcesUrl
redhat:openshift_container_platformall versionsnocna_alias/v1/products/redhat/openshift_container_platform

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Hackerone reports: 1
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts