- Update mirror site for HPN patch Feature safe: yescf84cfcb04
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 |
- Update mirror site for HPN patch Feature safe: yescf84cfcb04
- Take maintainership Feature safe: yes9c27afcde5
Convert to OptionsNG Trim Headers PR: ports/172429 Submitted by: Michael Gmelin <freebsd@grem.de> Feature safe: yesb66d828585
When installing in the base, USE_RCORDER does the right thing without all the gymnastics47b836bfe5
Add KEYWORD: shutdown Simplify some code Fix an error message399881097f
- Fix ECDSA key generation in openssh rc.d script - Bump PORTREVISION for package change Submitted by: J. Hellenthal <jhellenthal@dataix.net>2de4b06af2
Change HPN patch mirror location to one that works PR: ports/168306 Submitted by: "Bryan Drewery" <bryan@shatow.net>f10427bf15
- Reset maintainership PR: ports/167423 Submitted by: Grzegorz Blach <magik@roorback.net> (maintainer)36cd8ba256
- Perl only needed to build, not needed to run. remove PERL5_RUN from Makefile - Bump PORTREVISION PR: ports/166413 Submitted by: Gleb Smirnoff <glebius@cell.glebius.int.ru> Approved by: Grzegorz Blach <magik@roorback.net> (maintainer) Feature safe: yes30d069e579
In the rc.d scripts, change assignments to rcvar to use the literal name_enable wherever possible, and ${name}_enable when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.83eb2c3700- Add USE_PERL5_BUILD PR: ports/163414 Submitted by: portmgr (pav) Approved by: gabor (mentor)ffb8909855
- openssh-portable needs perl to build (reported by Gleb Smirnoff via mail) - add ssh_engine.5 man page when openssh-portable WITH_X509 is turned on (reported by John Hein via mail) PR: ports/163414 Submitted by: Grzegorz Blach <magik@roorback.net> Approved by: gabor (mentor)746a25f1ed
- update to 5.8p2 [1] - fix Kerberos knob [2] - fix build on 9.0 [3] - fix deinstall with various knobs [4] - fix LPK knob [5] PR: ports/161818 [1], ports/144597 [2], ports/160389 [3] ports/150493, ports/156926 [4], ports/155456 [5] Submitted by: "Grzegorz Blach" <magik@roorback.net> [1], [2], [4], [5] pluknet [3] Reported by: Jonathan <lordsith49@hotmail.com> [2] Kevin Thompson <antiduh@csh.rit.edu> [4] Alexey Remizov <alexey@remizov.org> [5]9b3fe7c2f4
- Maintainer to magik@roorback.net Approved by: maho (mentor) and magik@roorback.netd411c5c227
- Add VersionAddendum support. - Bump portrevision. PR: ports/142824 Submitted by: Scot Hetzel <swhetzel@gmail.com> Approved by: gabor (mentor)0c145731fc
-remove MD587931c6875
Unbreak build with LPK option (broken after commit 1.674 in bsd.port.mk).5c96a91930
Remove OpenSC support. This port should be updated to support PKCS#11.2c07ef369c
- Fix optional dependency on security/heimdal - Bump PORTREVISION PR: ports/152029 Submitted by: Joerg Pulz [Joerg.Pulz frm2.tum.de] Approved by: Ryan Steinmetz <rpsfa@rit.edu> (maintainer of net/freeradius*) girgen (maintainer of databases/postgresql*-server, 14 day timeout)2e5b524b0c
Add the sftpfilecontrol patch as an OPTION (WITH_FILECONTROL) See http://sftpfilecontrol.sourceforge.net/ for details. PR: ports/146338 Submitted by: Steve Wills <steve@mouf.net>4e2a10c5ee
Reset dindin@dindin.ru due to maintainer-timeout and no response to email. Hat: portmgrdf9e790904
- Annotate the combination of X509 and KERB_GSSAPI patches as broken PR: ports/142819 Submitted by: Scot Hetzel <swhetzel@gmail.com> Approved by: maintainer timeout (1 month)831c9f1680
Mark BROKEN on 9.x: does not build7b64080d4c
RC_SUBR_SUFFIX has not been needed for a long time now, all supported versions of FreeBSD now use /etc/rc.subr and rc.d scripts without .sh appended to the script name.86922094aa
Begin the process of deprecating sysutils/rc_subr by s#. %%RC_SUBR%%#. /etc/rc.subr#1d6b4b3f91
- Remove BROKEN on 8.x WITH_KERBEROS case. Builds fine on 8.0 and 9.0, i386 and amd64 - While here, fix minor plist issue for WITH_X509 case PR: 141679 Submitted by: Denis Barov <dindin@dindin.ru> (maintainer)5fc3786e03
- Under OSVERSION >= 800000, only mark BROKEN if WITH_KERBEROS. - The port links fine otherwise.5eab958e66
- Mark BROKEN on 8.X with Kerberos - does not link Reported by: pointyhat0c0f9abca5
- Revert USE_RC_SUBR change from last commit, it breaks OVERWRITE_BASE - Add a hint to pkg-message about running this together with base sshd PR: ports/138943 Submitted by: Denis Barov <dindin@yandex-team.ru> (maintainer) Feature safe: yes980f7d51da
- Unbreak KERBEROS option - Add option for OpenBSD support - Fix crash in sftp listing PR: ports/138409 (cumulative patch) Submitted by: Denis Barov <dindin@dindin.ru> (maintainer) Feature safe: yesadcf823bcf
- Mark BROKEN on 8.X: does not link Reported by: pointyhat97ab5b2d30
Fix build error WITH_HPN. PR: ports/135407 Submitted by: maintainer implicit (already submitted) Pointy hat to: pgollucci9a85a84dd2
- Fix the previous commit The patch file names for LPK were not updated completely in the Makefile PR: ports/135968 Submitted by: Konstantin Kukushkin <dark@rambler-co.ru> Approved by: maintainer (implicit, shouyld have been in previous patch)c8f0f76d7d
- security/openssh-portable: update HPN and LPK patches to newer versions - still broken on -CURRENT PR: ports/135407 Submitted by: Denis Barov <dindin@dindin.ru> (maintainer)cb484f5f5e
Fix build with WITH_LPK support for amd64 by change extra patches order. Do not bump PORTREVISION. Submitted by: Fedor Dikarev aka fe at rambler dash co dot ru Spotted by: maxim Approved by: maintainer unavailable, i.e. $ whois dindin.ru | grep ^state state: REGISTERED, NOT DELEGATED PR: amd64/1347062a56663170
Fix HPN crash issue by using aes128-ctr, aes192-ctr and aes256-ctr. Approved by: pav4de2c64b49
- Update to 5.2p1 - Assign maintainership to the submitter PR: ports/134160 Submitted by: Denis Barov <dindin@dindin.ru>73a15551c8
Fix several problems with OPENSSH_OVERWRITE_BASE=1. - Empty dir handling - rc.d installation - prefix modification in manuals From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> PR: ports/133412ecec028843
- Reset long-term inactive maintainer82e35ad7ad
- Integrate x509 certificate patch (optional, default off) from http://www.roumenpetrov.info/openssh/ PR: ports/121438 Submitted by: Dirk-Willem van Gulik <dirkx@webweaving.org> Approved by: maintainer timeout (mnag; 1 year)8d8b5e57c5
- Add vendor patch for lpk patch that fixes runtime on amd64 PR: ports/129092 Submitted by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw> Approved by: maintainer timeout (mnag; 4 months)47c045b38c
- Update to 5.1p1 PR: ports/128679 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> Approved by: maintainer timeout (mnag; 4 months)159053be31
Fix rootless build. PR: ports/126164 Submitted by: skv Approved by: maintainer timeout (> 3 months)98f2d70fc3
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script. Specifically, newer autoconf (> 2.13) has different semantic of the configure target. In short, one should use --build=CONFIGURE_TARGET instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
- Remove CONFIGURE_TARGET hack in various bsd.*.mk
- USE_GNOME=gnometarget is now an no-op
Changes to individual ports, other than removing the CONFIGURE_TARGET hack:
= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
- comms/gnuradio
- science/abinit
- science/elmer-fem
- science/elmer-matc
- science/elmer-meshgen2d
- science/elmerfront
- science/elmerpost
= use x86_64 as ARCH
- devel/g-wrap
= other changes
- print/magicfilter
GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf
Total # of ports modified: 1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)
PR: 126524 (obsoletes 52917)
Submitted by: rafan
Tested on: two pointyhat 7-amd64 exp runs (by pav)
Approved by: portmgr (pav)741aa71483- Mark BROKEN after recent kerberos updateca549fb6a4
- Update to 5.0p1 - Port LPK patch to 5.0p1 and add to files dir - Remove USE_PERL_BUILD since doesn't need [1] - Update KERB_GSSAPI to 5.0p1 - Update HPN patch to 5.0p1 13v3 - Respect LOCALBASE on configure_args of LPK [2] - Change MASTER_SITE of snapshot - portlint(1) PR: 121826 [2] Submitted by: Andrew Kolchoogin <andrew___rinet.ru> [2] Reported by: Björn König <bkoenig___alpha-tierchen.d [1]061f2c543f
- Update HPN patch to hpn12v20 - Bump PORTREVISION Submitted by: Ollivier Robert <roberto__keltia.freenix.fr>ab17d06e1f
- Update gsskex patch to 20070927 - Update HPN patch to hpn12v19 [1] Notified by: ale [1]6263358d77
Remove always-false/true conditions based on OSVERSION 50000013441eac4b
- Update MD5/SHA256 of openssh hpn patch. This patch are rerolled to update version: --- openssh-4.7p1-hpn12v18.diff 2007-09-13 17:11:05.000000000 -0300 +++ /usr/ports/distfiles/openssh-4.7p1-hpn12v18.diff 2007-09-05 18:13:03.000000000 -0300 @@ -1580,5 +1580,5 @@ #define SSH_PORTABLE "p1" -#define SSH_RELEASE SSH_VERSION SSH_PORTABLE -+#define SSH_HPN "-hpn12v18" ++#define SSH_HPN "-hpn12v17" +#define SSH_RELEASE SSH_VERSION SSH_PORTABLE SSH_HPN Reported by: Tsurutani Naoki <turutani___scphys.kyoto-u.ac.jp>2d5e352aea