cve.bz

CVE-2020-1730 NULL Pointer Dereference

5.3 mediumEPSS 3.1%Fix available

Medium (5.3). EPSS 3.1% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in libssh versions before 0.8.9 and before 0.9.4 in the way it handled AES-CTR (or DES ciphers if enabled) ciphers. The server or client could crash when the connection hasn't been fully initialized and the system tries to cleanup the ciphers when closing the connection. The biggest threat from this vulnerability is system availability.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
3.1% (unchanged from 3.1% a week ago; 3.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-1730 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-1730?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-1730?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-1730 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libssh:libsshfrom 0.8.0 before 0.8.9
libssh:libsshfrom 0.9.0 before 0.9.4
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.10
fedoraproject:fedora31
fedoraproject:fedora32
redhat:enterprise_linux8.0
oracle:mysql_workbenchthrough 8.0.21

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libssh0.9.4-1DEBIAN-CVE-2020-1730
Ubuntu18.04:LTSlibssh0.8.0~20170825.94fa1e38-1ubuntu0.6UBUNTU-CVE-2020-1730 USN-4327-1
Red Hatenterprise_linux:8::appstreamlibssh-devel, libssh-debuginfo, libssh-debugsource0:0.9.4-2.el8RHSA-2020:4545
Red Hatenterprise_linux:8::baseoslibssh, libssh-config, libssh-debuginfo and 1 more0:0.9.4-2.el8RHSA-2020:4545
Red Hatrhev_hypervisor:4.4::el8redhat-virtualization-host, redhat-virtualization-host-image-update0:4.4.3-20201116.0.el8_3RHSA-2020:5218
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 morelibssh0.9.8-150200.13.3.1SUSE-SU-2024:0525-1
SUSELinux Enterprise Module for Basesystem 15 SP1libssh0.8.7-10.12.1SUSE-SU-2020:0967-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5libssh0.8.7-3.9.1SUSE-SU-2020:0968-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5libssh0.9.8-3.12.2SUSE-SU-2024:0539-1
openSUSELeap 15.1libssh0.8.7-lp151.2.12.1openSUSE-SU-2020:0510-1
openSUSETumbleweedlibssh0.9.6-2.1openSUSE-SU-2024:11603-1
Rocky Linux8libssh0:0.9.4-2.el8RLSA-2020:4545
Alpinev3.9libssh0.7.6-r3ALPINE-CVE-2020-1730
Alpinev3.10libssh0.8.9-r0ALPINE-CVE-2020-1730
Alpinev3.11, v3.12, v3.13 and 11 morelibssh0.9.4-r0ALPINE-CVE-2020-1730

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Disable AES-CTR ciphers (and DES in libssh 0.8). If you implement a server using libssh we advise to use a prefork model so each session runs in an own process. If you have implemented your server this way this is not really an issue. The client will kill its own connection.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libssh-0:0.9.4-2.el8Fixed 2020-11-04RHSA-2020:4545
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8redhat-virtualization-host-0:4.4.3-20201116.0.el8_3Fixed 2020-11-24RHSA-2020:5218
Red Hat Enterprise Linux 6libssh2Not affected
Red Hat Enterprise Linux 7libsshNot affected
Red Hat Enterprise Linux 7libssh2Not affected
Red Hat Enterprise Linux 8libssh2Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-1730.

References

Check your stackJSON