Skip to content
Heist/ feed
Back to feed
MediumFix available

libssh — security advisory

Type: advisorySources: OSVAdvisory ID: ALPINE-CVE-2020-16135

libssh 0.9.4 has a NULL pointer dereference in tftpserver.c if ssh_buffer_new returns NULL.

Products
libssh
Affected versions
Not specified
Fixed versions
0.7.6-r3, 0.8.9-r1, 0.9.4-r1
CVEs
CVE-2020-16135
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:04 UTC · Revision 1

Source evidence

ALPINE-CVE-2020-16135

core-osv · Original source

Published 29 Jul 2020, 21:15 UTC

libssh 0.9.4 has a NULL pointer dereference in tftpserver.c if ssh_buffer_new returns NULL.

osv:ALPINE-CVE-2020-16135

libssh

Fixed versions: 0.8.9-r1

libssh

Fixed versions: 0.9.4-r1

libssh

Fixed versions: 0.7.6-r3

Complete source record
{
  "id": "28b092af33cd6acbffab2121b1254dc8117e6bd2ac7d610f74274d9ba799816a",
  "url": "https://osv.dev/vulnerability/ALPINE-CVE-2020-16135",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALPINE-CVE-2020-16135",
    "summary": "libssh 0.9.4 has a NULL pointer dereference in tftpserver.c if ssh_buffer_new returns NULL.",
    "evidence": "osv:ALPINE-CVE-2020-16135",
    "products": [
      {
        "name": {
          "value": "libssh",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.8.9-r1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libssh",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.9.4-r1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libssh",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.7.6-r3",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "ALPINE-CVE-2020-16135",
      "aliases": [
        "ALPINE-CVE-2020-16135"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.8.9-r1"
                }
              ]
            }
          ],
          "package": {
            "name": "libssh",
            "purl": "pkg:apk/alpine/libssh?arch=source",
            "ecosystem": "Alpine:v3.10"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-16135.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.9.4-r1"
                }
              ]
            }
          ],
          "package": {
            "name": "libssh",
            "purl": "pkg:apk/alpine/libssh?arch=source",
            "ecosystem": "Alpine:v3.11"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-16135.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.7.6-r3"
                }
              ]
            }
          ],
          "package": {
            "name": "libssh",
            "purl": "pkg:apk/alpine/libssh?arch=source",
            "ecosystem": "Alpine:v3.9"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-16135.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-26T11:17:55.136606459Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-16135"
      ],
      "references": [
        "https://security.alpinelinux.org/vuln/CVE-2020-16135"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-16135",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 450455,
  "published_at": "2020-07-29T21:15:13.507+00:00"
}