cve.bz

CVE-2019-3857 Year 2038 problem, Y2K38, Y2038, Epochalypse

8.8 highEPSS 6.2%Fix available

High (8.8). EPSS 6.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
6.2% (unchanged from 6.1% a week ago; 6.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-787 Out-of-bounds Write
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-2019-3857 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-3857?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-3857?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-2019-3857 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.

Badge for a README or a site

CVE-2019-3857

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2019-3857](https://cve.bz/cve/badge/CVE-2019-3857.svg)](https://cve.bz/cve/CVE-2019-3857)

HTML:

<a href="https://cve.bz/cve/CVE-2019-3857"><img src="https://cve.bz/cve/badge/CVE-2019-3857.svg" alt="CVE-2019-3857"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libssh2:libssh2from 1.2.8 through 1.8.0
debian:debian_linux8.0
debian:debian_linux9.0
opensuse:leap15.0
opensuse:leap42.3
redhat:enterprise_linux8.0
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
fedoraproject:fedora28
oracle:peoplesoft_enterprise_peopletools8.56
oracle:peoplesoft_enterprise_peopletools8.57

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libssh21.4.3-4.1+deb8u2DLA-1730-1
Debian9libssh21.7.0-1+deb9u1DSA-4431-1
Debian12, 13, 14libssh21.8.0-2.1DEBIAN-CVE-2019-3857
UbuntuPro:14.04:LTSlibssh21.4.3-2ubuntu0.2+esm2UBUNTU-CVE-2019-3857
UbuntuPro:16.04:LTSlibssh21.5.0-2ubuntu0.1+esm1UBUNTU-CVE-2019-3857 USN-5308-1
UbuntuPro:18.04:LTSlibssh2no fix listedUBUNTU-CVE-2019-3857
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morelibssh2, libssh2-docs, libssh2-devel and 1 more0:1.4.2-3.el6_10.1RHSA-2019:1652
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morelibssh2, libssh2-docs, libssh2-devel and 1 more0:1.4.3-12.el7_6.2RHSA-2019:0679
Red Hatenterprise_linux:8::appstreamSLOF0:20171214-5.gitfa98132.module+el8.0.0+3075+09be6b65RHSA-2019:1175
Red Hatenterprise_linux:8::appstreamhivex, perl-hivex, ruby-hivex and 7 more0:1.3.15-6.module+el8.0.0+3075+09be6b65RHSA-2019:1175
Red Hatenterprise_linux:8::appstreamlibguestfs-winsupport0:8.0-2.module+el8.0.0+3075+09be6b65RHSA-2019:1175
Red Hatenterprise_linux:8::appstreamlibiscsi, libiscsi-devel, libiscsi-utils and 3 more0:1.18.0-6.module+el8.0.0+3075+09be6b65RHSA-2019:1175
Red Hatenterprise_linux:8::appstreamlibssh2, libssh2-debuginfo, libssh2-debugsource0:1.8.0-7.module+el8.0.0+3075+09be6b65.1RHSA-2019:1175
Red Hatenterprise_linux:8::appstreamlibvirt, libvirt-nss, libvirt-docs and 47 more0:4.5.0-23.1.module+el8.0.0+3151+3ba813f9RHSA-2019:1175
Red Hatenterprise_linux:8::appstreamlibvirt-dbus, libvirt-dbus-debuginfo, libvirt-dbus-debugsource0:1.2.0-2.module+el8.0.0+3075+09be6b65RHSA-2019:1175
Red Hatenterprise_linux:8::appstreamlibvirt-python, python3-libvirt, python3-libvirt-debuginfo0:4.5.0-1.module+el8.0.0+3075+09be6b65RHSA-2019:1175
Red Hatenterprise_linux:8::appstreamnbdkit, nbdkit-devel, nbdkit-debuginfo and 15 more0:1.4.2-4.module+el8.0.0+3075+09be6b65RHSA-2019:1175
Red Hatenterprise_linux:8::appstreamnetcf, netcf-libs, netcf-devel and 3 more0:0.2.8-10.module+el8.0.0+3075+09be6b65RHSA-2019:1175
9 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4 and 13 morelibssh2_org1.4.3-20.3.1SUSE-SU-2019:0655-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Basesystem 15 SP1 and 3 morelibssh2_org1.9.0-4.13.1SUSE-SU-2020:3551-1
SUSELinux Enterprise Point of Sale 11 SP3libssh2_org1.2.9-4.2.12.5.1SUSE-SU-2019:13997-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4libssh2_org1.4.3-17.3.1SUSE-SU-2019:13982-1
openSUSELeap 15.0libssh2_org1.8.0-lp150.3.3.1openSUSE-SU-2019:1109-1
openSUSELeap 15.1libssh2_org1.9.0-lp151.6.6.1openSUSE-SU-2020:2126-1
openSUSELeap 15.2libssh2_org1.9.0-lp152.8.3.1openSUSE-SU-2020:2129-1
openSUSETumbleweedlibssh2_org1.9.0-3.6openSUSE-SU-2024:10999-1
Alpinev3.9, v3.10, v3.11 and 13 morelibssh21.8.1-r0ALPINE-CVE-2019-3857

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; 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 Important.

Red Hat's statement

This flaw was present in libssh2 packages included in Red Hat Virtualization Hypervisor and Management Appliance, however libssh2 in these hosts is never exposed to malicious clients or servers.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6libssh2-0:1.4.2-3.el6_10.1Fixed 2019-07-02RHSA-2019:1652
Red Hat Enterprise Linux 7libssh2-0:1.4.3-12.el7_6.2Fixed 2019-03-28RHSA-2019:0679
Red Hat Enterprise Linux 7.3 Advanced Update Supportlibssh2-0:1.4.3-11.el7_3.1Fixed 2019-08-07RHSA-2019:2399
Red Hat Enterprise Linux 7.3 Telco Extended Update Supportlibssh2-0:1.4.3-11.el7_3.1Fixed 2019-08-07RHSA-2019:2399
Red Hat Enterprise Linux 7.3 Update Services for SAP Solutionslibssh2-0:1.4.3-11.el7_3.1Fixed 2019-08-07RHSA-2019:2399
Red Hat Enterprise Linux 7.4 Extended Update Supportlibssh2-0:1.4.3-11.el7_4.1Fixed 2019-07-30RHSA-2019:1943
Red Hat Enterprise Linux 7.5 Extended Update Supportlibssh2-0:1.4.3-11.el7_5.1Fixed 2019-07-16RHSA-2019:1791
Red Hat Enterprise Linux 8virt:rhel-8000020190510171727.55190bc5Fixed 2019-05-14RHSA-2019:1175
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.0.0/libssh2Affected
Red Hat Virtualization 4redhat-virtualization-hostWill not fix
Red Hat Virtualization 4rhvm-applianceWill not fix

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-2019-3857.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON