Advisory Published
CVE Published
Updated

CVE-2012-4561

First published: Tue Oct 30 2012(Updated: )

Florian Weimer of the Red Hat Product Security Team reported the existence of several unitialized heap allocations in the following functions: keys.c:publickey_make_dss() (key) keys.c:publickey_make_rsa() (key) keys.c:signature_from_string() (sign) keys.c:ssh_do_sign() (sign) keys.c:ssh_sign_session_id() (sign) This could lead to freeing an invalid pointer on an error path, which could lead to a crash in the process using libssh.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/libssh<0.5.3
0.5.3
libssh<=0.5.2
libssh=0.4.7
libssh=0.4.8
libssh=0.5.0
libssh=0.5.0-rc1
libssh=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.

Frequently Asked Questions

  • What is the severity of CVE-2012-4561?

    CVE-2012-4561 is classified as a moderate severity vulnerability due to potential impacts from uninitialized heap allocations.

  • How do I fix CVE-2012-4561?

    To fix CVE-2012-4561, update libssh to version 0.5.3 or later.

  • What software is affected by CVE-2012-4561?

    CVE-2012-4561 affects versions of libssh up to 0.5.2 and specific versions like 0.4.7, 0.4.8, 0.5.0, and 0.5.1.

  • What types of functions are involved in CVE-2012-4561?

    CVE-2012-4561 involves uninitialized heap allocations in various public key and signing functions within libssh.

  • Who reported CVE-2012-4561?

    CVE-2012-4561 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