Description
sshd in OpenSSH before 6.6 does not properly support wildcards on AcceptEnv lines in sshd_config, which allows remote attackers to bypass intended environment restrictions by using a substring located before a wildcard character.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openssh | 1:6.6p1-1 | — |
| Debian 13 | openssh | 1:6.6p1-1 | — |
| Debian 12 | openssh | 1:6.6p1-1 | — |
| Debian 7 | openssh | 1:6.0p1-4+deb7u1 | DSA-2894-1 |
| Debian 6.0 | openssh | 1:5.5p1-6+squeeze5 | DSA-2894-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | openssh +4 | 5.3p1-104.el6 | RHSA-2014:1552 |
| RHEL 6 | pam_ssh_agent_auth | 0.9.3-104.el6 | RHSA-2014:1552 |
Advisories 2
- RHSA-2014:1552 Red Hat Security Advisory: openssh security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2894-1 openssh - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- 59855 third-party-advisory
- 57574 third-party-advisory
- http://advisories.mageia.org/MGASA-2014-0143.html
- APPLE-SA-2015-09-30-3 vendor-advisory
- HPSBUX03188 vendor-advisory
- 57488 third-party-advisory
- MDVSA-2015:095 vendor-advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
- 59313 third-party-advisory
- https://support.apple.com/HT205267
- FEDORA-2014-6380 vendor-advisory
- DSA-2894 vendor-advisory
- RHSA-2014:1552 vendor-advisory
- http://aix.software.ibm.com/aix/efixes/security/openssh_advisory4.asc
- 1029925 vdb-entry
- [security-announce] 20140315 Announce: OpenSSH 6.6 released mailing-list
- http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html
- USN-2155-1 vendor-advisory
- FEDORA-2014-6569 vendor-advisory
- openssh-cve20142532-sec-bypass(91986) vdb-entry
- MDVSA-2014:068 vendor-advisory
- 66355 vdb-entry