CVE and update status of the FreeBSD ports tree3,310 unaddressed CVEs in 678 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) · 6.7.p1_1,1
Mark OVERWRITE_BASE as IGNORE.

Keep it as an option as otherwise the user won't be notified that
their configuration is wrong and it will just install to PREFIX
instead, which would be surprising.
2cac0ba27e
Bryan Drewery (bdrewery) · 6.7.p1_1,1
- Fix HPN patches for 6.7p1 - Add back HPN and NONECIPHER for the default options and bump PORTREVISION   due to this.
e5b42c8536
Bryan Drewery (bdrewery) · 6.7.p1,1
- Unbreak KERB_GSSAPI option by using Debian's patch.

I am serving the patch exactly as-is from their site. Obtained from:
  http://sources.debian.net/data/main/o/openssh/1:6.7p1-3/debian/patches/gssapi.patch
bacf87759f
Bryan Drewery (bdrewery) · 6.7.p1,1
Unmark X509 option as BROKEN after fixed in r374821
c931fe84b9
Bryan Drewery (bdrewery) · 6.7.p1,1
- Update X509 patch to 8.2 which now supports OpenSSH 6.7p1   No PORTREVISION bump since it was BROKEN before with X509.
c182d59b5f
Bryan Drewery (bdrewery) · 6.7.p1,1
- Update to 6.7p1.

Several patches do not currently apply. Use security/openssh-portable66 for:
  HPN, NONECIPHER, KERB_GSSAPI, X509.

- Add a TCP_WRAPPER patch to re-enable support after it was removed upstream.
b384f37302
John Marino (marino) · 6.6.p1_4,1
Add USES=alias to several ports

Alias is a new USES tool that allows DragonFly to masquerade as FreeBSD
by setting CFLAGS+= -D__FreeBSD__.  For some ports, this fixes the build
without the need for additional patches.

Approved by:	portmgr (bapt, blanket)
15dccb3a0d
Bryan Drewery (bdrewery) · 6.6.p1_4,1
Note my intentions with OVERWRITE_BASE
325e005274
Bryan Drewery (bdrewery) · 6.6.p1_4,1
- Mark OVERWRITE_BASE and security/openssh-portable-base as DEPRECATED.   These will be removed on January 1 2015.

Really ports should not be touching the base system at all.

  This option is a big foot-shoot problem:

  1. Recent versions of FreeBSD such as 9.3, 10.0, 10.1+, now remove all ssh
     files from /usr if you 'make delete-old' with WITHOUT_SSH. This results in
     removing the overwrite base files.
  2. Uninstalling the package leaves the system with no ssh.
  3. Running installworld without WITHOUT_SSH results in overwriting the
     package, or giving false-positive 'pkg check -s' errors.
  4. The port fails to pass QA checks because it removes system files.
9b637227c4
Bryan Drewery (bdrewery) · 6.6.p1_4,1
Support multiple ListenAddress ports

Reported by:	rustamabd@gmail.com
7f9db6bed2
Tijl Coosemans (tijl) · 6.6.p1_3,1
net/openldap24-*: - Convert to USES=libtool and bump dependent ports - Avoid USE_AUTOTOOLS - Don't use PTHREAD_LIBS - Use MAKE_CMD

databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip

databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample

databases/libgdamm:
- Drop :keepla
- USES=tar:bzip2
- Use INSTALL_TARGET=install-strip

databases/libgdamm5:
- Add INSTALL_TARGET=install-strip
- Drop --enable-static (inherited from old repocopy)

devel/anjuta x11-toolkits/py-gnome-extras:
- Drop :keepla

dns/powerdns dns/powerdns-devel:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Disable static modules
- Stop creating library symlinks with .0 suffix, not needed for dynamically
  opened modules

mail/dovecot2:
- Add USES=libtool

mail/dovecot2-pigeonhole:
- Drop CONFIGURE_TARGET (incorrect for Dragonfly)
- Add USES=libtool and INSTALL_TARGET=install-strip

math/gnumeric:
- USES=libtool tar:xz

Approved by:	portmgr (implicit, bump unstaged ports)
37f54e0f66
Bryan Drewery (bdrewery) · 6.6.p1_2,1
- Update to "6.6.1" [1] - Switch to using @sample keyword, fixing orphans.

Upstream note on "6.6.1" [1]:

  OpenSSH 6.5 and 6.6 sometimes encode a value used in the curve25519
  key exchange incorrectly, causing connection failures about 0.2% of
  the time when this method is used against a peer that implements
  the method properly.

  Fix the problem and disable the curve25519 KEX when speaking to
  OpenSSH 6.5 or 6.6. This version will identify itself as 6.6.1
  to enable the compatability code.

[1] https://lists.mindrot.org/pipermail/openssh-unix-dev/2014-April/032494.html
fb7f0b4422
Bryan Drewery (bdrewery) · 6.6.p1_1,1
Fix minor plist issues from check-plist
7d9abc27b5
Bryan Drewery (bdrewery) · 6.6.p1_1,1
- Update GSS API Key Exchange patch with working version.

PR:		ports/183006
Submitted by:	Garrett Wollman (via email)
Tested by:	Garrett Wollman
24ab900c5b
Bryan Drewery (bdrewery) · 6.6.p1,1
- Update to 6.6 - Capsicum patch no longer needed - Update X509 patch to 7.9

Changelog: http://www.openssh.org/txt/release-6.6
942706dc7a
Bryan Drewery (bdrewery) · 6.5.p1_1,1
- Fix build with HEIMBAL_BASE

PR:		ports/186830
Reported by:	Robert Simmons <rsimmons0@gmail.com>
6a7c5e228e
Bryan Drewery (bdrewery) · 6.5.p1_1,1
- Fix RC script

Pointyhat to:	bdrewery
Reported by:	Kenta S. <kentas@hush.com>
208fbcfdfb
Bryan Drewery (bdrewery) · 6.5.p1,1
- Update to 6.5   ChangeLog: http://www.openssh.org/txt/release-6.5

- Update X509 patch to 7.8
- Update LIB_DEPENDS to new format
- Revert r328706 and re-enable privilege separation sandboxing by default
  as the issue causing crashes has been fixed upstream
- capsicum(4) is now enabled upstream. A local patch is added to fix an issue
  with it [1]
- KERB_GSSAPI is marked BROKEN. It does not build.
  This patch lacks an upstream and I have no way to test it. It needs
  a non-trivial amount of refactoring for 6.5 as the key handling API
  has changed quite a bit.

Submitted by:	pjd@ [1]
8543a6a920
Bryan Drewery (bdrewery) · 6.4.p1,1
- License is all of BSD2,BSD3,MIT,public domain,BSD-Style,BEER-WARE,   "any purpose with notice intact",ISC-Style. The framework does not   support such a case easily.   See http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/LICENCE?rev=HEAD
2e1923da13
Bryan Drewery (bdrewery) · 6.4.p1,1
- Fix packaging when not using HPN patches

PR:		ports/183895
Reported by:	mat
d04fb1a7c7
Bryan Drewery (bdrewery) · 6.4.p1,1
- Update to 6.4p1

This release fixes a security bug:

 * sshd(8): fix a memory corruption problem triggered during rekeying
   when an AES-GCM cipher is selected. Full details of the vulnerability
   are available at: http://www.openssh.com/txt/gcmrekey.adv

Security:	http://www.openssh.com/txt/gcmrekey.adv
f2db8331d8
Bryan Drewery (bdrewery) · 6.3.p1,1
- Update to 6.3p1   Changelog: http://www.openssh.org/txt/release-6.3 - Use options helpers where possible - Use upstream patch mirror for x509 and HPN - Update HPN patch to v14 and use upstream version - Add option NONECIPHER to allow disabling NONE in HPN patch - Update x509 patch from 7.4.1 to 7.6 - Add support for LDNS and enable by it and VerifyHostKeyDNS/SSHFP by default.   See http://lists.
9a7dab4b5a
Bryan Drewery (bdrewery) · 6.2.p2_5,1
- Now that :DEFAULT can be used in PATCH_SITES (fixed in 329679),   depend on the upstream mirror for the x509 patch and my mirror   as a fallback
df80a6ed9e
Bryan Drewery (bdrewery) · 6.2.p2_5,1
Remove useless -c flag
32e60b1301
Bryan Drewery (bdrewery) · 6.2.p2_5,1
Perl has not been needed as a direct dependency since 6.0
86c43ef2c4
Bryan Drewery (bdrewery) · 6.2.p2_5,1
- Fix KERB_GSSAPI incorrectly using a predictable cache file.   This was due to a mistake in r319062 when porting the patch from 5.8 to 6.2

There is no active upstream for this patch. For reference here are the
  changes made in the patch:

  --- -	2013-10-03 11:07:21.262913573 -0500
  +++ /tmp/zdiff.XXXXXXXXXX.STScEeSI	2013-10-03 11:07:21.000000000 -0500
  @@ -183,7 +183,7 @@
	  if (ret < 0 || (size_t)ret >= sizeof(ccname))
		  return ENOMEM;

  -+#ifdef USE_CCAPI
  ++#ifndef USE_CCAPI
	  old_umask = umask(0177);
	  tmpfd = mkstemp(ccname + strlen("FILE:"));
	  oerrno = errno;

PR:		ports/180419
Reported by:	Garrett Wollman <wollman@khavrinen.csail.mit.edu>
88a7df5687
Bryan Drewery (bdrewery) · 6.2.p2_4,1
Mark IGNORE if KERB_GSSAPI incorrectly selected
28c0576313
Bryan Drewery (bdrewery) · 6.2.p2_4,1
Cleanup patch-readconf.c to only have 1 diff
258902ed1f
Bryan Drewery (bdrewery) · 6.2.p2_4,1
Update descriptions to match current conventions
fc9396666a
Bryan Drewery (bdrewery) · 6.2.p2_4,1
- Copy base r251088 over (which removes a patch) and disable default sandbox   privilege separation as it causes crashes when using AES crypto devices.   This now uses 'yes' for UsePrivilegeSeparation instead of 'sandbox' by   default

Reminded by:	Garrett Wollman
6dff6e39eb
Bryan Drewery (bdrewery) · 6.2.p2_3,1
Fix sshd.8 referring to LOCALBASE with OVERWRITE_BASE
f636d59d65
Bryan Drewery (bdrewery) · 6.2.p2_3,1
Don't extract mtree with OVERWRITE_BASE
06178e7241
Bryan Drewery (bdrewery) · 6.2.p2_3,1
Convert to stagedir
5df640eb97
Bryan Drewery (bdrewery) · 6.2.p2_3,1
- Add NO_STAGE until validated to be safe for upcoming staging support
2324655f20
Andrej Zverev (az) · 6.2.p2_3,1
- Convert to new perl5 framework

Approved by:	bdrewery@ (maintainer)
e22cb3e0ce
Bryan Drewery (bdrewery) · 6.2.p2_3,1
Add an openssh-portable-base slave port to install with OVERWRITE_BASE
cc016c4708
Bryan Drewery (bdrewery) · 6.2.p2_3,1
Add LICENSE
dcd945cc38
Bryan Drewery (bdrewery) · 6.2.p2_3,1
- In rc script, be consistent in reload and check for and generate keys   if needed, as well as checking for port collision with base sshd.

Reported by:	delphij
37db06f38b
Bryan Drewery (bdrewery) · 6.2.p2_2,1
- Update and re-add KERB_GSSAPI gsskex patch.   I did very minor porting of the upstream patch to make   it apply.   Note that this currently does not build with base heimdal, but   does build with port MIT or port HEIMDAL. - Bump PORTREVISION in case someone built the update, expecting   this option to work and now have a broken ssh.

PR:		ports/178885
Reported by:	Garrett Wollman <wollman@csail.mit.edu>
ef47aef18c
Bryan Drewery (bdrewery) · 6.2.p2_1,1
- Fix sshd crash when not using HPN   This was due to not including the canohost.h header for our   base customization to respect class login restrictions. I had   missed this as I was only tested with the default (HPN enabled)   which already was including this header.

Reported by:	runelind in ##freenode
Tested by:	runelind, myself
Reported by:	Krzysztof Stryjek
97ceaf35a1
Bryan Drewery (bdrewery) · 6.2.p2,1
Mark BROKEN as I have received 2 separate reports of crashing.
342bde1646
Bryan Drewery (bdrewery) · 6.2.p2,1
- Update to 6.2p2

- The LPK patch has been updated but is obsolete, deprecated and
  untested. It has been replaced by AuthorizedKeysCommand
- The upstream HPN's last update was for 6.1 and is mostly
  abandoned. The patch has had bugs since 5.9. I have reworked
  it and split into into HPN and AES_THREADED options. The
  debugging/logging part of the patch is incomplete. I may
  change the patch to more closely match our base version
  eventually.
- The KERB_GSSAPI option has been removed as the patch has not
  been updated by upstream since 5.7
- sshd VersionAddendum is currently not working as intended;
  it will be fixed later to allow removing the port/pkg version.
- Update our patchset to match latest base version
- Bring in ssh-agent -x support from base
- I incrementally updated the port from 5.8 up to 6.2p2 along
  with patches. You can find all of the versions at
  https://github.com/bdrewery/openssh

Changes:
    http://www.openssh.com/txt/release-5.9
    http://www.openssh.org/txt/release-6.0
    http://www.openssh.org/txt/release-6.1
    http://www.openssh.org/txt/release-6.2
    http://www.openssh.org/txt/release-6.2p2
ac9ad08ef2
Bryan Drewery (bdrewery) · 5.8.p2_5,1
- Bring in r199804 and r206397 from base to avoid killing sshd in   high-pressure swapping environments
c56d4773a5
Bryan Drewery (bdrewery) · 5.8.p2_5,1
- Remove copyright as it was a base customization that was removed in   base r213250
86f302336e
Bryan Drewery (bdrewery) · 5.8.p2_5,1
- Remove CHROOT option and patch. ChrootDirectory was added in 5.0   to achieve the same thing.
b3a7b6b7c2
Bryan Drewery (bdrewery) · 5.8.p2_5,1
Fix xauth and ssh-askpass still being expected in /usr/X11R6

This was fixed in base in 2007 in r169966
f2ec55247e
Bryan Drewery (bdrewery) · 5.8.p2_4,1
- Add support for base and port Heimdal for Kerberos

PR:		ports/167554
Requested by:	Volodymyr Kostyrko <c.kworr@gmail.com>
34c529eb2e
Bryan Drewery (bdrewery) · 5.8.p2_4,1
- Remove compatibiliy for FreeBSD <4.x   * /var/empty has been in hier(7) since 4.x   * User sshd has been in base since 4.x   * Simplify a patch for realhostname_sa(3) usage - Remove SUID_SSH - It was removed from ssh in 2002 - Fix 'make test' - Add some hints into the patches on where they came from - Mirror all patches - Move LPK patch out of files/ - Remove the need for 2 patches   * Removal o

PR:		ports/174570 [1]
Submitted by:	oleg <proler@gmail.com> [1]
Obtained from:	https://bugzilla.mindrot.org/show_bug.cgi?id=2016 (upstream) [1]
Feature safe:	yes
553e0f5788
Bryan Drewery (bdrewery) · 5.8.p2_4,1
- Fix runtime crash on CURRENT due to import of NetBSD strnvis() [1]   which differs in prototype from OpenBSD strnvis() [2]

[1] http://lists.freebsd.org/pipermail/freebsd-stable/2013-January/071703.html
[2] http://gnats.netbsd.org/44977

Submitted by:	dim
237fa6c0d4
Alex Kozlov (ak) · 5.8.p2_3,1
- Fix all cases of 'No newline at end of file' in ports tree

Approved by: portmgr (bapt)
05a9235c98