Skip to content
OpenAdvisories
High · 7.5 CVE-2019-3857 EUVD-2019-13471GHSA-mq4f-qjqv-2ff5

An integer overflow flaw which could lead to an out of bounds write was discovered in libssh2 before 1.8.1 in the way SSH_MSG_CHANNEL_REQUE…

Published Mar 25, 2019 · Updated Oct 14, 2026 · Assigned by redhat

Description

An integer overflow flaw which could lead to an out of bounds write was discovered in libssh2 before 1.8.1 in the way SSH_MSG_CHANNEL_REQUEST packets with an exit signal are parsed. A remote attacker who compromises a SSH server may be able to execute code on the client system when a user connects to the server.

Affected products

VendorProductAffectedFixed
The libssh2 Project libssh2 1.8.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libssh2 1.8.0-2.1 —
Debian 13 libssh2 1.8.0-2.1 —
Debian 12 libssh2 1.8.0-2.1 —
Debian 9 libssh2 1.7.0-1+deb9u1 DSA-4431-1
Debian 8 libssh2 1.4.3-4.1+deb8u2 DLA-1730-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS libssh2 No fix yet —
Ubuntu Pro 16.04 LTS libssh2 1.5.0-2ubuntu0.1+esm1 USN-5308-1
Ubuntu Pro 14.04 LTS libssh2 1.4.3-2ubuntu0.2+esm2 —
ReleasePackageFixed inAdvisory
RHEL 8 SLOF 20171214-5.gitfa98132.module+el8.0.0+3075+09be6b65 RHSA-2019:1175
RHEL 8 hivex +4 1.3.15-6.module+el8.0.0+3075+09be6b65 RHSA-2019:1175
RHEL 8 libguestfs-winsupport 8.0-2.module+el8.0.0+3075+09be6b65 RHSA-2019:1175
RHEL 8 libiscsi +2 1.18.0-6.module+el8.0.0+3075+09be6b65 RHSA-2019:1175
RHEL 8 libssh2 1.8.0-7.module+el8.0.0+3075+09be6b65.1 RHSA-2019:1175
RHEL 8 libvirt +27 4.5.0-23.1.module+el8.0.0+3151+3ba813f9 RHSA-2019:1175
RHEL 8 libvirt-dbus 1.2.0-2.module+el8.0.0+3075+09be6b65 RHSA-2019:1175
RHEL 8 libvirt-python +1 4.5.0-1.module+el8.0.0+3075+09be6b65 RHSA-2019:1175
RHEL 8 nbdkit +9 1.4.2-4.module+el8.0.0+3075+09be6b65 RHSA-2019:1175
RHEL 8 netcf +2 0.2.8-10.module+el8.0.0+3075+09be6b65 RHSA-2019:1175
RHEL 8 perl-Sys-Virt 4.5.0-4.module+el8.0.0+3075+09be6b65 RHSA-2019:1175
RHEL 8 qemu-img +9 15:2.12.0-64.module+el8.0.0+3180+d6a3561d.2 RHSA-2019:1175
RHEL 8 seabios +2 1.11.1-3.module+el8.0.0+3075+09be6b65 RHSA-2019:1175
RHEL 8 sgabios +1 1:0.20170427git-2.module+el8.0.0+3075+09be6b65 RHSA-2019:1175
RHEL 8 supermin +1 5.1.19-8.module+el8.0.0+3075+09be6b65 RHSA-2019:1175
RHEL 8 virt-dib +24 1:1.38.4-10.module+el8.0.0+3075+09be6b65 RHSA-2019:1175
RHEL 7 libssh2 +2 1.4.3-12.el7_6.2 RHSA-2019:0679
RHEL 6 libssh2 +2 1.4.2-3.el6_10.1 RHSA-2019:1652
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 7.5 EUS libssh2 +2 1.4.3-11.el7_5.1 RHSA-2019:1791
RHEL 7.4 EUS libssh2 +2 1.4.3-11.el7_4.1 RHSA-2019:1943
RHEL 7.3 TUS libssh2 +2 1.4.3-11.el7_3.1 RHSA-2019:2399
RHEL 7.3 E4S libssh2 +2 1.4.3-11.el7_3.1 RHSA-2019:2399
RHEL 7.3 AUS libssh2 +2 1.4.3-11.el7_3.1 RHSA-2019:2399
ReleasePackageFixed inAdvisory
SLES 15 SP2 libssh2_org 1.9.0-4.13.1 SUSE-SU-2020:3551-1
SLES 15 SP1 libssh2_org 1.9.0-4.13.1 SUSE-SU-2020:3551-1
SLES 15 libssh2_org 1.9.0-4.13.1 SUSE-SU-2020:3551-1
SLES 12 SP4 libssh2_org 1.4.3-20.3.1 SUSE-SU-2019:0655-1
SLES 12 SP3 libssh2_org 1.4.3-20.3.1 SUSE-SU-2019:0655-1
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP2 libssh2_org 1.4.3-20.3.1 SUSE-SU-2019:0655-1
SLES 12 SP1 libssh2_org 1.4.3-20.3.1 SUSE-SU-2019:0655-1
SLES 12 libssh2_org 1.4.3-20.3.1 SUSE-SU-2019:0655-1
SLES 11 SP4 libssh2_org 1.4.3-17.3.1 SUSE-SU-2019:13982-1
SLES for SAP 15 libssh2_org 1.9.0-4.13.1 SUSE-SU-2020:3551-1
SLES for SAP 12 SP4 libssh2_org 1.4.3-20.3.1 SUSE-SU-2019:0655-1
SLES for SAP 12 SP3 libssh2_org 1.4.3-20.3.1 SUSE-SU-2019:0655-1
SLES for SAP 12 SP2 libssh2_org 1.4.3-20.3.1 SUSE-SU-2019:0655-1
SLES for SAP 12 SP1 libssh2_org 1.4.3-20.3.1 SUSE-SU-2019:0655-1
SLES for SAP 11 SP4 libssh2_org 1.4.3-17.3.1 SUSE-SU-2019:13982-1
SLE HPC 15 libssh2_org 1.9.0-4.13.1 SUSE-SU-2020:3551-1
SUSE OpenStack Cloud 7 libssh2_org 1.4.3-20.3.1 SUSE-SU-2019:0655-1
SUSE Linux Enterprise Point of Sale 11 SP3 libssh2_org 1.2.9-4.2.12.5.1 SUSE-SU-2019:13997-1
SUSE Enterprise Storage 4 libssh2_org 1.4.3-20.3.1 SUSE-SU-2019:0655-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libssh2_org 1.9.0-3.6 openSUSE-SU-2024:10999-1
openSUSE Leap 15.2 libssh2_org 1.9.0-lp152.8.3.1 openSUSE-SU-2020:2129-1
openSUSE Leap 15.1 libssh2_org 1.9.0-lp151.6.6.1 openSUSE-SU-2020:2126-1
openSUSE Leap 15.0 libssh2_org 1.8.0-lp150.3.3.1 openSUSE-SU-2019:1109-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libssh2 1.8.1-r0 —
Alpine v3.23 libssh2 1.8.1-r0 —
Alpine v3.22 libssh2 1.8.1-r0 —
Alpine v3.21 libssh2 1.8.1-r0 —
Alpine v3.20 libssh2 1.8.1-r0 —
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libssh2 1.8.1-r0 —
Alpine v3.18 libssh2 1.8.1-r0 —
Alpine v3.17 libssh2 1.8.1-r0 —
Alpine v3.16 libssh2 1.8.1-r0 —
Alpine v3.15 libssh2 1.8.1-r0 —
Alpine v3.14 libssh2 1.8.1-r0 —
Alpine v3.13 libssh2 1.8.1-r0 —
Alpine v3.12 libssh2 1.8.1-r0 —
Alpine v3.11 libssh2 1.8.1-r0 —
Alpine v3.10 libssh2 1.8.1-r0 —
Alpine v3.9 libssh2 1.8.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 libssh2 +2 1.4.3-12.amzn2.2 ALAS2-2019-1199

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 hivex +4 1.3.15-6.module+el8.0.0+5219+3c0c6858 ELSA-2019-1175
Oracle Linux 8 libguestfs-winsupport 8.0-2.module+el8.0.0+5219+3c0c6858 ELSA-2019-1175
Oracle Linux 8 libiscsi +2 1.18.0-6.module+el8.0.0+5219+3c0c6858 ELSA-2019-1175
Oracle Linux 8 libssh2 1.8.0-7.module+el8.0.0+5219+3c0c6858.1 ELSA-2019-1175
Oracle Linux 8 libvirt +27 4.5.0-23.1.0.1.module+el8.0.0+5219+3c0c6858 ELSA-2019-1175
Oracle Linux 8 libvirt-dbus 1.2.0-2.module+el8.0.0+5219+3c0c6858 ELSA-2019-1175
Oracle Linux 8 nbdkit +9 1.4.2-4.module+el8.0.0+5219+3c0c6858 ELSA-2019-1175
Oracle Linux 8 netcf +2 0.2.8-10.module+el8.0.0+5219+3c0c6858 ELSA-2019-1175
Oracle Linux 8 perl-Sys-Virt 4.5.0-4.module+el8.0.0+5219+3c0c6858 ELSA-2019-1175
Oracle Linux 8 python3-libvirt 4.5.0-1.module+el8.0.0+5219+3c0c6858 ELSA-2019-1175
Oracle Linux 8 qemu-img +9 15:2.12.0-64.module+el8.0.0+5219+3c0c6858.2 ELSA-2019-1175
Oracle Linux 8 seabios +2 1.11.1-3.module+el8.0.0+5219+3c0c6858 ELSA-2019-1175
Oracle Linux 8 sgabios +1 1:0.20170427git-2.module+el8.0.0+5219+3c0c6858 ELSA-2019-1175
Oracle Linux 8 supermin +1 5.1.19-8.module+el8.0.0+5219+3c0c6858 ELSA-2019-1175
Oracle Linux 8 virt-dib +24 1:1.38.4-10.0.1.module+el8.0.0+5219+3c0c6858 ELSA-2019-1175
Oracle Linux 7 libssh2 +2 1.4.3-12.el7_6.2 ELSA-2019-0679

Advisories 23

References