CVE and update status of the FreeBSD ports tree3,298 unaddressed CVEs in 671 portsAll times are CET
Port details

security/openssh-portable 10.6.p1,1

The portable version of OpenBSD's OpenSSH

Port info

Maintainer
bdrewery@FreeBSD.org
Packages
latest: openssh-portable 10.6.p1,1, openssh-portable-gssapi 10.6.p1,1, openssh-portable-hpn 10.6.p1,1
Upstream
Higher version available: 18.12.0
Last update
to 10.6.p1,1 · 3ae2665579
Quarterly
2026Q4: openssh-portable 10.6.p1,1, openssh-portable-hpn 10.6.p1,1 · last MFH a6d0a08dd7
Formerly
security/openssh-portable-devel until 2016-02-29, security/hpn-ssh until 2006-03-15
WWW
https://www.openssh.com/portable.html
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install openssh-portable
# pkg install openssh-portable-gssapi
# pkg install openssh-portable-hpn
installs 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
Port
# cd /usr/ports/security/openssh-portable && make install clean
# make -C /usr/ports/security/openssh-portable config  # change options first
Size
1.2 MiB download · 8.2 MiB installed
Depends on
devel/libedit 3.1.20260512,1, dns/ldns 1.9.2, security/libfido2 1.17.0
License
OPENSSH
Options
7 of 14 on in the package: BLOCKLISTD DOCS FIDO_U2F LDNS LIBEDIT PAM TCP_WRAPPERS
Show the 7 options that are off
BSM HEIMDAL HEIMDAL_BASE HPN KERB_GSSAPI MIT NONECIPHER
pkg-message
Shown after installing
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.
Note
Size, dependencies, options and messages are those of openssh-portable.

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 1610.6.p1,110.6.p1,1–
FreeBSD 1510.6.p1,110.6.p1,1–
FreeBSD 1410.6.p1,110.6.p1,110.6.p1,1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 1510.6.p1,110.6.p1,1–
FreeBSD 1410.6.p1,110.6.p1,110.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.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 10.6.p1,1.

Fixed (29)

Show 29 fixed
VuXML entries whose affected range the packaged version has left, plus CVEs from the last 90 days that this version is already past (fixed by update).
CVECVSSPublishedDescription
CVE-2026-1065856.52026-10-06In 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-1065524.22026-10-06In 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-1065823.72026-10-06In 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-1065873.62026-10-06In 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-1065883.12026-10-06In 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-1065892.92026-10-06In 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-1065832.52026-10-07In ssh in OpenSSH before 10.6, a $ or \ character can occur in a command-line username, leading to injection.
CVE-2026-1065842.52026-10-06In 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-1065862.52026-10-06In 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-1065532.22026-10-06In sshd in OpenSSH before 10.6, credentials can incorrectly persist after failure of a GSSAPIAuthentication authentication attempt.
CVE-2026-1065552.22026-10-06In sshd in OpenSSH before 10.6, GSSAPIAuthentication authentication state can incorrectly be persisted across authentication attempts.

Problem reports (9) · open in Bugzilla, most recently changed first

PRSummaryStatusChanged
298530maintainer-feedback? security/openssh-portable: new GSSAPIKeyExchange patchNew2026-10-22
297915maintainer-feedback? security/openssh-portable: Catch up with base patchesNew2026-08-25
282222maintainer-feedback? security/openssh-portable: Add option to build without OpenSSLNew2026-08-11
297078maintainer-feedback? security/openssh-portable: pre-key-exchange crashNew2026-07-30
289965maintainer-feedback? security/openssh-portable: doesn't appear to depend on ports opensslNew2026-04-26
Show all 9
PRSummaryStatusChanged
292248maintainer-feedback? security/openssh-portable: sshd-session crash on FreeBSD 15.0-RELEASE on arm64New2026-01-14
276410maintainer-feedback? security/openssh-portable: SSHFP/known_hosts issues when HPN is enabled (9.9.p1_1,1)New2025-01-15
282966maintainer-feedback? security/openssh-portable: Tiny error in sshd_config(5)New2024-11-25
272065maintainer-feedback? security/openssh-portable: Add patch for different interpretation of BADUSERNew2023-11-28

Commits (450)

Bryan Drewery (bdrewery) · 5.8.p2_3,1
- Update mirror site for HPN patch

Feature safe:	yes
cf84cfcb04
Bryan Drewery (bdrewery) · 5.8.p2_3,1
- Take maintainership

Feature safe:	yes
9c27afcde5
Eitan Adler (eadler) · 5.8.p2_3,1
Convert to OptionsNG Trim Headers

PR:	ports/172429
Submitted by:	Michael Gmelin <freebsd@grem.de>
Feature safe:	yes
b66d828585
Doug Barton (dougb) · 5.8.p2_3,1
When installing in the base, USE_RCORDER does the right thing without all the gymnastics
47b836bfe5
Doug Barton (dougb) · 5.8.p2_3,1
Add KEYWORD: shutdown Simplify some code Fix an error message
399881097f
Sunpoet Po-Chuan Hsieh (sunpoet) · 5.8.p2_3,1
- Fix ECDSA key generation in openssh rc.d script - Bump PORTREVISION for package change

Submitted by:	J. Hellenthal <jhellenthal@dataix.net>
2de4b06af2
Eitan Adler (eadler) · 5.8.p2_2,1
Change HPN patch mirror location to one that works

PR:		ports/168306
Submitted by:	"Bryan Drewery" <bryan@shatow.net>
f10427bf15
Sunpoet Po-Chuan Hsieh (sunpoet) · 5.8.p2_2,1
- Reset maintainership

PR:		ports/167423
Submitted by:	Grzegorz Blach <magik@roorback.net> (maintainer)
36cd8ba256
Michael Scheidell (scheidell) · 5.8.p2_2,1
- 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:	yes
30d069e579
Doug Barton (dougb) · 5.8.p2_1,1
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
Michael Scheidell (scheidell) · 5.8.p2_1,1
- Add USE_PERL5_BUILD

PR:		ports/163414
Submitted by:	portmgr (pav)
Approved by:	gabor (mentor)
ffb8909855
Michael Scheidell (scheidell) · 5.8.p2_1,1
- 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
Florian Smeets (flo) · 5.8.p2,1
- 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
Stephen Montgomery-Smith (stephen) · 5.2.p1_4,1
- Maintainer to magik@roorback.net

Approved by:	maho (mentor) and magik@roorback.net
d411c5c227
Stephen Montgomery-Smith (stephen) · 5.2.p1_4,1
- Add VersionAddendum support. - Bump portrevision.

PR:		ports/142824
Submitted by:	Scot Hetzel <swhetzel@gmail.com>
Approved by:	gabor (mentor)
0c145731fc
Olli Hauer (ohauer) · 5.2.p1_3,1
-remove MD5
87931c6875
Sergey Skvortsov (skv) · 5.2.p1_3,1
Unbreak build with LPK option (broken after commit 1.674 in bsd.port.mk).
5c96a91930
Alex Dupre (ale) · 5.2.p1_3,1
Remove OpenSC support. This port should be updated to support PKCS#11.
2c07ef369c
Rene Ladan (rene) · 5.2.p1_3,1
- 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
Philip M. Gollucci (pgollucci) · 5.2.p1_2,1
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
Mark Linimon (linimon) · 5.2.p1_2,1
Reset dindin@dindin.ru due to maintainer-timeout and no response to email.

Hat:		portmgr
df9e790904
Pav Lucistnik (pav) · 5.2.p1_2,1
- 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
Erwin Lansing (erwin) · 5.2.p1_2,1
Mark BROKEN on 9.x: does not build
7b64080d4c
Doug Barton (dougb) · 5.2.p1_2,1
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
Doug Barton (dougb) · 5.2.p1_2,1
Begin the process of deprecating sysutils/rc_subr by s#. %%RC_SUBR%%#. /etc/rc.subr#
1d6b4b3f91
Dmitry Marakasov (amdmi3) · 5.2.p1_2,1
- 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
Mario Sergio Fujikawa Ferreira (lioux) · 5.2.p1_2,1
- Under OSVERSION >= 800000, only mark BROKEN if WITH_KERBEROS. - The port links fine otherwise.
5eab958e66
Pav Lucistnik (pav) · 5.2.p1_2,1
- Mark BROKEN on 8.X with Kerberos - does not link

Reported by:	pointyhat
0c0f9abca5
Pav Lucistnik (pav) · 5.2.p1_2,1
- 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:	yes
980f7d51da
Pav Lucistnik (pav) · 5.2.p1_2,1
- 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:	yes
adcf823bcf
Pav Lucistnik (pav) · 5.2.p1_1,1
- Mark BROKEN on 8.X: does not link

Reported by:	pointyhat
97ab5b2d30
Norikatsu Shigemura (nork) · 5.2.p1_1,1
Fix build error WITH_HPN.

PR:			ports/135407
Submitted by:		maintainer implicit (already submitted)
Pointy hat to:		pgollucci
9a85a84dd2
Philip M. Gollucci (pgollucci) · 5.2.p1_1,1
- 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
Philip M. Gollucci (pgollucci) · 5.2.p1_1,1
- 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
Sergey A. Osokin (osa) · 5.2.p1_1,1
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/134706
2a56663170
Norikatsu Shigemura (nork) · 5.2.p1_1,1
Fix HPN crash issue by using aes128-ctr, aes192-ctr and aes256-ctr.

Approved by:	pav
4de2c64b49
Pav Lucistnik (pav) · 5.2.p1,1
- Update to 5.2p1 - Assign maintainership to the submitter

PR:		ports/134160
Submitted by:	Denis Barov <dindin@dindin.ru>
73a15551c8
Munechika SUMIKAWA (sumikawa) · 5.1.p1,1
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/133412
ecec028843
Pav Lucistnik (pav) · 5.1.p1,1
- Reset long-term inactive maintainer
82e35ad7ad
Pav Lucistnik (pav) · 5.1.p1,1
- 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
Pav Lucistnik (pav) · 5.1.p1,1
- 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
Pav Lucistnik (pav) · 5.1.p1,1
- Update to 5.1p1

PR:		ports/128679
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Approved by:	maintainer timeout (mnag; 4 months)
159053be31
Sergey Skvortsov (skv) · 5.0.p1,1
Fix rootless build.

PR:		ports/126164
Submitted by:	skv
Approved by:	maintainer timeout (> 3 months)
98f2d70fc3
Rong-En Fan (rafan) · 5.0.p1,1
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
Pav Lucistnik (pav) · 5.0.p1,1
- Mark BROKEN after recent kerberos update
ca549fb6a4
Marcus Alves Grando (mnag) · 5.0.p1,1
- 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
Marcus Alves Grando (mnag) · 4.7.p1_1,1
- Update HPN patch to hpn12v20 - Bump PORTREVISION

Submitted by:	Ollivier Robert <roberto__keltia.freenix.fr>
ab17d06e1f
Marcus Alves Grando (mnag) · 4.7.p1,1
- Update gsskex patch to 20070927 - Update HPN patch to hpn12v19 [1]

Notified by:	ale [1]
6263358d77
Edwin Groothuis (edwin) · 4.7.p1,1
Remove always-false/true conditions based on OSVERSION 500000
13441eac4b
Marcus Alves Grando (mnag) · 4.7.p1,1
- 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