CVE-2012-4561

The (1) publickey_make_dss, (2) publickey_make_rsa, (3) signature_from_string, (4) ssh_do_sign, and (5) ssh_sign_session_id functions in keys.c in libssh before 0.5.3 free "an invalid pointer on an error path," which might allow remote attackers to cause a denial of service (crash) via unspecified vectors.

Published: 2012-11-30 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-4561 is rated Moderate Risk (52.8/100): CVSS Medium severity, with high exploitation likelihood (EPSS 4.75%, 91th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +1.04% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2012-4561

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 3.71% 4.75% +1.04%
2 2025-03-30 5.12% 3.71% -1.41%
3 2025-03-29 5.12%

Full EPSS history (7 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-4561

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2012-4561

OS Trackers for CVE-2012-4561

vendor priority summary link
debian not yet assigned CVE-2012-4561 not yet assigned priority: Debian including 1 source packages (libssh), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2012-4561
gentoo normal CVE-2012-4561: 1 GLSA(s) (201402-26), 1 atom(s) (net-libs/libssh); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2012-4561
suse medium CVE-2012-4561 severity moderate: SUSE including 36 source package names (libssh, libssh-config-0.10.6-1.12, …), 65 product×package rows across 29 product lines (SUSE Linux Enterprise Desktop 12, SUSE Linux Enterprise Desktop 12 SP1, … (29 product lines)): Fixed 52, Known Not Affected 13. https://www.suse.com/security/cve/CVE-2012-4561/
ubuntu low CVE-2012-4561 low priority: Ubuntu including 1 source packages (libssh), 6 status rows across 6 suites (hardy, lucid, oneiric, precise, quantal, upstream): released 5, ignored 1. https://ubuntu.com/security/CVE-2012-4561

Affected software / configurations for CVE-2012-4561

Vendor Product Version Raw CPE
libssh libssh <= 0.5.2 cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
libssh libssh 0.4.7 cpe:2.3:a:libssh:libssh:0.4.7:*:*:*:*:*:*:*
libssh libssh 0.4.8 cpe:2.3:a:libssh:libssh:0.4.8:*:*:*:*:*:*:*
libssh libssh 0.5.0 cpe:2.3:a:libssh:libssh:0.5.0:*:*:*:*:*:*:*
libssh libssh 0.5.0 cpe:2.3:a:libssh:libssh:0.5.0:rc1:*:*:*:*:*:*
libssh libssh 0.5.1 cpe:2.3:a:libssh:libssh:0.5.1:*:*:*:*:*:*:*

References for CVE-2012-4561

URL Tags
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/ Vendor Advisory
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=871617
https://exchange.xforce.ibmcloud.com/vulnerabilities/80220
cvelogic Threat Intelligence