Skip to content
OpenAdvisories
Unscored CVE-2012-4559 EUVD-2012-4487GHSA-px93-6r58-rr4j

Multiple double free vulnerabilities in the (1) agent_sign_data function in agent.c, (2) channel_request function in channels.c, (3) ssh_us…

Published Nov 30, 2012 · Updated Aug 6, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libssh 0.5.3-1 —
Debian 13 libssh 0.5.3-1 —
Debian 12 libssh 0.5.3-1 —
Debian 6.0 libssh 0.4.5-3+squeeze1 DSA-2577-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libssh 0.7.2-2.1 openSUSE-SU-2024:10036-1

Advisories 2

References