Every CVE Search/ Get API key

CVE-2012-4559

Multiple double free vulnerabilities in the (1) agent_sign_data function in agent.c, (2)...

6.8 MediumFix available

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.

Exploit likelihood

5.18%Down 2.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

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.

Record
CVE-2012-4559
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-399
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2012-4559
Updated
2026-11-02
EUVDEUVD-2012-4487 No score

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.

Record
EUVD-2012-4487
Updated
2026-11-03
GitHub AdvisoriesGHSA-px93-6r58-rr4j No score

Multiple double free vulnerabilities in the (1) agent_sign_data function in agent.c, (2)...

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.

Record
GHSA-px93-6r58-rr4j
Updated
2026-11-02
OSV No score

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.

Record
CVE-2012-4559
Updated
2026-11-02
OSVDEBIAN-CVE-2012-4559 No score

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.

Record
DEBIAN-CVE-2012-4559
Updated
2026-11-02
OSVopenSUSE-SU-2024:10036-1 No score

libssh-devel-0.7.2-2.1 on GA media

These are all security issues fixed in the libssh-devel-0.7.2-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10036-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libssh
Debian:12
before 0.5.3-1
0.5.3-1
libssh
Debian:13
before 0.5.3-1
0.5.3-1
libssh
Debian:14
before 0.5.3-1
0.5.3-1
libssh
Debian:6.0
before 0.4.5-3+squeeze1, plus listed versions
0.4.5-3
0.4.5-3+squeeze1
libssh
openSUSE:Tumbleweed
before 0.7.2-2.1
0.7.2-2.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2012-4559 is a medium vulnerability (CVSS 6.8) in Libssh, published November 30, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.18%, the 92nd percentile. Fixed in libssh 0.5.3-1.

References

Show 17 moreShow less
MoveEnter Open