Drop the ipv6 virtual category for s* category as it is not relevant anymoreef71a0d8c9
OpenSSH -- Multiple vulnerabilitiesentered 2026-10-08
no CVE referenced
The portable version of OpenBSD's OpenSSH
# pkg install openssh-portable# pkg install openssh-portable-gssapi# pkg install openssh-portable-hpninstalls openssh-portable 10.6.p1,1, openssh-portable-gssapi 10.6.p1,1, openssh-portable-hpn 10.6.p1,1 from latest; from quarterly (2026Q4) openssh-portable 10.6.p1,1, openssh-portable-hpn 10.6.p1,1# cd /usr/ports/security/openssh-portable && make install clean# make -C /usr/ports/security/openssh-portable config # change options first
To enable this port, add openssh_enable="YES" in your rc.conf. To prevent conflict with openssh in the base system add sshd_enable="NO" in your rc.conf. Also you can configure openssh at another TCP port (via sshd_config 'Port' and 'Listen' options or via 'openssh_flags' variable in rc.conf) and run it in same time with base sshd. 'PermitRootLogin no' is the default for the OpenSSH port. This now matches the PermitRootLogin configuration of OpenSSH in the base system. Please be aware of this when upgrading your OpenSSH port, and if truly necessary, re-enable remote root login by readjusting this option in your sshd_config. Users are encouraged to create single-purpose users with ssh keys, disable Password authentication by setting 'PasswordAuthentication no' and 'ChallengeResponseAuthentication no', and to define very narrow sudo privileges instead of using root for automated tasks.
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 10.6.p1,1 | 10.6.p1,1 | – |
| FreeBSD 15 | 10.6.p1,1 | 10.6.p1,1 | – |
| FreeBSD 14 | 10.6.p1,1 | 10.6.p1,1 | 10.6.p1,1 |
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 10.6.p1,1 | 10.6.p1,1 | – |
| FreeBSD 14 | 10.6.p1,1 | 10.6.p1,1 | 10.6.p1,1 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
pkg audit for the packaged version 10.6.p1,1.| CVE | CVSS | Published | Description |
|---|---|---|---|
| CVE-2026-106585 | 6.5 | 2026-10-06 | In sshd and ssh in OpenSSH before 10.6, there is no check for whether the maximum packet length is exceeded during decompression of highly compressed data. |
| CVE-2026-106552 | 4.2 | 2026-10-06 | In sftp in OpenSSH before 10.6, a server can trigger directory traversal (causing files to be written to unintended locations) during a recursive copy operation. |
| CVE-2026-106582 | 3.7 | 2026-10-06 | In sshd and ssh in OpenSSH before 10.6, an LZ77 dictionary coder can be used even though this is contraindicated by the arXiv 2609.07709 "Crossing the Streams" findings. |
| CVE-2026-106587 | 3.6 | 2026-10-06 | In sshd in OpenSSH before 10.6, the value "none" for a configuration option is sometimes interpreted as a filename but was intended to mean that a feature is disabled. |
| CVE-2026-106588 | 3.1 | 2026-10-06 | In sshd in OpenSSH through 10.6, use of the macOS 27 (or later) SDK has the side effect of loss of sandboxing, which is potentially unexpected. |
| CVE-2026-106589 | 2.9 | 2026-10-06 | In sshd in OpenSSH through 10.6, in certain environments such as QNX 6 and SCO OpenServer 5, sshd-session can unexpectedly have root privileges. This is related to the G… |
| CVE-2026-106583 | 2.5 | 2026-10-07 | In ssh in OpenSSH before 10.6, a $ or \ character can occur in a command-line username, leading to injection. |
| CVE-2026-106584 | 2.5 | 2026-10-06 | In ssh-keygen in OpenSSH before 10.6, certificates could have incorrect expiration times because of Daylight Saving mishandling. There can be a slightly more severe effe… |
| CVE-2026-106586 | 2.5 | 2026-10-06 | In sshd in OpenSSH before 10.6, the restrict keyword (in authorized_keys) was supposed to be applicable to tunnel forwarding but was not, a different vulnerability than … |
| CVE-2026-106553 | 2.2 | 2026-10-06 | In sshd in OpenSSH before 10.6, credentials can incorrectly persist after failure of a GSSAPIAuthentication authentication attempt. |
| CVE-2026-106555 | 2.2 | 2026-10-06 | In sshd in OpenSSH before 10.6, GSSAPIAuthentication authentication state can incorrectly be persisted across authentication attempts. |
no CVE referenced
no CVE referenced
no CVE referenced
no CVE referenced
| PR | Summary | Status | Changed |
|---|---|---|---|
| 298530 | maintainer-feedback? security/openssh-portable: new GSSAPIKeyExchange patch | New | 2026-10-22 |
| 297915 | maintainer-feedback? security/openssh-portable: Catch up with base patches | New | 2026-08-25 |
| 282222 | maintainer-feedback? security/openssh-portable: Add option to build without OpenSSL | New | 2026-08-11 |
| 297078 | maintainer-feedback? security/openssh-portable: pre-key-exchange crash | New | 2026-07-30 |
| 289965 | maintainer-feedback? security/openssh-portable: doesn't appear to depend on ports openssl | New | 2026-04-26 |
| PR | Summary | Status | Changed |
|---|---|---|---|
| 292248 | maintainer-feedback? security/openssh-portable: sshd-session crash on FreeBSD 15.0-RELEASE on arm64 | New | 2026-01-14 |
| 276410 | maintainer-feedback? security/openssh-portable: SSHFP/known_hosts issues when HPN is enabled (9.9.p1_1,1) | New | 2025-01-15 |
| 282966 | maintainer-feedback? security/openssh-portable: Tiny error in sshd_config(5) | New | 2024-11-25 |
| 272065 | maintainer-feedback? security/openssh-portable: Add patch for different interpretation of BADUSER | New | 2023-11-28 |
Drop the ipv6 virtual category for s* category as it is not relevant anymoreef71a0d8c9
Bump PORTREVISION on ldns consumers Shared lib version changed in update Reported by: sunpoeta432d98d9d
Convert to UCL & cleanup pkg-message (categories s)bc89cd3d2c
- Update gssapi patch for 8.0 - Rework how the gssapi patch is fetched/mirrored so we can fetch directly from debian. PR: 239290 Submitted by: david@dcrosstech.com (based on) Tested by: vrwmiller@gmail.com13d97b9d3d
Fix BROKEN handling for x509/gssapi FLAVORS468d86b219
Update to 8.0p1 Changes: https://www.openssh.com/txt/release-8.0 With help from: Lee Prokowich Sponsored by: DellEMC97bcfd953b
- Fix X509 build after r484765 openssl fix - Fix patch URL for KERB_GSSAPI - Add FLAVORs for x509 and gssapi since they are distinct types of OpenSSH rather than feature flags. Approved by: portmgr (implicit)598f3655f1
- Update KERB_GSSAPI for 7.9p19be669e178
- Fix HPN for 7.9p1 - DOCS is required for HPN but it's not exclusively a flavor so needs to be in the default list. - Fix a build-time OpenSSL version comparison [1] PR: 233157 [1] Reported by: Robert Schulze <rs@bytecamp.net> [1] Obtained from: upstream c0a35265907533be10ca151ac797f34ae0d68969 [1]e9f6e1dc00
Update to 7.9p1. - Fixes build on 12, head, and openssl-devel. - GSSAPI and HPN are currently marked BROKEN as I don't want to block the main update for anyone. http://www.openssh.com/txt/release-7.8 http://www.openssh.com/txt/release-7.9 MFH: 2018Q4 (due to being broken on 12+head)eb41a0f601
security/openssl-devel was removed, but there is a security/openssl111 now.35326f1a97
Add DOCS options to ports that should have one. Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoinee1bfdfbe56
Simplify CONFLICTS_INSTALL. Reported by: matc8ac0e6acd
- Fix and update HPN patch to latest from upstream but leave it off by default. - Add an 'hpn' FLAVOR to produce a package for users with HPN and NONECIPHER enabled. Approved by: portmgr (implicit)877e47208a
Update x509 patch to 11.3.2ad7e8762a9
Forgot PORTREVISION bump for r472797. PR: 22914740fc1f9225
Fix nologin check when PAM option is disabled in the port. PR: 229147 Submitted by: Robert Schulze <rs@bytecamp.net>dcc4de176b
Add lost metadata on why this patch existsfceb6f0897
- Add XMSS option to enable experimental key support added in 7.7 [1] - Bring in upstream patches post 7.7 to fix various issues [2]: b81b2d120e9c8a83489e241620843687758925ad - Fix tunnel forwarding broken in 7.7p1 341727df910e12e26ef161508ed76d91c40a61eb - don't kill ssh-agent's listening socket entriely if we fail to accept a connection 85fe48fd49f2e81fa30902841b362cfbb7f1933b - don't free PR: 227758 [1] Submitted by: IWAMOTO Kouichi <sue@iwmt.org> [1] PR: 227551 [2] Reported by: rozhuk.im@gmail.com [2] Obtained from: upstream mirror https://github.com/openssh/openssh-portable [2]a68f18cd9b
Update the KERB_GSSAPI patch from debian. https://sources.debian.org/data/main/o/openssh/1:7.7p1-2/debian/patches/gssapi.patch is mirrored due to not being filename-unique and not gzipped. PR: 226789 Submitted by: Rick Miller <vmiller@verisign.com> (based on) Tested by: Rick Miller <vmiller@verisign.com> Reported by: david@dcrosstech.com28657bf502
The block of code that canonicallizes the hostname supplied on the command line added by patch-ssh.c misapplies to 7.7p1 and moves from main() to to ssh_session2(). This breaks ssh SSHFP support for non-canonical hostnames. For example, "ssh zinc" correctly discovers the FQDN (zinc.ee.lbl.gov) and uses it to look up A and AAAA records but the non-canonical version (zinc) is used in the SSHFP recor Regenerate the patch. Reviewed by: bdrewery, ler (mentor) Approved by: bdrewery, ler (mentor) Differential Revision: https://reviews.freebsd.org/D1505314c5a8610a
Make BROKEN lines more clearfe0ff6cbfc
Update to 7.7p1 - Update x509 patch to 11.3 - Remove SCTP option as it has not had a patch available since 7.2. Changes: https://www.openssh.com/txt/release-7.7 Notable changes: * ssh(1)/sshd(8): Drop compatibility support for some very old SSH implementations, including ssh.com <=2.* and OpenSSH <= 3.*. These versions were all released in or before 2001 and predate the final SSH RFCs. The support in question isn't necessary for RFC-compliant SSH implementations.804e4b49f3
libressl support was fixed in r452358fd31417b15
Mark some ports broken with openssl-devel. Sponsored by: Absolight9215977220
Remove OVERWRITE_BASE compat - it was marked IGNORE in 2015b514cd6ba2
LibreSSL + LDNS: Fix random crashes. This happens due to ldns-config --libs adding in too many libraries (overlinking), and -lcrypto again, which causes some strange conflict/corruption. By specifying the path to --with-ldns, configure only adds in -ldns rather than every library ldns itself needs. PR: 223000 Reported by: many26b8dc385b
security/openssh-portable: Remove groff dependency An unconditional dependency on groff was added in ports r441907 [1] as part of bug 213725 (groff removal from base). OpenSSH release-5.7 notes the following: * Use mandoc as preferred manpage formatter if it is present, followed by nroff and groff respectively. This change removes groff as an unconditional dependency allowing mandoc to be used, and reduces many subsequence dependencies accordingly. It additionally explicitly sets 'mantype', which ensures that man pages are installed in the same location (LOCALBASE/man) independently from the generator used. Without this, a packaging (pkg-plist) error is observed (installing man pages into LOCALBASE/doc not LOCALBASE/man), which was presumably the genesis of the groff dependency addition in the first place. [1] http://svnweb.freebsd.org/changeset/ports/441907 Reviewed by: bdrewery (maintainer), allanjude Approved by: bdrewery (maintainer) Differential Revision: D117932ebeef14f6
Mark broken with libressl as it has several random crashses. PR: 2230004abdc2f45c
Bring in upstream fix for PermitOpen from commit 7c9613fac337e674a19ab4
Update to 7.6p1 - Update x509 patch to 11.0 - HPN/NONECIPHER do not apply currently and are disabled by default, same as the base sshd. A compatibility patch is applied if these options are disabled to prevent startup failures; the options are kept as deprecated. - SCTP patch does not apply. Changes: https://www.openssh.com/txt/release-7.6 Notable changes: - SSH version 1 support dropped. - Dropped support for hmac-ripemd160 MAC. - Dropped support for the ciphers arcfour, blowfish and CAST. - RSA keys less than 1024 bits are refused.9779576b57
Fix LDNS detection. This is the same fix made upstream as well. PR: 218472 Submitted by: leres@ee.lbl.gov MFH: 2017Q2995a1faef3
Register dependency on groff PR: 21372569771bc284
Mark those as not building with openssl-devel. Sponsored by: Absolight9d86e32f2d
- Update to 7.5p1. - Update X509 to 10.1. - Disable KERB_GSSAPI for now as it does not build. Changes: https://www.openssh.com/txt/release-7.59051821be1
- Change USE_AUTOTOOLS to USES= autoreconf - Change @exec to @postexec in pkg-plist Submitted by: brnrd PR: 217962c59be11b14
Remove all USE_OPENSSL occurrences. Sponsored by: Absolighta28f0f7f7f
- Chase ldns shlip bump PR: 2174956d14406a13
Fix build with NONE_CIPHER.d5324e3511
Update to 7.4p1. - Update X509 patch to 9.3 - SCTP patch from soralx@cydem.org Changes: https://www.openssh.com/txt/release-7.48da82fad61
Fix to only enable SCTP patch with option from r431441b75ee34145
Add forgotten patch in r431438 for CVE-2016-10009 and CVE-2016-10010. Security: 2c948527-d823-11e6-9171-14dae9d210b8 Submitted by: Tim Zingelman <zingelman@gmail.com> MFH: 2017Q1dbbe36d335
Add working SCTP patch. This has 2 minor changes from the upstream bug 1604 PR: 215632 Submitted by: soralx@cydem.org0e17ced755
Add patches to cover security issues CVE-2016-10009 and CVE-2016-10010. Security: 2c948527-d823-11e6-9171-14dae9d210b8 Submitted by: Tim Zingelman <zingelman@gmail.com> MFH: 2017Q14e5701f44f
Bring in upstream commit ec165c392ca54317dbe3064a8c200de6531e89ad: Unregister the KEXINIT handler after message has been received. Otherwise an unauthenticated peer can repeat the KEXINIT and cause allocation of up to 128MB -- until the connection is closed. Reported by shilei-c at 360.cn Security: CVE-2016-8858f696ba7f44
- Update to 7.3p1 - X509: Unbreak and update to 9.0 - SCTP: Mark BROKEN - KERB_GSSAPI: Unbreak and update from Debian's patch Release notes: http://www.openssh.com/txt/release-7.34e90011c99
- Fix trailing whitespace in pkg-messages Approved by: portmgr blankete87a8bd319
- Fix trailing whitespace in pkg-descrs, categories [p-x]* Approved by: portmgr blanket1f8b48b772
Bring in updated SCTP patch from gentoo. Submitted by: Eduardo Morras <emorrasg@yahoo.es>bd72790e03
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight597afc47ba