Critical Security Flaw in OpenSSH Packages: Code Execution Risk

openssh Updated 24 Dec 2025

Summary

17/12/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:23480: Moderate: openssh security update. Affects openssh versions < 8.7p1-47.el9_7.alma.1. Fixed in 8.7p1-47.el9_7.alma.1. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

OpenSSH is a widely used implementation of the SSH protocol, providing secure communication over unsecured networks. It is essential for remote server management and file transfers. The affected packages include openssh, openssh-askpass, openssh-clients, openssh-keycat, openssh-server, and pam_ssh_agent_auth, all of which are integral to secure shell operations in various Linux distributions, including AlmaLinux.

Vulnerability Detail

The vulnerability arises from the handling of control characters in usernames and null characters in ssh:// URIs. Specifically, these issues can lead to code execution via ProxyCommand, allowing an attacker to execute arbitrary commands on the server. This poses a significant risk as it could lead to unauthorized access and control over the affected systems.

How To Fix

Minimum fixed version

8.7p1-47.el9_7.alma.1

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

As a temporary workaround, avoid using ProxyCommand with usernames that contain control characters or null characters in ssh:// URIs until the packages can be updated.

Conclusion

The OpenSSH security update addresses critical vulnerabilities that could lead to code execution. It is crucial for users to update their packages promptly to mitigate these risks. Employing tools like Vulert can help in monitoring vulnerabilities effectively.

See every vulnerability recorded for openssh →

Share this vulnerability

FAQ

The vulnerability allows for code execution through improperly handled control characters in usernames and null characters in ssh:// URIs.

The affected packages include openssh, openssh-askpass, openssh-clients, openssh-keycat, openssh-server, and pam_ssh_agent_auth.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

As a temporary measure, avoid using ProxyCommand with vulnerable inputs until you can apply the update.

Failure to address this vulnerability could result in unauthorized access and control over your systems, leading to data breaches and other security incidents.

Related vulnerabilities

Recent vulnerabilities recorded for openssh.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

8.7p1-47.el9_7.alma.1

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