Skip to content
OpenAdvisories
Medium · 4.2 CVE-2026-59997 EUVD-2026-42139GHSA-56r6-6mmg-25j5

internal-sftp in sshd in OpenSSH before 10.4 recognizes only the first 9 command-line arguments, which can be important if a later command-…

Published Jul 8, 2026 · Updated Jul 8, 2026 · Assigned by mitre

Description

internal-sftp in sshd in OpenSSH before 10.4 recognizes only the first 9 command-line arguments, which can be important if a later command-line argument would have helped to ensure the intended security properties of an SFTP connection.

Affected products

VendorProductAffectedFixed
OpenBSD OpenSSH < 10.4 10.4

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssh 1:10.4p1-1 —
Debian 13 openssh No fix yet —
Debian 12 openssh No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 openssh-ssh1 No fix yet —
Ubuntu 26.04 LTS openssh 1:10.2p1-2ubuntu3.4 USN-8533-1
Ubuntu 26.04 LTS openssh-ssh1 No fix yet —
Ubuntu 25.10 openssh +1 No fix yet —
Ubuntu 24.04 LTS openssh 1:9.6p1-3ubuntu13.18 USN-8533-1
Ubuntu 24.04 LTS openssh-ssh1 No fix yet —
Ubuntu 22.04 LTS openssh 1:8.9p1-3ubuntu0.16 USN-8533-1
Ubuntu 22.04 LTS openssh-ssh1 No fix yet —
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS openssh-ssh1 No fix yet —
Ubuntu 18.04 LTS openssh-ssh1 No fix yet —
Ubuntu Pro FIPS 20.04 LTS openssh No fix yet —
Ubuntu Pro FIPS 18.04 LTS openssh No fix yet —
Ubuntu Pro FIPS 16.04 LTS openssh No fix yet —
Ubuntu Pro FIPS-updates 24.04 LTS openssh 1:9.6p1-3ubuntu13.18+Fips1 —
Ubuntu Pro FIPS-updates 22.04 LTS openssh 1:8.9p1-3ubuntu0.16+Fips3 —
Ubuntu Pro FIPS-updates 20.04 LTS openssh No fix yet —
Ubuntu Pro FIPS-updates 18.04 LTS openssh No fix yet —
Ubuntu Pro FIPS-updates 16.04 LTS openssh No fix yet —
Ubuntu Pro FIPS-preview 22.04 LTS openssh No fix yet —
Ubuntu Pro 20.04 LTS openssh 1:8.2p1-4ubuntu0.13+esm3 USN-8804-1
Ubuntu Pro 18.04 LTS openssh 1:7.6p1-4ubuntu0.7+esm6 USN-8804-1
Ubuntu Pro 16.04 LTS openssh 1:7.2p2-4ubuntu2.10+esm10 USN-8804-1
Ubuntu Pro 14.04 LTS openssh 1:6.6p1-2ubuntu2.13+esm4 USN-8804-1
ReleasePackageFixed inAdvisory
RHEL 10 openssh +5 9.9p1-29.el10_2 RHSA-2026:85847
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 openssh +6 10.4p1-1.hum1 RHSA-2026:37382

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 openssh +5 9.9p1-29.el10_2.alma.1 ALSA-2026:85847
AlmaLinux 9 openssh +4 9.9p1-13.el9_8.alma.1 ALSA-2026:85958
AlmaLinux 9 pam_ssh_agent_auth 0.10.4-8.13.el9_8.alma.1 ALSA-2026:85958
AlmaLinux 8 openssh +6 8.0p1-34.el8_10 ALSA-2026:88211
AlmaLinux 8 pam_ssh_agent_auth 0.10.3-8.34.el8_10 ALSA-2026:88211

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 openssh 9.9p1-29.el10_2.rocky.0.1 RLSA-2026:98073, RLSA-2026:85847
Rocky Linux 10 openssh-keycat +4 9.9p1-33.el10_3.rocky.0.1 RLSA-2026:98073
Rocky Linux 9 openssh 9.9p1-13.el9_8.rocky.0.1 RLSA-2026:97866, RLSA-2026:85958
Rocky Linux 9 openssh-keycat +3 9.9p1-16.el9_9.rocky.0.1 RLSA-2026:97866
Rocky Linux 9 pam_ssh_agent_auth 0.10.4-10.16.el9_9.rocky.0.1 RLSA-2026:97866
Rocky Linux 8 openssh 8.0p1-34.el8_10 RLSA-2026:88211
ReleasePackageFixed inAdvisory
SLES 15 SP7 openssh +1 9.6p1-150600.6.49.1 SUSE-SU-2026:3605-1
SLES 15 SP6 openssh +1 9.6p1-150600.6.49.1 SUSE-SU-2026:3605-1
SLES 12 SP5 openssh8.4 8.4p1-8.30.1 SUSE-SU-2026:4907-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 openssh +1 9.6p1-150600.6.49.1 SUSE-SU-2026:3605-1
SLE Micro 6.2 openssh 10.0p2-160000.7.1 SUSE-SU-2026:22978-1
SLE Micro 6.1 openssh 9.6p1-slfo.1.1_7.1 SUSE-SU-2026:24382-1
SLE Micro 6.0 openssh 9.6p1-159998.2.1 SUSE-SU-2026:24478-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 openssh +1 10.0p2-160000.7.1 openSUSE-SU-2026:21477-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssh 10.3_p1-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openssh +4 9.9p1-16.amzn2023.0.1 ALAS2023-2026-3354
Amazon Linux 2023 pam_ssh_agent_auth 0.10.4-10.16.amzn2023.0.1 ALAS2023-2026-3354

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 openssh 9.8p1-9 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 openssh +5 9.9p1-29.0.1.el10_2 ELSA-2026-85847
Oracle Linux 9 openssh +4 9.9p1-13.0.1.el9_8 ELSA-2026-85958
Oracle Linux 9 pam_ssh_agent_auth 0.10.4-9.13.0.1.el9_8 ELSA-2026-85958
Oracle Linux 8 openssh +6 8.0p1-34.0.1.el8_10 ELSA-2026-88211
Oracle Linux 8 pam_ssh_agent_auth 0.10.3-8.34.0.1.el8_10 ELSA-2026-88211

Advisories 26

References