CVE-2013-0176: Null Pointer Dereference

Published Feb 5, 2013
·
Updated

The publickeyfromprivatekey function in libssh before 0.5.4, when no algorithm is matched during negotiations, allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a "Client: Diffie-Hellman Key Exchange Init" packet.

Affected Software

7 affected components
libssh libssh<=0.5.3
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
libssh libssh=0.5.2

Event History

Feb 5, 2013
CVE Published
via MITRE·11:11 PM
Data Sourced
via MITRE·11:11 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-2013-0176?

CVE-2013-0176 has a severity rating of medium due to its potential for denial of service.

2

How do I fix CVE-2013-0176?

To fix CVE-2013-0176, upgrade to libssh version 0.5.4 or newer.

3

What systems are affected by CVE-2013-0176?

CVE-2013-0176 affects libssh versions prior to 0.5.4, specifically versions 0.4.7, 0.4.8, 0.5.0, 0.5.1, and 0.5.2.

4

What causes the vulnerability in CVE-2013-0176?

CVE-2013-0176 is caused by a NULL pointer dereference when no algorithm is matched during the key exchange negotiations.

5

Can CVE-2013-0176 be exploited remotely?

Yes, CVE-2013-0176 can be exploited remotely through specially crafted 'Client: Diffie-Hellman Key Exchange Init' 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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203