CVE-2023-1667: Null Pointer Dereference

Published Mar 27, 2023
·
Updated

A NULL pointer dereference was found In libssh during re-keying with algorithm guessing. This issue may allow an authenticated client to cause a denial of service.

Other sources

In libssh before versions 0.10.5 and 0.9.7 a NULL pointer dereference during rekeying with algorithm guessing may lead to remote denial of service from authenticated clients.

— Red Hat

libssh is vulnerable to a denial of service, caused by a NULL pointer dereference during rekeying with algorithm guessing. A remote authenticated attacker could exploit this vulnerability to cause the daemon to crash.

— IBM

Affected Software

16 affected componentsFixes available
redhat/libssh<0:0.9.6-10.el8_8
0:0.9.6-10.el8_8
redhat/libssh<0.10.5
0.10.5
redhat/libssh<0.9.7
0.9.7
libssh libssh>=0.9.1<=0.9.6
libssh libssh>=0.10.0<=0.10.4
Fedoraproject Fedora=37
Debian Debian Linux=10.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
IBM R10.0<=10.1.3.0 10.0.245.0
IBM R9.4<=89.42.18.0 89.41.25.0 89.40.83.0
IBM R9.3<=89.33.52.0 89.33.45.0
ubuntu/libssh*
ubuntu/libssh*
ubuntu/libssh<0.9.3-2ubuntu2.3
0.9.3-2ubuntu2.3
ubuntu/libssh<0.9.6-2ubuntu0.22.04.1
0.9.6-2ubuntu0.22.04.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libssh to a version that resolves this vulnerability.

    Fixed in 0:0.9.6-10.el8_8
  2. Upgrade

    Upgrade redhat/libssh to a version that resolves this vulnerability.

    Fixed in 0.10.5
  3. Upgrade

    Upgrade redhat/libssh to a version that resolves this vulnerability.

    Fixed in 0.9.7
  4. Upgrade

    Upgrade ubuntu/libssh to a version that resolves this vulnerability.

    Fixed in 0.9.3-2ubuntu2.3
  5. Upgrade

    Upgrade ubuntu/libssh to a version that resolves this vulnerability.

    Fixed in 0.9.6-2ubuntu0.22.04.1
  6. Upgrade

    Upgrade libssh to a version that resolves this vulnerability.

    Fixed in 0.10.5
  7. Upgrade

    Upgrade libssh to a version that resolves this vulnerability.

    Fixed in 0.9.7

Event History

Mar 27, 2023
Data Sourced
09:16 PM
DescriptionSeverityAffected Software
Apr 30, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyWeakness
May 9, 2023
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
May 26, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Nov 7, 2023
Data Sourced
via Red Hat·08:22 AM
DescriptionSeverityAffected Software
Aug 2, 2024
Data Sourced
via MITRE·05:57 AM
DescriptionWeakness
May 27, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2023-1667?

CVE-2023-1667 is a vulnerability found in libssh that can cause a denial of service.

2

How severe is CVE-2023-1667?

CVE-2023-1667 has a severity rating of 6.5, which is considered medium.

3

How does CVE-2023-1667 affect libssh?

CVE-2023-1667 affects libssh during re-keying with algorithm guessing.

4

How can an authenticated client exploit CVE-2023-1667?

An authenticated client can exploit CVE-2023-1667 to cause a denial of service.

5

Where can I find more information about CVE-2023-1667?

You can find more information about CVE-2023-1667 at the following references: [https://bugzilla.redhat.com/show_bug.cgi?id=2182199](https://bugzilla.redhat.com/show_bug.cgi?id=2182199), [http://www.libssh.org/security/advisories/CVE-2023-1667.txt](http://www.libssh.org/security/advisories/CVE-2023-1667.txt), [https://access.redhat.com/security/cve/CVE-2023-1667](https://access.redhat.com/security/cve/CVE-2023-1667).

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