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)

Baptiste Daroussin (bapt) · 8.0.p1_1,1
Drop the ipv6 virtual category for s* category as it is not relevant anymore
ef71a0d8c9
Steve Wills (swills) · 8.0.p1_1,1
Bump PORTREVISION on ldns consumers

Shared lib version changed in update

Reported by:	sunpoet
a432d98d9d
Mathieu Arnold (mat) · 8.0.p1,1
Convert to UCL & cleanup pkg-message (categories s)
bc89cd3d2c
Bryan Drewery (bdrewery) · 8.0.p1,1
- 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.com
13d97b9d3d
Bryan Drewery (bdrewery) · 8.0.p1,1
Fix BROKEN handling for x509/gssapi FLAVORS
468d86b219
Bryan Drewery (bdrewery) · 8.0.p1,1
Update to 8.0p1

Changes: https://www.openssh.com/txt/release-8.0

With help from:	Lee Prokowich
Sponsored by:	DellEMC
97bcfd953b
Bryan Drewery (bdrewery) · 7.9.p1_1,1
- 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
Bryan Drewery (bdrewery) · 7.9.p1_1,1
- Update KERB_GSSAPI for 7.9p1
9be669e178
Bryan Drewery (bdrewery) · 7.9.p1_1,1
- 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
Bryan Drewery (bdrewery) · 7.9.p1,1
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
Mathieu Arnold (mat) · 7.7.p1_6,1
security/openssl-devel was removed, but there is a security/openssl111 now.
35326f1a97
Mathieu Arnold (mat) · 7.7.p1_6,1
Add DOCS options to ports that should have one.

Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
e1bfdfbe56
Bryan Drewery (bdrewery) · 7.7.p1_6,1
Simplify CONFLICTS_INSTALL.

Reported by:	mat
c8ac0e6acd
Bryan Drewery (bdrewery) · 7.7.p1_5,1
- 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
Bryan Drewery (bdrewery) · 7.7.p1_4,1
Update x509 patch to 11.3.2
ad7e8762a9
Bryan Drewery (bdrewery) · 7.7.p1_3,1
Forgot PORTREVISION bump for r472797.

PR:		229147
40fc1f9225
Bryan Drewery (bdrewery) · 7.7.p1_2,1
Fix nologin check when PAM option is disabled in the port.

PR:		229147
Submitted by:	Robert Schulze <rs@bytecamp.net>
dcc4de176b
Bryan Drewery (bdrewery) · 7.7.p1_2,1
Add lost metadata on why this patch exists
fceb6f0897
Bryan Drewery (bdrewery) · 7.7.p1_2,1
- 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
Bryan Drewery (bdrewery) · 7.7.p1_1,1
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.com
28657bf502
Craig Leres (leres) · 7.7.p1_1,1
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/D15053
14c5a8610a
Bryan Drewery (bdrewery) · 7.7.p1,1
Make BROKEN lines more clear
fe0ff6cbfc
Bryan Drewery (bdrewery) · 7.7.p1,1
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
Bryan Drewery (bdrewery) · 7.6.p1_3,1
libressl support was fixed in r452358
fd31417b15
Mathieu Arnold (mat) · 7.6.p1_3,1
Mark some ports broken with openssl-devel.

Sponsored by:	Absolight
9215977220
Bryan Drewery (bdrewery) · 7.6.p1_3,1
Remove OVERWRITE_BASE compat - it was marked IGNORE in 2015
b514cd6ba2
Bryan Drewery (bdrewery) · 7.6.p1_3,1
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:	many
26b8dc385b
Kubilay Kocak (koobs) · 7.6.p1_2,1
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:	D11793
2ebeef14f6
Bryan Drewery (bdrewery) · 7.6.p1_1,1
Mark broken with libressl as it has several random crashses.

PR:		223000
4abdc2f45c
Bryan Drewery (bdrewery) · 7.6.p1_1,1
Bring in upstream fix for PermitOpen from commit 7c9613fac337
e674a19ab4
Bryan Drewery (bdrewery) · 7.6.p1,1
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
Bryan Drewery (bdrewery) · 7.5.p1_1,1
Fix LDNS detection.

This is the same fix made upstream as well.

PR:		218472
Submitted by:	leres@ee.lbl.gov
MFH:		2017Q2
995a1faef3
Antoine Brodin (antoine) · 7.5.p1,1
Register dependency on groff

PR:		213725
69771bc284
Mathieu Arnold (mat) · 7.5.p1,1
Mark those as not building with openssl-devel.

Sponsored by:	Absolight
9d86e32f2d
Bryan Drewery (bdrewery) · 7.5.p1,1
- 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.5
9051821be1
Bryan Drewery (bdrewery) · 7.4.p1_1,1
- Change USE_AUTOTOOLS to USES= autoreconf - Change @exec to @postexec in pkg-plist

Submitted by:	brnrd
PR:		217962
c59be11b14
Mathieu Arnold (mat) · 7.4.p1_1,1
Remove all USE_OPENSSL occurrences.

Sponsored by:	Absolight
a28f0f7f7f
Martin Wilke (miwi) · 7.4.p1_1,1
- Chase ldns shlip bump

PR:		217495
6d14406a13
Bryan Drewery (bdrewery) · 7.4.p1,1
Fix build with NONE_CIPHER.
d5324e3511
Bryan Drewery (bdrewery) · 7.4.p1,1
Update to 7.4p1.

- Update X509 patch to 9.3
- SCTP patch from soralx@cydem.org

Changes: https://www.openssh.com/txt/release-7.4
8da82fad61
Bryan Drewery (bdrewery) · 7.3.p1_5,1
Fix to only enable SCTP patch with option from r431441
b75ee34145
Bryan Drewery (bdrewery) · 7.3.p1_4,1
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:		2017Q1
dbbe36d335
Bryan Drewery (bdrewery) · 7.3.p1_3,1
Add working SCTP patch.

This has 2 minor changes from the upstream bug 1604

PR:		215632
Submitted by:	soralx@cydem.org
0e17ced755
Bryan Drewery (bdrewery) · 7.3.p1_2,1
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:		2017Q1
4e5701f44f
Bryan Drewery (bdrewery) · 7.3.p1_1,1
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-8858
f696ba7f44
Bryan Drewery (bdrewery) · 7.3.p1,1
- 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.3
4e90011c99
Dmitry Marakasov (amdmi3) · 7.2.p2,1
- Fix trailing whitespace in pkg-messages

Approved by:	portmgr blanket
e87a8bd319
Dmitry Marakasov (amdmi3) · 7.2.p2,1
- Fix trailing whitespace in pkg-descrs, categories [p-x]*

Approved by:	portmgr blanket
1f8b48b772
Bryan Drewery (bdrewery) · 7.2.p2,1
Bring in updated SCTP patch from gentoo.

Submitted by:	Eduardo Morras <emorrasg@yahoo.es>
bd72790e03
Mathieu Arnold (mat) · 7.2.p2,1
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
597afc47ba