CVE-2012-4561

CVE-2012-4561 is a medium-severity vulnerability in Libssh with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

Description

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.

Frequently asked questions

What is 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.
How severe is CVE-2012-4561?
CVE-2012-4561 has a CVSS 2.0 base score of 5.0, rated medium severity.
Is CVE-2012-4561 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 5% (91st percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-4561?
CVE-2012-4561 primarily affects Libssh. In total, 6 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2012-4561?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-4561 published?
CVE-2012-4561 was published on 2012-11-30 and last updated on 2026-06-16.

References

Affected products (6)

More vulnerabilities in Libssh

All CVEs affecting Libssh →