Vulnerabilities · 2012 · Libssh
CVE-2012-4559
Libssh vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libssh runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.libssh.org/2012/11/20/libssh-0-5-3-security-release/ · Vendor Advisory
- lists.fedoraproject.org/pipermail/package-announce/2012-November/093313.html
- lists.fedoraproject.org/pipermail/package-announce/2012-November/093474.html
- lists.opensuse.org/opensuse-security-announce/2012-12/msg00002.html
- lists.opensuse.org/opensuse-updates/2012-12/msg00016.html
- lists.opensuse.org/opensuse-updates/2013-01/msg00021.html
- www.debian.org/security/2012/dsa-2577
- www.mandriva.com/security/advisories?name=MDVSA-2012:175
- nvd.nist.gov/vuln/detail/CVE-2012-4559
- cve.org/CVERecord?id=CVE-2012-4559
More vulnerabilities in Libssh products
CVE-2025-8114CVE-2025-5987CVE-2025-5449CVE-2025-5372CVE-2025-5351CVE-2025-5318CVE-2023-6918CVE-2023-6004All 26
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.