CVE-2025-32728 Security feature bypass in OpenSSH
OpenSSH sshd fails to disable X11 and agent forwarding when configured, allowing bypass of intended security restrictions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-32728?
CVE-2025-32728 is a medium-severity vulnerability in Debian Debian Linux, published on 10 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In sshd in OpenSSH before 10.0, the DisableForwarding directive does not adhere to the documentation stating that it disables X11 and agent forwarding.
Weakness: CWE-440
Which versions are affected by CVE-2025-32728?
It affects 2 products.
Linux distribution packages (40)
openssh AlmaLinux:10 | All versions | 9.9p1-11.el10.alma.1 |
openssh-askpass AlmaLinux:10 | All versions | 9.9p1-11.el10.alma.1 |
openssh-clients AlmaLinux:10 | All versions | 9.9p1-11.el10.alma.1 |
openssh-keycat AlmaLinux:10 | All versions | 9.9p1-11.el10.alma.1 |
openssh-keysign AlmaLinux:10 | All versions | 9.9p1-11.el10.alma.1 |
openssh-server AlmaLinux:10 | All versions | 9.9p1-11.el10.alma.1 |
openssh Red Hat:enterprise_linux:10.1 | All versions | 0:9.9p1-11.el10 |
openssh-askpass Red Hat:enterprise_linux:10.1 | All versions | 0:9.9p1-11.el10 |
openssh-askpass-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 0:9.9p1-11.el10 |
openssh-clients Red Hat:enterprise_linux:10.1 | All versions | 0:9.9p1-11.el10 |
openssh-clients-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 0:9.9p1-11.el10 |
openssh-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 0:9.9p1-11.el10 |
openssh-debugsource Red Hat:enterprise_linux:10.1 | All versions | 0:9.9p1-11.el10 |
openssh-keycat Red Hat:enterprise_linux:10.1 | All versions | 0:9.9p1-11.el10 |
openssh-keycat-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 0:9.9p1-11.el10 |
openssh-keysign Red Hat:enterprise_linux:10.1 | All versions | 0:9.9p1-11.el10 |
openssh-keysign-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 0:9.9p1-11.el10 |
openssh-server Red Hat:enterprise_linux:10.1 | All versions | 0:9.9p1-11.el10 |
openssh-server-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 0:9.9p1-11.el10 |
openssh-sk-dummy-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 0:9.9p1-11.el10 |
openssh Rocky Linux:10 | All versions | 0:9.9p1-11.el10.rocky.0.1 |
openssh SUSE:Enterprise Storage 7.1 | All versions | 8.4p1-150300.3.49.1 |
openssh-askpass-gnome SUSE:Enterprise Storage 7.1 | All versions | 8.4p1-150300.3.49.1 |
openssh SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 8.4p1-150300.3.49.1 |
openssh-askpass-gnome SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 8.4p1-150300.3.49.1 |
openssh SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 8.4p1-150300.3.49.1 |
openssh-askpass-gnome SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 8.4p1-150300.3.49.1 |
openssh SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 8.4p1-150300.3.49.1 |
openssh-askpass-gnome SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 8.4p1-150300.3.49.1 |
openssh SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 8.4p1-150300.3.49.1 |
openssh-askpass-gnome SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 8.4p1-150300.3.49.1 |
openssh SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 8.4p1-150300.3.49.1 |
openssh-askpass-gnome SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 8.4p1-150300.3.49.1 |
openssh SUSE:Linux Enterprise Micro 5.1 | All versions | 8.4p1-150300.3.49.1 |
openssh SUSE:Linux Enterprise Micro 5.2 | All versions | 8.4p1-150300.3.49.1 |
openssh SUSE:Linux Enterprise Micro 5.3 | All versions | 8.4p1-150300.3.49.1 |
openssh SUSE:Linux Enterprise Micro 5.4 | All versions | 8.4p1-150300.3.49.1 |
openssh SUSE:Linux Enterprise Micro 5.5 | All versions | 8.4p1-150300.3.49.1 |
openssh SUSE:Linux Enterprise Module for Basesystem 15 SP6 | All versions | 9.6p1-150600.6.26.1 |
openssh SUSE:Linux Enterprise Module for Basesystem 15 SP7 | All versions | 9.6p1-150600.6.26.1 |
Products include Debian Debian Linux, OpenSSH.
How do I fix CVE-2025-32728?
Upgrade to a fixed version.
Is CVE-2025-32728 being exploited?
There is no known exploitation of CVE-2025-32728 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2025-32728, ALSA-2025:20126, AZL-59775, AZL-59888, BELL-CVE-2025-32728, CLSA-2025-1749482356 and 24 more.