Meet *sshole, the vulnerability that lets hackers SSH into Linux devices

Devices running some configurations of Alpine Linux, and possibly other distributions, are affected by a decade-old vulnerability that allows attackers to log into devices with no password.
The vulnerability exists in the interaction between OpenSSH, the code library implementing SSH connections, and musl, a lightweight alternative to the libc library that, unlike most other Linux distributions, is used in Alpine. Further, OpenSSH using musl (pronounced muscle) must not use PAM (pluggable authentication modules), a framework that handles user authentication and account-access checks. Alpine is a lightweight, widely used Linux distribution. Other platforms may be affected if they use the same configurations.
One connection, works every time, needs no retries
There are two other conditions necessary for successful exploitation. First, a system must have at least one user account that’s accessible using a password that is hashed using the SHA256 or SHA512 functions. Second, the target system account must be configured to be passwordless, by way of specifying a “*” in the password field in /etc/shadow, the Linux file where password hashes are stored. Passwordless accounts are commonly used for accounts that use certificate-based authentication. This setting is common for certain types of accounts.
When all the conditions are met, the consequences are high.
“An attacker who can reach your SSH port can log in without knowing any password,” Alpine maintainers said Thursday. “It takes one connection, works every time, and needs no retries.”
When logging into a passwordless account, the attacker can gain access by inputting more than 256 characters in the password field.
Security firm Checkpoint said that the use of the SHA256 or SHA512 functions “matters because sshd borrows that account’s salt. Without it, the attack fails.” Company researchers said their testing also showed that the account must be active, not just hold a hash. Checkpoint further reported that root accounts are safe under the default PermitRootLogin prohibit password setting, though reachable accounts with doas or sudo rights can still become root.
Despite the prerequisites, *sshole—the vulnerability name given by the person who discovered it—likely threatens large numbers of systems. The Docker Hub base image for Alpine has more than 1 billion downloads. Alpine has long been popular in routers, smart TVs, industrial controllers, and other types of embedded devices, many of which can’t be easily updated, if at all. More recently, Alpine has been adopted for use in desktops and servers. Alpine is also used in many container images.
According to security firm Detectify, Shodan lists around 22 million systems with SSH open on port 22. Only a fraction meet the conditions necessary for exploitation, but given the ease and speed of testing each one, locating vulnerable devices won’t require much effort or time.
It’s not entirely clear where the vulnerability resides. OpenSSH, which issued an update Thursday, said: “We consider the root cause of this bug to be outside sshd, but it is exploitable via sshd and can be avoided there.” Musl developer Rich Felker, meanwhile, wrote: “It is my position that this is not a bug in musl just an erroneous use by the caller.” Felker went on to say that musl developers have wanted to make changes to the mechanism “for a while now” and planned to do so in an upcoming release. Alpine has also issued an update.
It’s not yet known what other packages may be vulnerable. The person who discovered *sshole said OpenWRT is affected, but by default, that OS uses the Dropbear package, not OpenSSH, for SSH connections (though maintainers provide instructions for installing the latter). The discoverer also names the packages buildroot and yocto as being affected, but that isn’t yet confirmed.
Despite the uncertainty, anyone using a Linux system that uses both musl and OpenSSH should take time to immediately investigate if they’re affected. A good starting point is here. Both Alpine and OpenSSH patches should be installed on all affected systems. There is no known CVE designation for the vulnerability.
1.
After Texas' blue wave, what happens to Elon Musk and SpaceX?
Related Topics
Keywords
Related Stories
OpenAI is stepping back from NDAs for data center projects
Following this week's midterms where voters resoundingly voiced their opposition to data center expansion, OpenAI today announced new commitments to communities where it is working on data center projects, including that it won't use non-disclosure agreements (NDAs) with public…
Blue Origin says it is building a higher-performing rocket engine at 1/4 the cost
"This is going to be a game-changer."
Airbnb is working on an AI travel agent
Airbnb plans to roll out an AI agent in the first half of 2027 that will help users plan and book travel, the company said in its Q3 2026 earnings shareholder letter released today. "Today's AI agents are good at simple, routine tasks, like making a restaurant reservation or…
The New York Times is in talks to buy Letterboxd for around $330 million
Letterboxd’s homepage. The New York Times Company is in talks"exclusive negotations" to acquire Letterboxd, the social network for film lovers, for around $330 million, The New York Times reports. The Times Company, Sony Pictures Entertainment, and A24 were all recently rumored…
Top Stories
/file/attachments/orphans/ME-Tiara-DionGeorgeBoycottsII_138627.jpg)
TOURISM BOYCOTT BOMB: The Honeybadger’s revenge: Former minister Dion George’s nuclear war over SA’s captive lions
/file/attachments/orphans/resident-evil-movie3_830013.jpg)
WHAT WE’RE WATCHING: Resident Evil — a horror video game adaptation with a wicked sense of humour
/file/attachments/3000/14276316_353466.jpg)
New wave of bomb hoaxes hits dozens of flights across Europe

FG, Enugu align on agro-industrialisation, market access to boost food security

Police car set alight in Glasgow amid Bonfire Night trouble
Western Cape election results set stage for hung councils and coalition battles
LIVE | LGE 2026: ANC under pressure as DA closes gap to just seven points in election count
WATCH: Navi Pillay calls on South Africans to uphold human rights in Diwali message
Latest
TOURISM BOYCOTT BOMB: The Honeybadger’s revenge: Former minister Dion George’s nuclear war over SA’s captive lions
WHAT WE’RE WATCHING: Resident Evil — a horror video game adaptation with a wicked sense of humour
New wave of bomb hoaxes hits dozens of flights across Europe
FG, Enugu align on agro-industrialisation, market access to boost food security
Police car set alight in Glasgow amid Bonfire Night trouble
Western Cape election results set stage for hung councils and coalition battles
LIVE | LGE 2026: ANC under pressure as DA closes gap to just seven points in election count
WATCH: Navi Pillay calls on South Africans to uphold human rights in Diwali message



