Skip to content
Noroxi
CVE-2023-25136· NVD / CVE Program· CNA mitre

OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling.

OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. This is fixed in OpenSSH 9.2. The double free can be leveraged, by an unauthenticated remote attacker in the default configuration, to jump to any location in the sshd address space. One third-party report states "remote code execution is theoretically possible."

MediumCVSS 6.5 · v3.1—Proof of concept Fix available
Published
Feb 3, 2023
Updated
Jun 17, 2026
EPSS
89.7% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

53

Plan

Add it to your regular patch cycle.

CVSS
26 / 40 · 6.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
27 / 30 · 89.7%

CISA SSVC decision

Exploitation
proof of concept
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Affected systems

VendorProduct
openbsdopenssh
fedoraprojectfedora
netappontap select deploy administration utility
netappa250 firmware
netappa250
netapp500f firmware
netapp500f
netappc250 firmware
netappc250

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • fedoraproject fedora37
  • fedoraproject fedora38
  • netapp 500f firmwareall versions
  • netapp a250 firmwareall versions
  • netapp c250 firmwareall versions
  • netapp ontap select deploy administration utilityall versions
  • openbsd openssh9.1

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:9opensshbefore 8.7p1-29.el9_28.7p1-29.el9_2
AlmaLinux:9openssh-askpassbefore 8.7p1-29.el9_28.7p1-29.el9_2
AlmaLinux:9openssh-clientsbefore 8.7p1-29.el9_28.7p1-29.el9_2
AlmaLinux:9openssh-keycatbefore 8.7p1-29.el9_28.7p1-29.el9_2
AlmaLinux:9openssh-serverbefore 8.7p1-29.el9_28.7p1-29.el9_2
AlmaLinux:9pam_ssh_agent_authbefore 0.10.4-5.29.el9_20.10.4-5.29.el9_2
Debian:12opensshbefore 1:9.2p1-11:9.2p1-1
Red Hat:enterprise_linux:9::appstreamopenssh-askpassbefore 0:8.7p1-29.el9_20:8.7p1-29.el9_2
Red Hat:enterprise_linux:9::appstreamopenssh-askpass-debuginfobefore 0:8.7p1-29.el9_20:8.7p1-29.el9_2
Red Hat:enterprise_linux:9::appstreamopenssh-clients-debuginfobefore 0:8.7p1-29.el9_20:8.7p1-29.el9_2
Red Hat:enterprise_linux:9::appstreamopenssh-debuginfobefore 0:8.7p1-29.el9_20:8.7p1-29.el9_2
Red Hat:enterprise_linux:9::appstreamopenssh-debugsourcebefore 0:8.7p1-29.el9_20:8.7p1-29.el9_2
Red Hat:enterprise_linux:9::appstreamopenssh-keycat-debuginfobefore 0:8.7p1-29.el9_20:8.7p1-29.el9_2
Red Hat:enterprise_linux:9::appstreamopenssh-server-debuginfobefore 0:8.7p1-29.el9_20:8.7p1-29.el9_2
Red Hat:enterprise_linux:9::appstreamopenssh-sk-dummy-debuginfobefore 0:8.7p1-29.el9_20:8.7p1-29.el9_2
Red Hat:enterprise_linux:9::appstreampam_ssh_agent_authbefore 0:0.10.4-5.29.el9_20:0.10.4-5.29.el9_2
Red Hat:enterprise_linux:9::appstreampam_ssh_agent_auth-debuginfobefore 0:0.10.4-5.29.el9_20:0.10.4-5.29.el9_2
Red Hat:enterprise_linux:9::baseosopensshbefore 0:8.7p1-29.el9_20:8.7p1-29.el9_2
Red Hat:enterprise_linux:9::baseosopenssh-clientsbefore 0:8.7p1-29.el9_20:8.7p1-29.el9_2
Red Hat:enterprise_linux:9::baseosopenssh-keycatbefore 0:8.7p1-29.el9_20:8.7p1-29.el9_2
Red Hat:enterprise_linux:9::baseosopenssh-serverbefore 0:8.7p1-29.el9_20:8.7p1-29.el9_2

Other highest-scoring records for the same primary product.

  • CVE-2023-38408The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remote code execution if
    63This week
  • CVE-2018-15473OpenSSH through 7.7 is prone to a user enumeration vulnerability due to not delaying bailout for an invalid authenticating user until after
    51Plan
  • CVE-2016-6210sshd in OpenSSH before 7.3, when SHA256 or SHA512 are used for user password hashing, uses BLOWFISH hashing on a static password when the us
    50Plan
  • CVE-2016-6515The auth_password function in auth-passwd.c in sshd in OpenSSH before 7.3 does not limit password lengths for password authentication, which
    48Plan
  • CVE-2002-0640Buffer overflow in sshd in OpenSSH 2.3.1 through 3.3 may allow remote attackers to execute arbitrary code via a large number of responses du
    48Plan
  • CVE-2006-5051Signal handler race condition in OpenSSH before 4.4 allows remote attackers to cause a denial of service (crash), and possibly execute arbit
    45Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
AlmaLinux:openssh8.7p1-29.el9_2 · AlmaLinux:9Package registry (OSV)
AlmaLinux:openssh-askpass8.7p1-29.el9_2 · AlmaLinux:9Package registry (OSV)
AlmaLinux:openssh-clients8.7p1-29.el9_2 · AlmaLinux:9Package registry (OSV)
AlmaLinux:openssh-keycat8.7p1-29.el9_2 · AlmaLinux:9Package registry (OSV)
AlmaLinux:openssh-server8.7p1-29.el9_2 · AlmaLinux:9Package registry (OSV)
AlmaLinux:pam_ssh_agent_auth0.10.4-5.29.el9_2 · AlmaLinux:9Package registry (OSV)
Debian:openssh1:9.2p1-1 · Debian:12Package registry (OSV)
Red Hat:openssh0:8.7p1-29.el9_2 · Red Hat:enterprise_linux:9::baseosPackage registry (OSV)
Red Hat:openssh-askpass0:8.7p1-29.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
Red Hat:openssh-askpass-debuginfo0:8.7p1-29.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
Red Hat:openssh-clients0:8.7p1-29.el9_2 · Red Hat:enterprise_linux:9::baseosPackage registry (OSV)
Red Hat:openssh-clients-debuginfo0:8.7p1-29.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
Red Hat:openssh-debuginfo0:8.7p1-29.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
Red Hat:openssh-debugsource0:8.7p1-29.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
Red Hat:openssh-keycat-debuginfo0:8.7p1-29.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
Red Hat:openssh-server-debuginfo0:8.7p1-29.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
Red Hat:openssh-sk-dummy-debuginfo0:8.7p1-29.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
Red Hat:pam_ssh_agent_auth0:0.10.4-5.29.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
Red Hat:pam_ssh_agent_auth-debuginfo0:0.10.4-5.29.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×11

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:412023-02-07
Proof-of-concept repository on GitHubstars:32023-02-14
Proof-of-concept repository on GitHubstars:1072023-02-22
Proof-of-concept repository on GitHubstars:472023-04-18
Proof-of-concept repository on GitHubstars:82023-04-28
Proof-of-concept repository on GitHubstars:32023-06-03
Proof-of-concept repository on GitHubstars:52023-06-30
Proof-of-concept repository on GitHubstars:12023-09-04
Proof-of-concept repository on GitHubstars:32023-09-21
Proof-of-concept repository on GitHubstars:12025-01-16
Proof-of-concept repository on GitHubstars:02025-11-18

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+4 d
  3. TodaySep 29, 2026+1335 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
none
Integrity
low · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
Low
Availability impact
High

Weakness class (CWE)

CWE-415 · Double Free

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records