A flaw was found in libssh2 before 1.8.1 creating a vulnerability on the SSH client side.
A flaw was found in libssh2 before 1.8.1 creating a vulnerability on the SSH client side. A server could send a multiple keyboard interactive response messages whose total length are greater than unsigned char max characters. This value is used by the SSH client as an index to copy memory causing in an out of bounds memory write error.
- BDU:2019-03795
- DLA-1730-1
- DSA-4431-1
- openSUSE-SU-2019:1109-1
- openSUSE-SU-2020:2126-1
- openSUSE-SU-2020:2129-1
- openSUSE-SU-2024:10999-1
- RHSA-2019:0679
- RHSA-2019:1175
- RHSA-2019:1652
- RHSA-2019:1791
- RHSA-2019:1943
- RHSA-2019:2399
- SUSE-SU-2019:0655-1
- SUSE-SU-2019:13982-1
- SUSE-SU-2019:13997-1
- SUSE-SU-2020:3551-1
- Published
- Mar 25, 2019
- Updated
- Jun 16, 2026
- EPSS
- 3.4% · 89th percentile
- CWE
- CWE-190
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
36
Monitor
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.4%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 8.8
- CNA · redhat
- 7.5
- 1.3 point gap
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| libssh2 | libssh2 | cpe:2.3:a:libssh2:libssh2 |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| netapp | ontap select deploy administration utility | cpe:2.3:a:netapp:ontap_select_deploy_administration_utility |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server eus | cpe:2.3:o:redhat:enterprise_linux_server_eus |
| redhat | enterprise linux server tus | cpe:2.3:o:redhat:enterprise_linux_server_tus |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux8.0
- libssh2 libssh2before 1.8.1
- netapp ontap select deploy administration utilityall versions
- opensuse leap15.0
- opensuse leap42.3
- redhat enterprise linux desktop7.0
- redhat enterprise linux server7.0
- redhat enterprise linux server aus7.6
- redhat enterprise linux server eus7.6
- redhat enterprise linux server tus7.6
- redhat enterprise linux workstation7.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
The libssh2 Project libssh2
- 1.8.1affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | libssh2 | before 1.8.1-r0 | 1.8.1-r0 |
| Debian:12 | libssh2 | before 1.8.0-2.1 | 1.8.0-2.1 |
| Debian:8 | libssh2 | before 1.4.3-4.1+deb8u2 | 1.4.3-4.1+deb8u2 |
| Debian:9 | libssh2 | before 1.7.0-1+deb9u1 | 1.7.0-1+deb9u1 |
| openSUSE:Leap 15.0 | libssh2_org | before 1.8.0-lp150.3.3.1 | 1.8.0-lp150.3.3.1 |
| openSUSE:Leap 15.1 | libssh2_org | before 1.9.0-lp151.6.6.1 | 1.9.0-lp151.6.6.1 |
| openSUSE:Leap 15.2 | libssh2_org | before 1.9.0-lp152.8.3.1 | 1.9.0-lp152.8.3.1 |
| openSUSE:Tumbleweed | libssh2_org | before 1.9.0-3.6 | 1.9.0-3.6 |
| Red Hat:enterprise_linux:6::client | libssh2 | before 0:1.4.2-3.el6_10.1 | 0:1.4.2-3.el6_10.1 |
| Red Hat:enterprise_linux:6::client | libssh2-debuginfo | before 0:1.4.2-3.el6_10.1 | 0:1.4.2-3.el6_10.1 |
| Red Hat:enterprise_linux:6::client | libssh2-devel | before 0:1.4.2-3.el6_10.1 | 0:1.4.2-3.el6_10.1 |
| Red Hat:enterprise_linux:6::client | libssh2-docs | before 0:1.4.2-3.el6_10.1 | 0:1.4.2-3.el6_10.1 |
| Red Hat:enterprise_linux:7::client | libssh2 | before 0:1.4.3-12.el7_6.2 | 0:1.4.3-12.el7_6.2 |
| Red Hat:enterprise_linux:7::client | libssh2-debuginfo | before 0:1.4.3-12.el7_6.2 | 0:1.4.3-12.el7_6.2 |
| Red Hat:enterprise_linux:7::client | libssh2-devel | before 0:1.4.3-12.el7_6.2 | 0:1.4.3-12.el7_6.2 |
| Red Hat:enterprise_linux:7::client | libssh2-docs | before 0:1.4.3-12.el7_6.2 | 0:1.4.3-12.el7_6.2 |
| Red Hat:enterprise_linux:8::appstream | hivex | before 0:1.3.15-6.module+el8.0.0+3075+09be6b65 | 0:1.3.15-6.module+el8.0.0+3075+09be6b65 |
| Red Hat:enterprise_linux:8::appstream | hivex-debuginfo | before 0:1.3.15-6.module+el8.0.0+3075+09be6b65 | 0:1.3.15-6.module+el8.0.0+3075+09be6b65 |
| Red Hat:enterprise_linux:8::appstream | hivex-debugsource | before 0:1.3.15-6.module+el8.0.0+3075+09be6b65 | 0:1.3.15-6.module+el8.0.0+3075+09be6b65 |
| Red Hat:enterprise_linux:8::appstream | hivex-devel | before 0:1.3.15-6.module+el8.0.0+3075+09be6b65 | 0:1.3.15-6.module+el8.0.0+3075+09be6b65 |
| Red Hat:enterprise_linux:8::appstream | libguestfs | before 1:1.38.4-10.module+el8.0.0+3075+09be6b65 | 1:1.38.4-10.module+el8.0.0+3075+09be6b65 |
| Red Hat:enterprise_linux:8::appstream | libguestfs-bash-completion | before 1:1.38.4-10.module+el8.0.0+3075+09be6b65 | 1:1.38.4-10.module+el8.0.0+3075+09be6b65 |
| Red Hat:enterprise_linux:8::appstream | libguestfs-benchmarking | before 1:1.38.4-10.module+el8.0.0+3075+09be6b65 | 1:1.38.4-10.module+el8.0.0+3075+09be6b65 |
| Red Hat:enterprise_linux:8::appstream | libguestfs-benchmarking-debuginfo | before 1:1.38.4-10.module+el8.0.0+3075+09be6b65 | 1:1.38.4-10.module+el8.0.0+3075+09be6b65 |
+96
Same product
libssh2: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-3861An out of bounds read flaw was discovered in libssh2 before 1.8.1 in the way SSH packets with a padding length value greater than the packet38Monitor
- CVE-2019-3860An out of bounds read flaw was discovered in libssh2 before 1.8.1 in the way SFTP packets with empty payloads are parsed.38Monitor
- CVE-2019-3858An out of bounds read flaw was discovered in libssh2 before 1.8.1 when a specially crafted SFTP packet is received from the server.38Monitor
- CVE-2019-3855An integer overflow flaw which could lead to an out of bounds write was discovered in libssh2 before 1.8.1 in the way packets are read from 38Monitor
- CVE-2019-3862An out of bounds read flaw was discovered in libssh2 before 1.8.1 in the way SSH_MSG_CHANNEL_REQUEST packets with an exit status message and38Monitor
- CVE-2019-3859An out of bounds read flaw was discovered in libssh2 before 1.8.1 in the _libssh2_packet_require and _libssh2_packet_requirev functions.38Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:libssh2 | 1.8.1-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:libssh2 | 1.8.0-2.1 · Debian:12 | Package registry (OSV) |
| opensuse:libssh2_org | 1.8.0-lp150.3.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| red hat:hivex | 0:1.3.15-6.module+el8.0.0+3075+09be6b65 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:hivex-debuginfo | 0:1.3.15-6.module+el8.0.0+3075+09be6b65 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:hivex-debugsource | 0:1.3.15-6.module+el8.0.0+3075+09be6b65 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:hivex-devel | 0:1.3.15-6.module+el8.0.0+3075+09be6b65 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libguestfs | 1:1.38.4-10.module+el8.0.0+3075+09be6b65 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libguestfs-bash-completion | 1:1.38.4-10.module+el8.0.0+3075+09be6b65 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libguestfs-benchmarking | 1:1.38.4-10.module+el8.0.0+3075+09be6b65 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libssh2 | 0:1.4.3-12.el7_6.2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libssh2-debuginfo | 0:1.4.3-12.el7_6.2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libssh2-devel | 0:1.4.3-12.el7_6.2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libssh2-docs | 0:1.4.3-12.el7_6.2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:SLOF | 0:20171214-5.gitfa98132.module+el8.0.0+3075+09be6b65 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| suse:libssh2_org | 1.4.3-20.3.1 · SUSE:OpenStack Cloud 7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-190 · Integer Overflow or WraparoundCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-security-announce/2019-03/msg00040.html
- lists.opensuse.org/opensuse-security-announce/2019-04/msg00003.html
- access.redhat.com/errata/RHSA-2019:0679
- access.redhat.com/errata/RHSA-2019:1175
- access.redhat.com/errata/RHSA-2019:1652
- access.redhat.com/errata/RHSA-2019:1791
- access.redhat.com/errata/RHSA-2019:1943
- access.redhat.com/errata/RHSA-2019:2399
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3863
- lists.debian.org/debian-lts-announce/2019/03/msg00032.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5DK6VO2CEUTAJFYIKWNZKEKYMYR3NO2O/
- seclists.org/bugtraq/2019/Apr/25
- security.netapp.com/advisory/ntap-20190327-0005/
- www.debian.org/security/2019/dsa-4431
- www.libssh2.org/CVE-2019-3863.html
- www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.