Gentoo Logo

libssh: Arbitrary code execution


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201402-26 / libssh
Release Date February 21, 2014
Latest Revision February 21, 2014: 1
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-libs/libssh < 0.5.3 >= 0.5.3 All supported architectures

Related bugreports: #444147


Multiple vulnerabilities have been found in libssh, allowing attackers to execute arbitrary code or cause Denial of Service.

2.  Impact Information


libssh is a C library providing SSHv2 and SSHv1.


Multiple buffer overflow, double free, and integer overflow vulnerabilities have been discovered in libssh.


A remote attacker could possibly execute arbitrary code with the privileges of the process or cause a Denial of Service condition.

3.  Resolution Information


There is no known workaround at this time.


All libssh users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=net-libs/libssh-0.5.3"

4.  References


Page updated February 21, 2014

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.