Pre-auth child-process crash via double free
Published Feb 3, 2023 · Updated May 28, 2026
Double free in OpenSSH server 9.1 allows remote attackers to crash an unauthenticated sshd child process via a crafted client banner. compat_kex_proposal() frees options.kex_algorithms when SSH_OLD_DHGEX matches, leaving a dangling pointer that kex_assemble_names() frees again during authentication setup. A default configuration accepts the trigger before authentication, but the fault occurs in a sandboxed, unprivileged child, and practical code execution requires defeating memory protections.
Summary
What happened
Double free in OpenSSH server 9.1 allows remote attackers to crash an unauthenticated sshd child process via a crafted client banner. compat_kex_proposal() frees options.kex_algorithms when SSH_OLD_DHGEX matches, leaving a dangling pointer that kex_assemble_names() frees again during authentication setup. A default configuration accepts the trigger before authentication, but the fault occurs in a sandboxed, unprivileged child, and practical code execution requires defeating memory protections.
The record
- CVE
- CVE-2023-25136
- Published
- Feb 3, 2023
- Updated
- May 28, 2026
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-415, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 3, 2023CVE publishedPublication date reported by the CVE source.
- May 28, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- JFrog pre-authentication crash proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo