CVE-2012-6063Libssh
High 7.5 No auth needed
Follow: this CVE · Libssh · Libssh We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 2.0
- 7.5
- EPSS
- 3.6% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Nov 30, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-399
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
Double free vulnerability in the sftp_mkdir function in sftp.c in libssh before 0.5.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via unspecified vectors, a different vector than CVE-2012-4559.
What to do
- Apply the vendor's security update for Libssh.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libssh | libssh | ≤ 0.5.2 |
| libssh | libssh | 0.4.7 |
| libssh | libssh | 0.4.8 |
| libssh | libssh | 0.5.0 |
| libssh | libssh | 0.5.0 |
| libssh | libssh | 0.5.1 |
Official sources
References
Links published by the sources. Open them with care.
- git.libssh.org
- www.debian.org
- www.libssh.org Vendor Advisory
- bugzilla.redhat.com