What’s Vulnerable › Vulnerabilities
CVE-2012-4559
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2012-11-30 · updated 2026-06-16
- Weakness: CWE-399
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.
Affected products
- libssh: through 0.5.2; 0.4.7, 0.4.8, 0.5.0, 0.5.0-rc1, 0.5.1
References
- http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093313.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093474.html
- http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00002.html
- http://lists.opensuse.org/opensuse-updates/2012-12/msg00016.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00021.html
- http://www.debian.org/security/2012/dsa-2577
- http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release/
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:175
- http://www.openwall.com/lists/oss-security/2012/11/20/3
- http://www.securityfocus.com/bid/56604
- http://www.ubuntu.com/usn/USN-1640-1
- https://bugzilla.redhat.com/show_bug.cgi?id=871612
Get alerted when CVE-2012-4559 or the next vulnerability affects your stack