Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-3861

An 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 packet length are parsed. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-3861
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:26 UTC · Revision 1

Source evidence

CVE-2019-3861

core-osv · Original source

Published 25 Mar 2019, 19:29 UTC

An 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 packet length are parsed. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory.

osv:CVE-2019-3861
Complete source record
{
  "id": "d42e930a8d373c31502b8322ede0fccec6d33f0076c058db6a3aee23b4d55a3e",
  "url": "https://osv.dev/vulnerability/CVE-2019-3861",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-3861",
    "summary": "An 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 packet length are parsed. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory.",
    "evidence": "osv:CVE-2019-3861",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2019-3861",
      "aliases": [
        "CVE-2019-3861"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libssh2/libssh2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "74b12c3c7adaab4ab22f0284672dd95a573664b6"
                },
                {
                  "last_affected": "30e9c1347e3b8baa2951db612f05e6d87fc8e2f2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.15"
                      },
                      {
                        "last_affected": "1.8.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "libssh2-1.8.0",
            "libssh2-1.7.0",
            "libssh2-1.6.0",
            "libssh2-1.5.0",
            "libssh2-1.4.3",
            "libssh2-1.4.2",
            "libssh2-1.4.1",
            "libssh2-1.4.0",
            "libssh2-1.3.0",
            "libssh2-1.2.9",
            "libssh2-1.2.8",
            "libssh2-1.2.7",
            "libssh2-1.2.6",
            "libssh2-1.2.5",
            "libssh2-1.2.4",
            "libssh2-1.2.3",
            "libssh2-1.2.1",
            "libssh2-1.2",
            "RELEASE.1.1",
            "RELEASE.1.0",
            "RELEASE.0.18",
            "RELEASE.0.17",
            "RELEASE.0.16",
            "RELEASE.0.15"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-3861.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:53.233679445Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5DK6VO2CEUTAJFYIKWNZKEKYMYR3NO2O/",
        "https://seclists.org/bugtraq/2019/Apr/25",
        "https://access.redhat.com/errata/RHSA-2019:2136",
        "https://lists.debian.org/debian-lts-announce/2019/03/msg00032.html",
        "https://security.netapp.com/advisory/ntap-20190327-0005/",
        "https://www.debian.org/security/2019/dsa-4431",
        "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html",
        "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3861",
        "https://www.libssh2.org/CVE-2019-3861.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.0"
                  },
                  {
                    "last_affected": "15.0"
                  },
                  {
                    "introduced": "42.3"
                  },
                  {
                    "last_affected": "42.3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-3861",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 437878,
  "published_at": "2019-03-25T19:29:01.93+00:00"
}