Unscored severity · published Nov 30, 2012
CVE-2012-4559
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)…
–
CVSS
5.2%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)5.2% · higher than 92% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
Libssh · Libssh
through 0.5.2; 0.4.7; 0.4.8; 0.5.0; 0.5.0; 0.5.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-4559
CVE.org
https://www.cve.org/CVERecord?id=CVE-2012-4559
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093313.html
lists.fedoraproject.org
http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093474.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00002.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-updates/2012-12/msg00016.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-updates/2013-01/msg00021.html
www.debian.org
http://www.debian.org/security/2012/dsa-2577
More from Libssh
9.1
CVE-2018-10933
A vulnerability was found in libssh's server-side state machine before versions 0.7.6 and 0.8.4
8.8
CVE-2026-59851
Libssh: libssh: authentication bypass via missing gssapi principal check
8.8
CVE-2025-5372
A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation
8.8
CVE-2019-14889
A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8
8.2
CVE-2026-0966
Libssh: libssh: denial of service via zero-length input in ssh_get_hexa()
