CVE-2026-59842

Source
https://cve.org/CVERecord?id=CVE-2026-59842
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59842.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-59842
Downstream
ALSA (1)
BELL (1)
CGA (6)
DEBIAN (1)
MINI (1)
RHSA (2)
RLSA (1)
UBUNTU (1)
Related
Published
2026-07-21T11:08:30Z
Modified
2026-10-28T02:30:25Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Libssh: libssh: information disclosure via short gssapi curve25519 public key
Details

A flaw was found in libssh. During server-side GSSAPI key exchange, a client-supplied Curve25519 public key shorter than the expected length is copied without proper length validation, leading to an out-of-bounds heap read. This could allow a remote unauthenticated attacker to disclose small amounts of server memory.

Database specific
{
    "cna_assigner":  "redhat",
    "cwe_ids":  [
        "CWE-125"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59842.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "0:0.12.0-3.el10_2"
                        },
                        {
                            "fixed":  "0.12.1-4.hum1"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "InverseAffectedRanges"
                }
            ]
        }
    ]
}
References

Affected packages

Git / gitlab.com/libssh/libssh-mirror

Affected ranges

Type
GIT
Repo
https://gitlab.com/libssh/libssh-mirror
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:libssh:libssh:0.12.0:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "0.12.0"
                },
                {
                    "last_affected":  "0.12.0"
                }
            ],
            "source":  "CPE_STRING"
        }
    ]
}

Affected versions

0.*
0.12.0
libssh-0.*
libssh-0.12.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59842.json"