Alpine Linux 3.24.4 Released as the OpenSSH Flaw Lands on musl Systems
Alpine Linux 3.24.4 was released on November 5, the same day OpenSSH 10.6p2 shipped a fix for CVE-2026-123158.
That coincidence is the reason to pay attention to an otherwise routine point release. The OpenSSH flaw affects musl-based Linux systems that do not authenticate passwords through PAM, and Alpine is the distribution that description was written for.
Apply it
apk update
apk upgrade
apk info -v openssh | head -1
# confirm the version
ssh -V
The flaw was exploited within hours of disclosure and is in CISA’s Known Exploited Vulnerabilities catalog, so this is not a patch to leave for a maintenance window.
If you cannot patch immediately, disabling password authentication removes the exposure, since that is the mechanism being bypassed:
# /etc/ssh/sshd_config
PasswordAuthentication no
PubkeyAuthentication yes
sudo sshd -t && sudo rc-service sshd restart
Key-only authentication is correct regardless, per our ssh keys guide.
The container angle
Most Alpine installations are not installations. They are container base images, and that changes the remediation.
# which of your images are Alpine
podman images --format '{{.Repository}}:{{.Tag}}' | sort -u
# rebuild rather than patch in place
podman pull alpine:3.24
podman build --pull --no-cache -t myapp:fixed .
Rebuild on a current base. Patching a running container leaves the image unchanged, so the next deployment reintroduces the problem. Our supply chain guide covers why scheduled rebuilds matter as much as scanning.
The other question worth asking: does the image need sshd at all? A great many Alpine images carry one because a base template included it, not because anything uses it. Removing it is better than patching it, and our container hardening guide covers reducing what is in the image.
Why Alpine uses musl
Worth a paragraph, since this episode is a direct consequence of it.
Alpine pairs musl with busybox to produce images of a few megabytes where a Debian base is tens or hundreds. For containers, where the image is pulled repeatedly across a fleet, that is a genuine operational advantage.
The trade-offs are also real and are not limited to this CVE:
- Binary compatibility. Software built against glibc may not run, and anything using glibc-specific behaviour needs attention
- Different performance characteristics, notably in DNS resolution and in the memory allocator
- A smaller tested population for security-sensitive code paths, which is precisely what this flaw illustrates
None of that argues against Alpine. It argues for knowing which libc you are running, because “Linux” is not one platform for this purpose. Our static versus dynamic linking guide covers the underlying mechanics, and nsswitch covers the identity path where the two differ.