CVE
CVE-2026-123158, CVE-2026-109518, CVE-2026-107891, CVE-2026-85091, CVE-2026-4738, CVE-2026-121994, CVE-2026-121995, CVE-2026-121996, CVE-2026-121997, CVE-2026-123151, CVE-2026-114713, CVE-2026-116779
CWE
CWE-287, CWE-394, CWE-367, CWE-59, CWE-190, CWE-787, CWE-121, CWE-122, CWE-93, CWE-78
Affected Surface
- OpenSSH (`sshd`) versions `< 10.6p2` running on Linux distributions that use `musl libc` with PAM disabled (including Alpine Linux `3.16` through `3.24` and `edge` prior to `10.3_p1-r2` / `10.6_p2-r0`, OpenWrt with `openssh-server`, Buildroot, and Yocto with `TCLIBC=musl`) (`CVE-2026-123158` / `GHSA-4fcc-vm97-gx3x`, CVSS 8.1 High)
- Debian and Ubuntu `apt` (`apt`, `apt-get`, `aptitude`, `libapt-pkg`) versions `< 3.0.4` on Debian 13 (`trixie`), `< 2.6.2` on Debian 12 (`bookworm`), `< 2.4.15ubuntu0.1` on Ubuntu 22.04 LTS, `< 2.8.4ubuntu0.1` on Ubuntu 24.04 LTS, `< 3.2.1ubuntu0.1` on Ubuntu 26.04 LTS, and `< 3.3.3ubuntu0.1` on Ubuntu 26.10 (`CVE-2026-109518`)
- `musl libc` versions `< 1.2.7` when compiling untrusted regular expressions via `regcomp()` (`CVE-2026-107891`, CVSS 8.1 High)
- `zlib` and `minizip` versions `< 1.4` (`CVE-2026-85091` / `TOB-ZLIB-003`, `THM-ZLIB-001`, `TOB-ZLIB-004`, `TOB-ZLIB-013`, `TOB-ZLIB-014`, `CVE-2026-4738`), GNU `gdb` / `gdbserver` (`CVE-2026-121994` through `CVE-2026-121997`, `CVE-2026-123151`), and Vim `< 9.2.1308` / `< 9.2.1309`
- UnrealIRCd versions `6.0.0` through `6.2.7` (and EOL `5.x`) on networks with two or more linked servers (`CVE-2026-114713`, CVSS 8.6 High, fixed in `6.2.7.1` and hot-patch `bundle-20261107`) and SignalWire FreeSWITCH versions `<= 1.11.2` (`CVE-2026-116779` / `GHSA-mg63-h38w-8p9p`, CVSS 9.8 Critical, exploited in the wild, fixed in `1.11.3`)
Update, 9 November 2026: On 9 November 2026, CISA added both OpenSSH *sshole (CVE-2026-123158) and SignalWire FreeSWITCH (CVE-2026-116779) (alongside GPUStack CVE-2026-102895) to the CISA Known Exploited Vulnerabilities (KEV) catalog under BOD 26-04 with an accelerated 3-day remediation deadline of 12 November 2026 and forensicTriage: Yes. Federal civilian agencies and enterprise defenders running sshd on musl-based Linux distributions (such as Alpine Linux, OpenWrt, Buildroot, and Yocto) or internet-exposed FreeSWITCH SIP profiles (<= 1.11.2) should prioritize immediate patching and forensic log triage using the commands below.
TL;DR
Between 4 and 8 November 2026, six vulnerability disclosures hit core Linux userland packages and network daemons that underpin container base images, CI/CD runners, and developer toolchains:
CVE-2026-123158(*sshole, CVSS 8.1 High, EPSS 63rd percentile): Reported by Özgün Kültekin of Wakefield and patched in OpenSSH10.6p2, this authentication bypass affectssshdon Linux distributions that usemusl libcwithout PAM (such as Alpine Linux3.16through3.24, OpenWrt withopenssh-server, Buildroot, and Yocto). Becausemusl’scrypt()returns the literal string"*"on error and rejects passwords longer than 256 bytes, an attacker who connects tosshdand sends a password between257and1,024bytes against an account whose/etc/shadowpassword field is*(the standard marker for a locked or SSH-key-only account) triggers a"*" == "*"match and logs in without knowing any password, provided at least one local account on the host has a$5$or$6$password hash from whichpick_salt()can borrow a salt.CVE-2026-109518(DebianDSA-6607-1, UbuntuUSN-8996-1, EPSS 61st percentile): Discovered by Max Justicz in APT, this time-of-check to time-of-use (TOCTOU) flaw lets an on-path HTTP attacker, rogue mirror, or compromised caching proxy merge two package downloads via HTTP redirects and use transient HTTP errors (Acquire::Retries, which defaults to3sinceapt 2.3.2in Debian 12 and Ubuntu 22.04) to overwrite a hard-linked.debfile afterapthas already verified its cryptographic hash, executing arbitrarypostinstmaintainer scripts asroot.CVE-2026-107891(CVSS 8.1 High,musl libc < 1.2.7): Multiple 32-bit signedintoverflows inmusl’sregcomp()(both before and duringtre_expand_ast()) allow crafted extended regular expressions with nested repetitions or alternations to wrap allocation sizes and trigger out-of-bounds heap writes.zlib 1.4(CVE-2026-85091/TOB-ZLIB-003andTHM-ZLIB-001) and GNUgdb/gdbserver(CVE-2026-121994to121997,CVE-2026-123151):zlib 1.4patches a buffer overflow in non-blockinggzwrite(), an up-to-8 MB heap out-of-bounds write past the caller’s 32 KB buffer ininflateGetDictionary(), a 1-byte window allocation overrun ininflateSync(), and path traversal inminiunz. On the same day, Red Hat published five CVEs in GNUgdbandgdbserver, including an unauthenticated remote heap buffer overflow ingdbserver’sQTDPsrctracepoint packet handler (CVE-2026-121997, CVSS 8.1 High) and a stack buffer overflow in the GDB client’sfetch_register_using_phandler (CVE-2026-121994, CVSS 8.8 High).- UnrealIRCd
6.2.7.1(CVE-2026-114713, CVSS 8.6 High, disclosed 7-8 November 2026), FreeSWITCH1.11.3(CVE-2026-116779, CVSS 9.8 Critical, exploited in the wild), and Vim< 9.2.1308/< 9.2.1309: In UnrealIRCd’ssrc/modules/labeled-response.c,labeled_response_mtag_is_ok()validated only the length (<= 64) of the client-supplied IRCv3@label=message tag without rejecting\r,\n,;,\, or spaces, letting an ordinary IRC user inject raw server-to-server lines (\r\n) executed with full IRCOp authority. In SignalWire FreeSWITCH<= 1.11.2(CVE-2026-116779/GHSA-mg63-h38w-8p9p, EPSS 71st percentile, actively exploited in the wild),sofia_presence_handle_sip_i_message()split theTouser of an inbound SIPMESSAGEon+and allowedsip:api+system%20...@targetto invokeswitch_api_execute()directly. And on 8 November (oss-security 2026/11/08/4and08/5), Vim disclosed an unverified/tmp/vim-<uid>socket directory ownership bypass (< 9.2.1308, allowing local expression evaluation) and a.splspell-fileSN_SOFOtype-confusion heap overflow (< 9.2.1309).
What to do now:
- On Alpine and other
musl-based Linux hosts or containers runningsshd, runapk upgrade opensshand restartsshd(or setPasswordAuthentication noin/etc/ssh/sshd_config). Do not rely onsshd -Vbanners to check patch status on Alpine, because backported builds (10.3_p1-r2) keep theOpenSSH_10.3p1banner. - On Debian and Ubuntu hosts, CI runners, and Dockerfiles, pass
-o Acquire::Retries=0when runningapt-get update && apt-get install --only-upgrade -y aptso the vulnerableaptbinary cannot be exploited while downloading its own patch. - Rebuild container images and native binaries that bundle
musl libc(< 1.2.7),zlib(< 1.4), or exposegdbserverover a network, and apply./unrealircd hot-patch bundle-20261107or upgrade UnrealIRCd to6.2.7.1.
Affected packages and distributions
| Ecosystem / Distribution | Package / Component | CVE / Advisory | Severity | Affected versions | Fixed versions |
|---|---|---|---|---|---|
Upstream / Alpine / musl Linux | OpenSSH (openssh-server) | CVE-2026-123158 (GHSA-4fcc-vm97-gx3x) | High (8.1) | OpenSSH < 10.6p2 on musl without PAM; Alpine 3.16 to 3.24 (< 10.3_p1-r2 on 3.24, < 10.2_p1-r1 on 3.23, < 10.0_p1-r11 on 3.22, < 9.9_p2-r1 on 3.21, < 9.7_p1-r6 on 3.20) | OpenSSH 10.6p2; Alpine 3.24 10.3_p1-r2, 3.23 10.2_p1-r1, 3.22 10.0_p1-r11, 3.21 9.9_p2-r1, 3.20 9.7_p1-r6, edge 10.6_p2-r0 |
Debian (bookworm, trixie) | apt (libapt-pkg) | CVE-2026-109518 (DSA-6607-1, DLA-4880-1) | High / Critical (7.7 CVSS v4) | Debian 12 < 2.6.2; Debian 13 < 3.0.4 | Debian 12 2.6.2; Debian 13 3.0.4 |
Ubuntu (22.04 to 26.10) | apt (libapt-pkg) | CVE-2026-109518 (USN-8996-1) | High / Critical (7.7 CVSS v4) | 22.04 < 2.4.15ubuntu0.1; 24.04 < 2.8.4ubuntu0.1; 26.04 < 3.2.1ubuntu0.1; 26.10 < 3.3.3ubuntu0.1 | 2.4.15ubuntu0.1, 2.8.4ubuntu0.1, 3.2.1ubuntu0.1, 3.3.3ubuntu0.1 |
C library (musl) | musl (src/regex/regcomp.c) | CVE-2026-107891 | High (8.1) | < 1.2.7 | 1.2.7 (commit 7813e9119eb5) |
C library (zlib / minizip) | zlib | CVE-2026-85091, THM-ZLIB-001, TOB-ZLIB-004, TOB-ZLIB-013, TOB-ZLIB-014, CVE-2026-4738 | High / Medium | < 1.4 (THM-ZLIB-001 affects 1.3.1 and 1.3.2) | 1.4 |
| Linux developer tools | GNU gdb / gdbserver | CVE-2026-121994, 121995, 121996, 121997, 123151 | High (7.5 to 8.8) | Upstream / distro gdb and gdbserver packages prior to November 2026 errata | Vendor security updates (RHSA / upstream patches) |
| C / IRC server | UnrealIRCd (labeled-response module) | CVE-2026-114713 | High (8.6) | 6.0.0 through 6.2.7 (and EOL 5.x) | 6.2.7.1 (commit 05b5f5fdc8bb / bundle-20261107) |
| C / VoIP telecom stack | SignalWire FreeSWITCH (mod_sofia) | CVE-2026-116779 (GHSA-mg63-h38w-8p9p) | Critical (9.8, exploited in the wild) | <= 1.11.2 | 1.11.3 (commit 7015f6a73ab3, or enable-chat=false) |
| Linux developer tools | Vim (socketserver and spellfile.c) | oss-security 2026/11/08/4, 2026/11/08/5 | Medium / Low | < 9.2.1308 (socketserver); < 9.2.1309 (.spl SN_SOFO) | 9.2.1308, 9.2.1309 |
Technical analysis
1. CVE-2026-123158 (*sshole): how musl crypt() and sshd salt borrowing turn * into a wildcard password
The *sshole vulnerability is the product of four separate design choices made between 1980 and 2022 across Unix /etc/shadow, musl libc, OpenSSH, and Alpine Linux:
- Unix
/etc/shadowconvention: Accounts that are intended for SSH-key authentication only (or system accounts that should never accept a password) store*in the second field of/etc/shadow. Because no valid password hash is a single character,strcmp(crypt(password, salt), "*")is supposed to always evaluate to false. In 2022 (alpine/aportscommitfbe926af, Alpine3.16), Alpine switched itsrootaccount and cloud-image key-only accounts (alpine, which has passwordlessdoas) from!to*so that non-PAMsshdwould permit SSH public-key logins. musl libccrypt()failure return (b3c4cc12and88bf5a8a, August 2012): Unlike POSIXcrypt()returningNULLon error,muslreturns the static string"*"whenevercrypt()fails so callers that passcrypt()directly tostrcmp()do not dereferenceNULL. Twenty days later,musladded__crypt_sha512and__crypt_sha256with a hard DoS cap rejecting any key longer than 256 bytes (if (strlen(key) > 256) return "*";).- OpenSSH timing-defense salt borrowing (
CVE-2016-6210): When PAM is disabled (UsePAM no, or whensshdis compiled without PAM as in Alpine’s defaultopenssh-serverpackage),sys_auth_passwd()inauth-passwd.ccallsxcrypt(password, salt). If the target account’spw_passwordin/etc/shadowdoes not start with$(for example, because it is"*"),xcrypt()callspick_salt()inopenbsd-compat/xcrypt.c, which scans/etc/shadowfor the first account on the machine that has a valid$5$(SHA-256) or$6$(SHA-512) password hash and borrows its salt. - The collision: When an attacker targets an account whose
/etc/shadowfield is*(such asalpine, a key-only deploy user, orrootwhenPermitRootLogin yesis set) and submits a password between257and1,024bytes (MAX_PASSWORD_LENinauth-passwd.c),xcrypt()passes the borrowed$6$...salt and the 257-byte password tomusl’scrypt().musl’s SHA-512 crypt hits the> 256byte limit, fails, and returns"*". Back insys_auth_passwd(),strcmp(encrypted_password, pw_password)compares"*"against"*", returns0, andsshdgrants the login.
As confirmed in StepSecurity’s lab reproduction and the original disclosure, a 257-byte password sent on the first password prompt of a connection is rejected, while sending any throwaway password on the first prompt followed by a 257-to-1,023-byte password on the second prompt in the same SSH session succeeds every time. Also, as verified on oss-security (2026/11/07/7), if every account in /etc/shadow is locked (*, !, !!, or !$y$... with no valid $-prefixed hash anywhere in the file), pick_salt() falls back to the static 2-character DES salt "xx" (whose crypt() implementation in musl does not enforce the 256-byte cap), so a host with zero active password hashes is not exploitable.
OpenSSH 10.6p2 (commit 4353fdc43ef646c43a8dda7025cc1a898caf1482) blocks the collision by requiring the stored password hash in /etc/shadow to be at least MIN_PASSWORD_HASH_LEN (4) bytes long before comparing it with encrypted_password:
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -67,6 +68,7 @@ extern login_cap_t *lc;
#define DAY (24L * 60 * 60) /* 1 day in seconds */
#define TWO_WEEKS (2L * 7 * DAY) /* 2 weeks in seconds */
+#define MIN_PASSWORD_HASH_LEN 4
#define MAX_PASSWORD_LEN 1024
@@ -221,7 +227,10 @@ sys_auth_passwd(struct ssh *ssh, const char *password)
/*
* Authentication is accepted if the encrypted passwords
* are identical.
*/
- return encrypted_password != NULL &&
+ ret = encrypted_password != NULL &&
+ strlen(pw_password) >= MIN_PASSWORD_HASH_LEN &&
strcmp(encrypted_password, pw_password) == 0;
+ freezero(pw_password, strlen(pw_password));
+ return ret;
}
2. CVE-2026-109518: APT HTTP redirect merge and retry hard-link overwrite (DSA-6607-1 / USN-8996-1)
Debian and Ubuntu package repositories often serve .deb archives over plain HTTP (or through local caching proxies) because apt verifies the SHA-256 and SHA-512 digests of every downloaded .deb against the PGP-signed InRelease manifest before handing the file to dpkg.
As shown in Debian Salsa commit 5af16a8ad0f155233dfb10b7c92ad1903112ef79 (reported by Max Justicz), HttpMethod::DealWithHeaders() in methods/http.cc opened Queue->DestFile with FileFd::WriteAny without FileFd::Exclusive (O_EXCL). When Acquire::Retries is non-zero (it defaults to 3 since apt 2.3.2), an attacker on the network path or controlling a mirror can:
- Redirect two different package downloads to the same URI so
aptmerges and hard-links the destination files. - Trigger a transient HTTP failure and
206 Partial Contentresume (Req.StartPos > 0) after the first package has already passed hash verification. - Because
Req.File.Open(Queue->DestFile, FileFd::WriteAny)wrote directly into the existing inode without unlinking it first, the resumed download overwrote the already-verified hard-linked file on disk with attacker-chosen.debcontents beforedpkginstalled it asroot.
Commit 5af16a8ad0f1 fixes methods/http.cc, methods/rred.cc, and methods/store.cc to open destination files with FileFd::Exclusive (which unlinks any existing link before creating a fresh inode) and, when resuming (Req.StartPos > 0), copies the partial prefix from a read-only descriptor into the new exclusive file and rewinds to 0 for full re-hashing:
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -1004,8 +1004,24 @@ BaseHttpMethod::DealWithHeadersResult HttpMethod::DealWithHeaders(FetchResult &R
auto ret = BaseHttpMethod::DealWithHeaders(Res, Req);
if (ret != BaseHttpMethod::FILE_IS_OPEN)
return ret;
- if (Req.File.Open(Queue->DestFile, FileFd::WriteAny) == false)
+
+ // If we are resuming, we first need to rescue the data we already have
+ FileFd partial;
+ if (Req.StartPos > 0 && FileExists(Queue->DestFile))
+ {
+ if (not partial.Open(Queue->DestFile, FileFd::ReadOnly))
+ return ERROR_NOT_FROM_SERVER;
+ }
+ // Open the file exclusively to avoid injection attacks by links
+ if (Req.File.Open(Queue->DestFile, FileFd::WriteAny | FileFd::Exclusive) == false)
return ERROR_NOT_FROM_SERVER;
+ if (partial.IsOpen())
+ {
+ // The exclusive open unlinked the old file; copy its content
+ // into the new one and rewind for hashing.
+ if (not CopyFile(partial, Req.File) || not partial.Close() || not Req.File.Seek(0))
+ return ERROR_NOT_FROM_SERVER;
+ }
3. CVE-2026-107891 (musl regcomp), zlib 1.4 (CVE-2026-85091), gdbserver (CVE-2026-121997), and UnrealIRCd 6.2.7.1 (CVE-2026-114713)
musl libcregcomp()integer overflows (CVE-2026-107891, commit7813e9119eb5): Insrc/regex/regcomp.c,tre_copy_ast()andtre_expand_ast()accumulated ASTposition,num_tags, andnum_transitionscounters in signed 32-bitintvariables and usedxmalloc(sizeof(...) * count)without overflow checks. Expressions such as(((a{255}){255}){255}){255}or((a|b*){255,}){255,}overflowedposornum_transitionspastINT_MAXbefore allocation failed, causing undersized heap allocations and out-of-bounds writes. Commit7813e9119eb5addscheck_add(unsigned a, unsigned b)(a + b > INT_MAX) and replaces rawxmallocmultiplications withxcalloc.zlib 1.4(CVE-2026-85091/TOB-ZLIB-003andTHM-ZLIB-001): Released on 4-5 November 2026,zlib 1.4fixes a buffer overflow when callinggzwrite()on a non-blocking file descriptor (CVE-2026-85091), an 8 MB out-of-bounds heap write past the caller’s 32 KB buffer ininflateGetDictionary()when a stream supplies an invalid zlib header window size followed byinflateReset()orinflateSync()(THM-ZLIB-001), a 1-byte window allocation overrun ininflateSync()(TOB-ZLIB-004), and a pending-buffer write overflow on repeateddeflatePrime()calls (TOB-ZLIB-013).- GNU
gdbandgdbserver(CVE-2026-121994to121997,CVE-2026-123151): Ingdbserver, theQTDPsrctracepoint source packet handler trusted the packet’s declared length when callinghex2bin(), overflowing a heap buffer for unauthenticated remote code execution (CVE-2026-121997, CVSS 8.1 High), while the agent-expression parser leaked uninitialized heap pointers suitable for defeating ASLR (CVE-2026-121996, CVSS 8.2 High). On the client side,fetch_register_using_pdecoded register replies from a remote stub into analloca()stack buffer without bounding writes by the register width (CVE-2026-121994, CVSS 8.8 High). - UnrealIRCd
6.2.7.1IRCv3labelnewline injection (CVE-2026-114713, commit05b5f5fdc8bb): When a client negotiates the IRCv3labeled-responsecapability and sends a command prefixed with@label=<value>,labeled_response_mtag_is_ok()insrc/modules/labeled-response.cchecked onlyBadPtr(value)andstrlen(value) <= 64after IRCv3 tag unescaping (\n->0x0A,\r->0x0D,\s->0x20). When the local server forwarded or echoed thatlabeltag across a server-to-server link without re-escaping, an embedded\r\nterminated the current server-to-server line and injected an arbitrary command (KILL,GLINE,SVS2MODE) executed by the receiving server with full peer-server authority:--- a/src/modules/labeled-response.c +++ b/src/modules/labeled-response.c @@ -361,6 +361,9 @@ int labeled_response_mtag_is_ok(Client *client, const char *name, const char *va if (BadPtr(value)) return 0; + if (strpbrk(value, " ;\\\r\n")) + return 0; + if (IsServer(client)) return 1; - SignalWire FreeSWITCH
1.11.3SIPMESSAGEapichat protocol RCE (CVE-2026-116779/GHSA-mg63-h38w-8p9p, CVSS 9.8 Critical, exploited in the wild, commit7015f6a73ab3): Insrc/mod/endpoints/mod_sofia/sofia_presence.c,sofia_presence_handle_sip_i_message()split theTouser of an inbound SIPMESSAGEon+and treated the prefix before+as a chat protocol selector. Addressing a SIPMESSAGEtosip:api+system%20<cmd>@targetselected the internalapichat interface (switch_api_execute()), executing FreeSWITCH API and OS commands under the daemon’s privileges (and without credentials when the stockdefaultdirectory user remained enabled). Commit7015f6a73ab3gates theapichat protocol behind a new per-profileenable-chat-api-protoflag (PFLAG_ENABLE_CHAT_API_PROTO, off by default) and answers403 Forbidden. - Vim
< 9.2.1308socketserver ownership bypass and< 9.2.1309.splheap overflow (oss-security 2026/11/08/4and08/5): When compiled with thesocketserverclientserver backend,socketserver_get_path()calledvim_mkdir(buf, 0700)on/tmp/vim-<uid>and reused an existing directory iferrno == EEXISTwithout verifying its owner or mode, allowing a local user who pre-created/tmp/vim-<uid>to hijack the victim’s server socket and evaluate Vim expressions. Patch9.2.1309also fixes a type confusion inspellfile.cwhere a crafted.splspell file containing twoSN_SOFOsections causedfree_sal_items()to treat an array of 256int *pointers insl_salassalitem_Tstructs.
IOCs
For CVE-2026-123158 (*sshole) and CVE-2026-109518 (apt), detection relies on host authentication logs and package-cache filesystem telemetry:
CVE-2026-123158(*sshole) auth-log indicator: A sequence ofFailed password for <user>followed immediately within the same SSH connection byAccepted password for <user>where<user>has*in field 2 of/etc/shadow(such asrootoralpine).CVE-2026-109518(apt) cache indicator: Unexpected hard links (stat -c '%h' > 1) or post-verification modification timestamps inside/var/cache/apt/archives/and/var/cache/apt/archives/partial/.CVE-2026-114713(UnrealIRCd) network indicator: Client messages carrying IRCv3@label=tags containing escaped\r,\n,\s,\:, or\\sequences (^label=(?![^\r\n;\x20]*\z)).
Detection and remediation
1. Audit and patch Alpine / musl hosts and containers for CVE-2026-123158 (*sshole)
Do not rely on sshd -V to check whether an Alpine host is patched: Alpine backported the fix into 10.3_p1-r2 (and corresponding branch revisions), which still prints OpenSSH_10.3p1 in its banner. Query apk directly and inspect /etc/shadow and auth logs:
# 1. Check the installed openssh-server APK revision on Alpine (3.24 requires >= 10.3_p1-r2)
apk info -v openssh-server openssh-server-pam 2>/dev/null
# 2. Check whether every exposure condition holds on a musl host:
# - at least one '*' account in /etc/shadow AND at least one '$5$' or '$6$' hash
awk -F: '$2 == "*" { print "star_account:", $1 } $2 ~ /^\$[56]\$/ { print "salt_donor:", $1 }' /etc/shadow
sshd -T 2>/dev/null | grep -E '^(passwordauthentication|usepam|permitrootlogin)\b'
# 3. Hunt auth logs for a failed password followed by Accepted password on a '*' account
rg -n '(Failed|Accepted) password for ' /var/log/messages /var/log/auth.log 2>/dev/null
To remediate immediately, upgrade openssh and restart the running sshd daemon (upgrading the package on disk does not replace the listening sshd process):
apk update && apk upgrade openssh
rc-service sshd restart 2>/dev/null || kill -HUP $(cat /run/sshd.pid)
If you cannot upgrade immediately, disable password authentication (echo "PasswordAuthentication no" > /etc/ssh/sshd_config.d/00-no-passwords.conf && rc-service sshd restart) or switch to openssh-server-pam with UsePAM yes. If your auth logs show an Accepted password event for any account whose /etc/shadow field is *, treat the host or container as compromised, rebuild it from a clean image, and rotate all credentials accessible from that environment.
2. Safely upgrade apt on Debian, Ubuntu, CI runners, and Docker images (CVE-2026-109518)
Because the currently installed apt binary is what downloads the patched apt package, pass -o Acquire::Retries=0 on the command line (or write Acquire::Retries "0"; to /etc/apt/apt.conf.d/99-no-retries) before running the upgrade:
# Check installed apt version and current retry configuration
apt list --installed '?source-package(^apt$)'
apt-config dump | grep -i 'Acquire::Retries'
# Upgrade apt with retries disabled so the upgrade itself cannot be hijacked
sudo apt-get update
sudo apt-get install -y -o Acquire::Retries=0 --only-upgrade apt
In Dockerfiles and CI workflows (ubuntu-latest or self-hosted Debian/Ubuntu runners), rebuild base images with docker build --pull --no-cache and verify that apt is at least 2.6.2 (Debian 12), 3.0.4 (Debian 13), 2.4.15ubuntu0.1 (Ubuntu 22.04), or 2.8.4ubuntu0.1 (Ubuntu 24.04), and that musl is >= 1.2.7 and zlib is >= 1.4. For UnrealIRCd 6.0.0 through 6.2.7, run ./unrealircd hot-patch bundle-20261107 or upgrade to 6.2.7.1.
Timeline
- 2026-04-23: Szabolcs Nagy commits
7813e9119eb5fe681b6750b8a033a0490bca0941tomusl libcfixing theregcomp()integer overflows (CVE-2026-107891). - 2026-11-04: Debian (
DSA-6607-1,DLA-4880-1) and Canonical (USN-8996-1) release patchedaptpackages forCVE-2026-109518(commit5af16a8ad0f155233dfb10b7c92ad1903112ef79). Mark Adler tagszlib 1.4, and UnrealIRCd commits05b5f5fdc8bbb726298f38c22e262e3c833d4986. - 2026-11-05 (
03:01 CST/09:01 UTC): Damien Miller releases Portable OpenSSH10.6p2(commit4353fdc43ef646c43a8dda7025cc1a898caf1482), and Özgün Kültekin publishes the*sshole(CVE-2026-123158) analysis. Alpine Linux ships patchedopensshpackages across all branches (3.16through3.24andedge). - 2026-11-05 (
16:17to17:18 UTC): NVD publishesCVE-2026-123158,CVE-2026-107891, and the five GNUgdb/gdbserveradvisories (CVE-2026-121994to121997,CVE-2026-123151);oss-securityannounceszlib 1.4(2026/11/05/10). - 2026-11-06: StepSecurity publishes lab reproductions and CI/CD remediation guidance for
CVE-2026-123158andCVE-2026-109518. - 2026-11-07 to 2026-11-08 (
03:16 UTC): UnrealIRCd releases6.2.7.1andbundle-20261107, and NVD andoss-security(2026/11/08/1) publishCVE-2026-114713. - 2026-11-09: CISA adds OpenSSH
CVE-2026-123158(*sshole) and SignalWire FreeSWITCHCVE-2026-116779to the Known Exploited Vulnerabilities (KEV) catalog under BOD 26-04 with a 3-day remediation deadline of 12 November 2026 (forensicTriage: Yes).
From research to remediation
Check whether this pattern exists in your codebase
Turn this research into a remediation workflow. Scan dependencies and package manifests for similar supply-chain risk, then prioritize fixes with reachability context.
References
- OpenSSH 10.6p2 release notes and commit 4353fdc43ef6 (5 November 2026)
- Özgün Kültekin (Wakefield): *sshole disclosure (CVE-2026-123158)
- StepSecurity (6 November 2026): CVE-2026-123158 (*sshole) OpenSSH Password Authentication Bypass on Alpine Linux
- Debian Security Advisory DSA-6607-1 and Salsa commit 5af16a8ad0f1 (CVE-2026-109518 in apt)
- StepSecurity (5 November 2026): CVE-2026-109518 apt Flaw Lets Attackers Swap Packages After Verification and Run Code as Root
- musl libc commit 7813e9119eb5fe681b6750b8a033a0490bca0941 (CVE-2026-107891: regex: avoid int overflow in regcomp)
- zlib 1.4 release notes and oss-security announcement (2026/11/05/10)
- Red Hat Security Advisories for GNU GDB and gdbserver (CVE-2026-121994 through CVE-2026-121997, CVE-2026-123151)
- UnrealIRCd 6.2.7.1 advisory (oss-security 2026/11/08/1) and commit 05b5f5fdc8bb (CVE-2026-114713)
- SignalWire FreeSWITCH 1.11.3 commit 7015f6a73ab3 and GHSA-mg63-h38w-8p9p (CVE-2026-116779: SIP MESSAGE api chat proto RCE)
- CISA Known Exploited Vulnerabilities Catalog (9 November 2026): CVE-2026-123158 (OpenSSH) and CVE-2026-116779 (SignalWire FreeSWITCH)
- oss-security (8 November 2026): Vim < 9.2.1308 socketserver directory ownership bypass and < 9.2.1309 spell-file heap overflow