Home / Red Hat / libssh / CVE-2019-14889
CVE-2019-14889: is it exploited, and which versions of Red Hat libssh are affected and fixed?
CVE-2019-14889 is an OS command injection vulnerability in Red Hat libssh. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: libssh All libssh versions before 0.9.3 and libssh All libssh versions before 0.8.8 (CVE record by redhat). Fixed in 0.8.8 and 0.9.3 (NVD). Severity: High (7.1, CVSS 3.0, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:17 UTC.
What is CVE-2019-14889?
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.
From the CVE record by redhat, last updated August 5, 2024, 00:26 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Red Hat | libssh | All libssh versions before 0.9.3 All libssh versions before 0.8.8 |
As the CVE record by redhat states it, last updated August 5, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libssh | libssh | before 0.8.8 | application |
| libssh | libssh | from 0.9.0 before 0.9.3 | application |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| canonical | ubuntu linux | 19.04 | operating system |
| canonical | ubuntu linux | 19.10 | operating system |
| opensuse | leap | 15.1 | operating system |
| fedoraproject | fedora | 30 | operating system |
| fedoraproject | fedora | 31 | operating system |
| debian | debian linux | 8.0 | operating system |
| oracle | mysql workbench | through 8.0.19 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:19 UTC.
How severe is CVE-2019-14889?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | redhat |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| High 9.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-14889 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.17% probability of exploitation activity in the next 30 days, percentile 88.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- USN-4219-1 vendor-advisory
- openSUSE-SU-2019:2689 vendor-advisory
- [debian-lts-announce] 20191217 [SECURITY] [DLA 2038-1] libssh security update mailing-list
- FEDORA-2019-8b0ad69829 vendor-advisory
- FEDORA-2019-46b6bd2459 vendor-advisory
- openSUSE-SU-2020:0102 vendor-advisory
- GLSA-202003-27 vendor-advisory
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14889
- https://www.libssh.org/security/advisories/CVE-2019-14889.txt
- [debian-lts-announce] 20230529 [SECURITY] [DLA 3437-1] libssh security update mailing-list
When was it published, and where is the official record?
- Reserved
- August 10, 2019
- Published
- December 10, 2019, 00:00 UTC
- CVE record updated
- August 5, 2024, 00:26 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 02:19 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:17 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect libssh?
- Apr 13, 2020CVE-2020-1730 Red Hat libssh: NULL pointer dereference (crash)
Questions about CVE-2019-14889
Is CVE-2019-14889 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 3.17% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Red Hat libssh are affected by CVE-2019-14889?
libssh All libssh versions before 0.9.3 and libssh All libssh versions before 0.8.8, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2019-14889?
0.8.8 and 0.9.3, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-14889?
High (7.1, CVSS 3.0, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2019-14889?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.