Live threats

All CVEs / Libssh

CVE-2012-4561Libssh

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
4.8%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Nov 30, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libssh.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libsshlibssh≤ 0.5.2
libsshlibssh0.4.7
libsshlibssh0.4.8
libsshlibssh0.5.0
libsshlibssh0.5.0
libsshlibssh0.5.1

Official sources

References

Links published by the sources. Open them with care.