CVE-2012-4560: Buffer Overflow

Published Oct 30, 2012
·
Updated

Florian Weimer of the Red Hat Product Security Team reported two cases where a function in libssh would write one past the end of the buffer (the u buffer in misc.c:sshpathexpandtilde() and the buf buffer in misc.c:sshpathexpandescape()).

Other sources

Multiple buffer overflows in libssh before 0.5.3 allow remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via unspecified vectors.

MITRE

Affected Software

6 affected components
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-rc1
libssh libssh=0.5.1

Event History

Oct 30, 2012
Data Sourced
via Red Hat·09:02 PM
DescriptionSeverityAffected Software
Nov 30, 2012
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2012-4560?

CVE-2012-4560 has a severity rating that suggests potential exploitation could lead to critical security risks due to multiple buffer overflows.

2

How do I fix CVE-2012-4560?

To fix CVE-2012-4560, you should upgrade libssh to version 0.5.3 or later.

3

Which versions of libssh are affected by CVE-2012-4560?

CVE-2012-4560 affects libssh versions prior to 0.5.3, including versions 0.4.7, 0.4.8, 0.5.0, 0.5.0-rc1, and 0.5.1.

4

What types of vulnerabilities does CVE-2012-4560 encompass?

CVE-2012-4560 encompasses multiple buffer overflow vulnerabilities in certain functions of libssh.

5

Who reported CVE-2012-4560?

CVE-2012-4560 was reported by Florian Weimer of the Red Hat Product Security Team.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203