CVE-2023-25136

openssh: the functions order_hostkeyalgs() and list_hostkey_types() leads to double-free vulnerability

Published Feb 3, 2023 CVSS 3.1 · 6.5 Medium EPSS 89.8% KEV · Not listed
Description
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."

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-415

    Double Free

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 14, 2026, 10:32 PM
Reserved
Feb 3, 2023, 12:00 AM
Status
Modified
Published
Feb 3, 2023, 6:15 AM
Modified
Oct 14, 2026, 11:17 PM
Severity
Moderate
Public date
Feb 3, 2023, 12:00 AM