Skip to content
Heist/ feed
Back to feed
CriticalFix available

libssh2 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2019-3858

An out of bounds read flaw was discovered in libssh2 before 1.8.1 when a specially crafted SFTP packet is received from the server. 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
libssh2
Affected versions
Not specified
Fixed versions
1.8.0-2.1
CVEs
CVE-2019-3858
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:29 UTC · Revision 1

Source evidence

DEBIAN-CVE-2019-3858

core-osv · Original source

Published 21 Mar 2019, 21:29 UTC

An out of bounds read flaw was discovered in libssh2 before 1.8.1 when a specially crafted SFTP packet is received from the server. 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:DEBIAN-CVE-2019-3858

libssh2

Fixed versions: 1.8.0-2.1

libssh2

Fixed versions: 1.8.0-2.1

libssh2

Fixed versions: 1.8.0-2.1

Complete source record
{
  "id": "c3918cf430fd32ca9c7e7d39f41cad3411aa9e0b7d13107c7f3beaa8563734b3",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2019-3858",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2019-3858",
    "summary": "An out of bounds read flaw was discovered in libssh2 before 1.8.1 when a specially crafted SFTP packet is received from the server. 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:DEBIAN-CVE-2019-3858",
    "products": [
      {
        "name": {
          "value": "libssh2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.8.0-2.1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libssh2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.8.0-2.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libssh2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.8.0-2.1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2019-3858",
      "aliases": [
        "DEBIAN-CVE-2019-3858"
      ],
      "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": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.8.0-2.1"
                }
              ]
            }
          ],
          "package": {
            "name": "libssh2",
            "purl": "pkg:deb/debian/libssh2?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-3858.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.8.0-2.1"
                }
              ]
            }
          ],
          "package": {
            "name": "libssh2",
            "purl": "pkg:deb/debian/libssh2?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-3858.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.8.0-2.1"
                }
              ]
            }
          ],
          "package": {
            "name": "libssh2",
            "purl": "pkg:deb/debian/libssh2?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-3858.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T07:47:37.646619979Z",
      "provider": "osv",
      "upstream": [
        "CVE-2019-3858"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2019-3858"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2019-3858",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 322318,
  "published_at": "2019-03-21T21:29:00.573+00:00"
}