Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2019-14889

published high CVSS 3.0 · 7.1

libssh: unsanitized location in scp could lead to unwanted command execution

Title from Red Hat VEX

Published
10 Dec 2019, 00:00:00 UTC
Updated
05 Aug 2024, 00:26:39 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — libsshAll libssh versions before 0.9.3 · All libssh versions before 0.8.8 Affected Not stated redhat
Alpine Linux edge libssh Fixed 0.9.3-r0 Package fix record
Debian buster libssh Advisory build 0.8.7-1+deb10u2 DLA-3437-1
Oracle Linux 8 libsshaarch64 Advisory build 0:0.9.4-2.el8 ELSA-2020-4545
Red Hat Enterprise Linux RHEL-8 libsshaarch64 Advisory build 0.9.4-2.el8 RHSA-2020:4545
Ubuntu bionic libssh Advisory build 0.8.0~20170825.94fa1e38-1ubuntu0.5 USN-4219-1
SUSE / openSUSE SLE-12-SP4 libssh-develaarch64 Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
Alpine Linux v3.10 libssh Fixed 0.8.8-r0 Package fix record
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.11 libssh Fixed 0.9.3-r0 Package fix record
Alpine Linux v3.12 libssh Fixed 0.9.3-r0 Package fix record
Alpine Linux v3.13 libssh Fixed 0.9.3-r0 Package fix record
Alpine Linux v3.14 libssh Fixed 0.9.3-r0 Package fix record
Alpine Linux v3.15 libssh Fixed 0.9.3-r0 Package fix record
Alpine Linux v3.16 libssh Fixed 0.9.3-r0 Package fix record
Alpine Linux v3.17 libssh Fixed 0.9.3-r0 Package fix record
Alpine Linux v3.18 libssh Fixed 0.9.3-r0 Package fix record
Alpine Linux v3.19 libssh Fixed 0.9.3-r0 Package fix record
Alpine Linux v3.20 libssh Fixed 0.9.3-r0 Package fix record
Alpine Linux v3.21 libssh Fixed 0.9.3-r0 Package fix record
Alpine Linux v3.22 libssh Fixed 0.9.3-r0 Package fix record
Alpine Linux v3.23 libssh Fixed 0.9.3-r0 Package fix record
Alpine Linux v3.24 libssh Fixed 0.9.3-r0 Package fix record
Alpine Linux v3.8 libssh Fixed 0.7.6-r1 Package fix record
Alpine Linux v3.9 libssh Fixed 0.7.6-r2 Package fix record
Debian jessie libssh Advisory build 0.6.3-4+deb8u4 DLA-2038-1
Oracle Linux 8 libsshx86_64 Advisory build 0:0.9.4-2.el8 ELSA-2020-4545
Red Hat Enterprise Linux RHEL-8 libsshi686 Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libsshppc64le Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libsshs390x Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libsshsrc Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libsshx86_64 Advisory build 0.9.4-2.el8 RHSA-2020:4545
Ubuntu xenial libssh Advisory build 0.6.3-4.3ubuntu0.5 USN-4219-1
Oracle Linux 8 libssh-configaarch64 Advisory build 0:0.9.4-2.el8 ELSA-2020-4545
Oracle Linux 8 libssh-configx86_64 Advisory build 0:0.9.4-2.el8 ELSA-2020-4545
Oracle Linux 8 libssh-develaarch64 Advisory build 0:0.9.4-2.el8 ELSA-2020-4545
Oracle Linux 8 libssh-develx86_64 Advisory build 0:0.9.4-2.el8 ELSA-2020-4545
Red Hat Enterprise Linux RHEL-8 libssh-confignoarch Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-debuginfoaarch64 Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-debuginfoi686 Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-debuginfoppc64le Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-debuginfos390x Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-debuginfox86_64 Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-debugsourceaarch64 Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-debugsourcei686 Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-debugsourceppc64le Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-debugsources390x Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-debugsourcex86_64 Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-develaarch64 Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-develi686 Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-develppc64le Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-devels390x Advisory build 0.9.4-2.el8 RHSA-2020:4545
Red Hat Enterprise Linux RHEL-8 libssh-develx86_64 Advisory build 0.9.4-2.el8 RHSA-2020:4545
SUSE / openSUSE SLE-12-SP4 libssh-develaarch64 Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP4 libssh-develppc64le Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP4 libssh-develppc64le Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP4 libssh-devels390x Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP4 libssh-devels390x Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP4 libssh-develx86_64 Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP4 libssh-develx86_64 Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP4 libssh-devel-docaarch64 Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP4 libssh-devel-docaarch64 Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP4 libssh-devel-docppc64le Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP4 libssh-devel-docppc64le Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP4 libssh-devel-docs390x Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP4 libssh-devel-docs390x Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP4 libssh-devel-docx86_64 Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP4 libssh-devel-docx86_64 Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP4 libssh4aarch64 Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP4 libssh4aarch64 Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP4 libssh4ppc64le Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP4 libssh4ppc64le Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP4 libssh4s390x Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP4 libssh4s390x Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP4 libssh4x86_64 Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP4 libssh4x86_64 Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP4 libssh4-32bits390x Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP4 libssh4-32bits390x Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP4 libssh4-32bitx86_64 Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP4 libssh4-32bitx86_64 Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP5 libssh-configaarch64 Advisory build 0.9.8-3.12.2 SUSE-SU-2024:0539-1
SUSE / openSUSE SLE-12-SP5 libssh-configppc64le Advisory build 0.9.8-3.12.2 SUSE-SU-2024:0539-1
SUSE / openSUSE SLE-12-SP5 libssh-configs390x Advisory build 0.9.8-3.12.2 SUSE-SU-2024:0539-1
SUSE / openSUSE SLE-12-SP5 libssh-configx86_64 Advisory build 0.9.8-3.12.2 SUSE-SU-2024:0539-1
SUSE / openSUSE SLE-12-SP5 libssh-develaarch64 Advisory build 0.8.7-3.3.1 SUSE-SU-2019:3307-1
SUSE / openSUSE SLE-12-SP5 libssh-develaarch64 Advisory build 0.8.7-3.6.1 SUSE-SU-2020:0131-1
SUSE / openSUSE SLE-12-SP5 libssh-develaarch64 Advisory build 0.9.8-3.12.2 SUSE-SU-2024:0539-1
SUSE / openSUSE SLE-12-SP5 libssh-develppc64le Advisory build 0.8.7-3.3.1 SUSE-SU-2019:3307-1
SUSE / openSUSE SLE-12-SP5 libssh-develppc64le Advisory build 0.8.7-3.6.1 SUSE-SU-2020:0131-1
SUSE / openSUSE SLE-12-SP5 libssh-develppc64le Advisory build 0.9.8-3.12.2 SUSE-SU-2024:0539-1
SUSE / openSUSE SLE-12-SP5 libssh-devels390x Advisory build 0.8.7-3.3.1 SUSE-SU-2019:3307-1
SUSE / openSUSE SLE-12-SP5 libssh-devels390x Advisory build 0.8.7-3.6.1 SUSE-SU-2020:0131-1
SUSE / openSUSE SLE-12-SP5 libssh-devels390x Advisory build 0.9.8-3.12.2 SUSE-SU-2024:0539-1
SUSE / openSUSE SLE-12-SP5 libssh-develx86_64 Advisory build 0.8.7-3.3.1 SUSE-SU-2019:3307-1
SUSE / openSUSE SLE-12-SP5 libssh-develx86_64 Advisory build 0.8.7-3.6.1 SUSE-SU-2020:0131-1
SUSE / openSUSE SLE-12-SP5 libssh-develx86_64 Advisory build 0.9.8-3.12.2 SUSE-SU-2024:0539-1
SUSE / openSUSE SLE-12-SP5 libssh-devel-docaarch64 Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP5 libssh-devel-docaarch64 Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP5 libssh-devel-docppc64le Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP5 libssh-devel-docppc64le Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1
SUSE / openSUSE SLE-12-SP5 libssh-devel-docs390x Advisory build 0.6.3-12.12.1 SUSE-SU-2020:0139-1
SUSE / openSUSE SLE-12-SP5 libssh-devel-docs390x Advisory build 0.6.3-12.9.1 SUSE-SU-2019:3308-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8. When the libssh SCP client connects to a server, the scp command, which includes a user-provided path, is executed on the server-side. In case the library is used in a way where users can influence the third parameter of the function, it would become possible for an attacker to inject arbitrary commands, leading to a compromise of the remote target.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

42

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
7.1 / 10
Severity
high
Provider
redhat · cna
Vector string
CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Red Hat libssh All libssh versions before 0.9.3 (affected)All libssh versions before 0.8.8 (affected) redhat · cna

Weaknesses

1
  • CWE-78 (redhat · cna)

References

11

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
244fb302450813db3a55618f752f34a22cee2570149a2cefbc9e72524a4e5dbe
Ingested
23 Sep 2026, 07:46:03 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected