CVE-2012-4559: Libssh

Medium severity, CVSS 6.8. EPSS: 5.2% probability of exploitation activity in the next 30 days.

Multiple double free vulnerabilities in the (1) agent_sign_data function in agent.c, (2) channel_request function in channels.c, (3) ssh_userauth_pubkey function in auth.c, (4) sftp_parse_attr_3 function in sftp.c, and (5) try_publickey_from_file function in keyfiles.c in libssh before 0.5.3 allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via unspecified vectors.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 0.5.3"; check the vendor's advisory for the release that fixes it.

Affected products

  • Libssh Libssh: up to and including 0.5.2; version 0.4.7 only; version 0.4.8 only; version 0.5.0 only; version 0.5.1 only

Published 2012-11-30. Last modified 2026-06-16.