7.5
CWE
476
Advisory Published
Updated

CVE-2015-3146: Null Pointer Dereference

First published: Wed Apr 13 2016(Updated: )

The (1) SSH_MSG_NEWKEYS and (2) SSH_MSG_KEXDH_REPLY packet handlers in package_cb.c in libssh before 0.6.5 do not properly validate state, which allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted SSH packet.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
libssh<=0.6.4
Ubuntu=12.04
Ubuntu=14.04
Ubuntu=15.10
Debian=7.0
Debian=8.0
Fedora=21
Fedora=22

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-2015-3146?

    CVE-2015-3146 is categorized as a denial of service vulnerability due to a NULL pointer dereference.

  • How do I fix CVE-2015-3146?

    To fix CVE-2015-3146, update libssh to version 0.6.5 or later.

  • Which versions of libssh are affected by CVE-2015-3146?

    Libssh versions prior to 0.6.5, including all versions up to and including 0.6.4, are affected.

  • What operating systems are impacted by CVE-2015-3146?

    CVE-2015-3146 affects various Linux distributions including Ubuntu, Debian, and Fedora.

  • Can CVE-2015-3146 be exploited remotely?

    Yes, CVE-2015-3146 can be exploited remotely by sending crafted SSH packets.

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