CVE-2026-59842
Last modified
CVE-2026-59842 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libssh | Libssh | All versions |
| Redhat | Hardened Images | All versions |
| Redhat | Enterprise Linux | 10.0 |
References
- https://access.redhat.com/errata/RHSA-2026:42922Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2026-59842Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2498168Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-59842?
How severe is CVE-2026-59842?
How do I fix CVE-2026-59842?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59837A stack-based buffer overflow vulnerability in Fortinet Fort…6.6
- CVE-2026-59838A improper neutralization of script-related html tags in a w…4.8
- CVE-2026-59839A improper limitation of a pathname to a restricted director…5.5
- CVE-2026-5984A vulnerability was identified in D-Link DIR-605L 2.13B01. I…8.8
- CVE-2026-59840A buffer over-read vulnerability in Fortinet FortiOS 7.6.0 t…4.3
- CVE-2026-59841A improper restriction of communication channel to intended …7.5
- CVE-2026-59843A flaw was found in libssh. A remote authenticated peer can …6.5
- CVE-2026-59844A flaw was found in libssh. A remote authenticated client ca…6.5
- CVE-2026-59845A flaw was found in libssh. When ProxyCommand is used, an un…5.9
- CVE-2026-59846A flaw was found in libssh. A malicious username expanded th…3.9
- CVE-2026-59847A flaw was found in libssh. Incorrect AES-GCM finalization c…7.5
- CVE-2026-59848A flaw was found in libssh. A malicious SFTP server can send…5.3
Are you affected by CVE-2026-59842?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
