{"id":"CVE-2012-4559","aliases":["DEBIAN-CVE-2012-4559","DSA-2577-1","EUVD-2012-4487","GHSA-px93-6r58-rr4j","openSUSE-SU-2024:10036-1"],"status":"published","title":"Multiple double free vulnerabilities in the (1) agent_sign_data function in agent.c, (2)...","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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.05176,"percentile":0.92507,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-399"],"published":"2012-11-30T22:00:00Z","modified":"2026-10-23T17:47:30Z","fixes":[{"ecosystem":"Debian:12","package":"libssh","fixed_in":["0.5.3-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libssh","fixed_in":["0.5.3-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libssh","fixed_in":["0.5.3-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libssh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libssh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libssh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"libssh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.5-3+squeeze1"}]}],"versions":["0.4.5-3"],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"libssh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.2-2.1"}]}],"bundled":7}],"products":[{"vendor":"libssh","product":"libssh"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=871612","tags":["x_refsource_MISC","x_transferred","report"]},{"url":"http://www.debian.org/security/2012/dsa-2577","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:175","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://www.ubuntu.com/usn/USN-1640-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00021.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-updates/2012-12/msg00016.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/80218","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093313.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00002.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/11/20/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093474.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/56604","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4559"},{"url":"http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release"},{"url":"https://github.com/advisories/GHSA-px93-6r58-rr4j"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-4559","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2012-4559","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-4560","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-4561","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-0176","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-0017","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-8132","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-3146","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2012-4559","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.","status":"published","published":"2012-11-30T22:00:00Z","modified":"2024-08-06T20:42:54.503Z","updated_at":"2026-11-02T14:34:51.937988Z"}],"euvd":[{"id":"EUVD-2012-4487","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.","status":"published","published":"2012-11-30T22:00:00Z","modified":"2024-08-06T20:42:54Z","updated_at":"2026-11-03T01:56:07.373412Z"}],"ghsa":[{"id":"GHSA-px93-6r58-rr4j","title":"Multiple double free vulnerabilities in the (1) agent_sign_data function in agent.c, (2)...","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.","status":"published","published":"2022-05-17T01:41:57Z","modified":"2025-04-11T04:05:21Z","updated_at":"2026-11-02T15:01:12.54248Z"}],"nvd":[{"id":"CVE-2012-4559","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.","status":"published","published":"2012-11-30T22:55:01.643Z","modified":"2026-06-16T23:45:23.763Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-399"],"updated_at":"2026-11-02T14:02:16.958223Z"}],"osv":[{"id":"CVE-2012-4559","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.","status":"published","published":"2012-11-30T22:55:01Z","modified":"2026-04-10T03:42:31.314002Z","updated_at":"2026-11-02T15:43:58.802805Z"},{"id":"DEBIAN-CVE-2012-4559","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.","status":"published","published":"2012-11-30T22:55:01.643Z","modified":"2026-10-23T17:47:30.031246503Z","updated_at":"2026-11-02T15:45:25.218101Z"},{"id":"DSA-2577-1","title":"libssh - several","status":"published","published":"2012-12-01T00:00:00Z","modified":"2026-03-09T01:19:56.280632Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"openSUSE-SU-2024:10036-1","title":"libssh-devel-0.7.2-2.1 on GA media","description":"These are all security issues fixed in the libssh-devel-0.7.2-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:40:55.349655Z","updated_at":"2026-11-02T16:58:33.135986Z"}]}}
