OpenSSH Moderate Vulnerability: Double-Free Vulnerability in openssh

openssh Updated 02 Oct 2025

Summary

09/05/2023
N/A
Yes i
Unrated
Not published

ALSA-2023:2645: Moderate: openssh security update. Affects openssh versions < 8.7p1-29.el9_2. Fixed in 8.7p1-29.el9_2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

OpenSSH is an SSH protocol implementation used by various Linux, UNIX, and similar operating systems. It provides the necessary files for both the OpenSSH client and server. OpenSSH allows secure remote access and file transfer between systems.

Vulnerability Detail

The vulnerability in OpenSSH is related to the functions order_hostkeyalgs() and list_hostkey_types(). This vulnerability can lead to a double-free vulnerability, which could potentially be exploited by an attacker. A double-free vulnerability occurs when a program attempts to free the same memory location twice, which can result in memory corruption and potentially allow an attacker to execute arbitrary code or cause a denial of service.

How To Fix

Minimum fixed version

8.7p1-29.el9_2

This is the first release that contains the fix.

sudo dnf update openssh

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is recommended to apply the security update as soon as possible.

Conclusion

OpenSSH is vulnerable to a double-free vulnerability, which could potentially allow an attacker to execute arbitrary code or cause a denial of service. It is crucial to update OpenSSH to version 8.7p1-29.el9_2 or later to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for openssh →

Share this vulnerability

FAQ

OpenSSH is an SSH protocol implementation used for secure remote access and file transfer between systems.

A double-free vulnerability occurs when a program attempts to free the same memory location twice, which can result in memory corruption and potential exploitation by an attacker.

The impact of this vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial of service.

To fix this vulnerability, update OpenSSH to version 8.7p1-29.el9_2 or later.

There is no specific workaround mentioned for this vulnerability. It is recommended to apply the security update.

Related vulnerabilities

Recent vulnerabilities recorded for openssh.

How To Fix

Minimum fixed version

8.7p1-29.el9_2

This is the first release that contains the fix.

sudo dnf update openssh

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback