7.5
CWE
119
Advisory Published
CVE Published
Updated

CVE-2012-4560: Buffer Overflow

First published: Tue 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:ssh_path_expand_tilde() and the buf buffer in misc.c:ssh_path_expand_escape()).

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Ubuntu<=0.5.2
Ubuntu=0.4.7
Ubuntu=0.4.8
Ubuntu=0.5.0
Ubuntu=0.5.0-rc1
Ubuntu=0.5.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • 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.

  • How do I fix CVE-2012-4560?

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

  • 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.

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

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203