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

security/strongswan 6.1.0

Open Source IKEv2 IPsec-based VPN solution

Port info

Maintainer
rcm@FreeBSD.org
Packages
latest: 6.1.0
Upstream
up to date
Last update
to 6.1.0 · 5a7f75878c
Quarterly
2026Q4: 6.1.0
WWW
https://www.strongswan.org
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install strongswan
installs 6.1.0 from latest; from quarterly (2026Q4) 6.1.0
Port
# cd /usr/ports/security/strongswan && make install clean
# make -C /usr/ports/security/strongswan config  # change options first
Size
897 KiB download · 2.7 MiB installed
Depends on
ftp/curl 8.23.0
License
GPLv2
Options
10 of 36 on in the package: BUILTIN CURL GCM IKEV1 KDF KERNELLIBIPSEC ML PKI SWANCTL VICI
Show the 26 options that are off
CTR DHCP EAPAKA3GPP2 EAPDYNAMIC EAPRADIUS EAPSIMFILE FARP FIPS_PRF IPSECKEY LDAP LIBC LOADTESTER MEDIATION MYSQL PKCS11 PYTHON SMP SQLITE STROKE TESTVECTOR TPM TSS2 UNBOUND UNITY VSTR XAUTH
pkg-message
Shown after installing
The default strongSwan configuration interface have been updated to vici since version 5.9.2_1.
To use the stroke interface by default either compile the port without the vici option or
set 'strongswan_interface="stroke"' in your rc.conf file.
Shown after upgrading
The default strongSwan configuration interface have been updated to vici.
To use the stroke interface by default either compile the port without the vici option or
set 'strongswan_interface="stroke"' in your rc.conf file.

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 166.1.06.1.0–
FreeBSD 156.1.06.1.0–
FreeBSD 146.1.06.1.06.1.0

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 156.1.06.1.0–
FreeBSD 146.1.06.1.06.1.0

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 6.1.0.

Fixed (27)

Show 27 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-781307.52026-09-11strongSwan 4.2.0 through 6.0.7 has a NULL pointer dereference in the x509 plugin's attribute certificate parser.
CVE-2026-781327.52026-09-11strongSwan 5.1.3 through 6.0.7 has an infinite loop in the x509 plugin's attribute certificate parser for ietfAttrSyntax.
CVE-2026-781337.52026-09-11libcharon in strongSwan 6.0.0 through 6.0.7 has a use-after-free in IKEv2 rekeying collision handling.
CVE-2026-781347.12026-09-11strongSwan 4.5.0 through 6.0.7 has Incorrect Access Control in the eap-ttls and eap-peap plugins because there can be a missing or mismatched inner EAP identity.
CVE-2026-781295.92026-09-11strongSwan 4.6.2 through 6.0.7 has an infinite loop in PKCS#5 decryption.
CVE-2026-781235.92026-09-11strongSwan 5.0.2 through 6.0.7 has an Expired Pointer Dereference in PKCS#7 parsing in the openssl plugin.
CVE-2026-781265.92026-09-11strongSwan 4.1.10 through 6.0.7 allows a NULL pointer dereference in the eap-aka plugin.
CVE-2026-781273.72026-09-11libcharon in strongSwan 4.1.2 through 6.0.7 has a missing release of memory after its effective lifetime in the IKE message parser.
CVE-2026-781313.72026-09-11strongSwan 4.2.0 through 6.0.7 has a missing release of memory after its effective lifetime in the x509 plugin's attribute certificate parser.
CVE-2026-781243.72026-09-11strongSwan 5.0.2 through 6.0.7 allows PKCS#7 certificate enumeration in the openssl plugin that leads to a lack of release of memory after its effective lifetime.

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

None.

Commits (119)

R. Christian McDonald (rcm) · 6.1.0 MFH 2026Q3 ✓
security/strongswan: Update 6.0.7 => 6.1.0

Changelog:
https://github.com/strongswan/strongswan/releases/tag/6.1.0

PR:		298372
MFH:		2026Q3
Security:	CVE-2026-78123
Security:	CVE-2026-78124
Security:	CVE-2026-78126
Security:	CVE-2026-78127
Security:	CVE-2026-78129
Security:	CVE-2026-78130
Security:	CVE-2026-78131
Security:	CVE-2026-78132
Security:	CVE-2026-78133
Security:	CVE-2026-78134
Security:	CVE-2026-78135
Sponsored by:	Rubicon Communications, LLC ("Netgate")
5a7f75878c
R. Christian McDonald (rcm) · 6.0.7_2 MFH 2026Q3 ✓
security/strongswan: Take over maintainership

PR:		298404
Approved by:	diizzy, vvd
MFH:		2026Q3
Sponsored by:	Rubicon Communications, LLC ("Netgate")
e0d875b0cc
Vladimir Druzenko (vvd) · 6.0.7_2
security/strongswan: Disable loading of kernel-libipsec plugin

115e0906c85a enables building with KERNELLIBIPSEC option by default.
This changes loading order of plugins and brokes some existing
configurations.

PR:		298098 295828
Approved by:	blanket (fix runtime)
Sponsored by:	FLEX-IT LLC
Sponsored by:	UNIS Labs (vvd, commit patch)
a01d6ba04a
Vladimir Druzenko (vvd) · 6.0.7_1
security/strongswan: Enable KERNELLIBIPSEC option by default for vnet jail support

PR:		295828
Approved by:	strongswan@Nanoteq.com (maintainer, timeout 3 months)
Sponsored by:	UNIS Labs
115e0906c8
R. Christian McDonald (rcm) · 6.0.7
security/strongswan: Update 6.0.6 => 6.0.7

Changelog:
https://github.com/strongswan/strongswan/releases/tag/6.0.7

PR:		295936
Approved by:	blanket (fix CVE)
MFH:		2026Q2
Security:	CVE-2026-47895
Sponsored by:	Rubicon Communications, LLC ("Netgate")
ab71842ed8
Vladimir Druzenko (vvd) · 6.0.6
security/strongswan: Update 6.0.5 => 6.0.6 (fix 7 CVEs)

Changelog:
https://github.com/strongswan/strongswan/releases/tag/6.0.6

PR:		294718
Approved by:	blanket (fix CVEs)
Security:	CVE-2026-35328
Security:	CVE-2026-35329
Security:	CVE-2026-35330
Security:	CVE-2026-35331
Security:	CVE-2026-35332
Security:	CVE-2026-35333
Security:	CVE-2026-35334
Sponsored by:	UNIS Labs
MFH:		2026Q2
3b628bd6b8
Vladimir Druzenko (vvd) · 6.0.5_1
security/strongswan: Enable ML plugin by default to allow Post-Quantum Key Exchange Methods

Currently ML-DSA (used for Digital Signatures) is a draft in strongswan
(ETA Version 6.1.0 or later). So CNSA 2.0 cannot be fully supported yet.
https://linux-ipsec.org/slides/2025/steffen-pqc-auth-for-ikev2.pdf
But most firewalls (Palo Alto / Fortigate) already support ML-KEM Key
Exchange in addition to standard proposals.
E.g. aes128gcm16-ecp256-ke1_mlkem512.

More details:
https://docs.strongswan.org/docs/latest/config/proposals.html

PR:		294305
Approved by:	strongswan@Nanoteq.com (maintainer, timeout 2 weeks)
Sponsored by:	UNIS Labs
fb347f7775
Vladimir Druzenko (vvd) · 6.0.5
security/strongswan: Update 6.0.4 => 6.0.5 (CVE-2026-25075)

Changelog:
https://github.com/strongswan/strongswan/releases/tag/6.0.5

While here:
- Switch from post-install + "if PORT_OPTIONS:MVICI" to
  post-install-VICI-on.
- Add option FIPS_PRF - software implementation plugin.
- Improve plist.
- Refresh patches.

Reported by:	Mike Bressem <mike@bressem.com> (via email)
Approved by:	blanket (fix CVE)
Security:	CVE-2026-25075
Sponsored by:	UNIS Labs
MFH:		2026Q2
2d6221ae7d
Vladimir Druzenko (vvd) · 6.0.4
security/strongswan: Update 6.0.3 => 6.0.4

Changelog:
https://github.com/strongswan/strongswan/releases/tag/6.0.4

PR:		293003
Approved by:	strongswan@Nanoteq.com (maintainer, timeout > 3 weeks)
MFH:		2026Q1
f1fee394ea
Daniel Engberg (diizzy) · 6.0.3_1
security/strongswan: Fix plist

Error: Orphaned: %%ETCDIR%%.d/iptfs.conf.sample
Error: Orphaned: %%DATADIR%%/templates/config/strongswan.d/iptfs.conf

PR:		290828
Approved by:	blanket, just fix it
5b3e57e136
R. Christian McDonald (rcm) · 6.0.3
security/strongswan: Update to 6.0.3

ChangeLog:
https://github.com/strongswan/strongswan/releases/tag/6.0.3

PR:		290578
Reviewed by:	brd
MFH:		2025Q4
Security:	CVE-2025-62291
Sponsored by:	Rubicon Communications, LLC ("Netgate")
c3584a2ee5
Kurt Jaeger (pi) · 6.0.1
security/strongswan: update 6.0.0 -> 6.0.1

PR:		286928
Changes:	https://github.com/strongswan/strongswan/releases/tag/6.0.1
Approved by:	strongswan@Nanoteq.com (maintainer timeout)
4ebd4846a1
Vladimir Druzenko (vvd) · 6.0.0_1
security/strongswan: Allow old stroke interface to be enabled

Note that strongSwan has deprecated the stroke management interface for
years, and it is recommended to migrate the configuration to vici before
it is removed.

PR:	285049
de8342c344
Vladimir Druzenko (vvd) · 6.0.0
security/strongswan: Update 5.9.14 => 6.0.0

Changelog:
https://github.com/strongswan/strongswan/releases/tag/6.0.0

Remove GNU_CONFIGURE_MANPREFIX.

PR:	284947
68fd439e6a
Olivier Cochard (olivier) · 5.9.14
security/strongswan: fix build on current

Backport upstream commit a7f617ab3328153939cb757a5cf9001071ef8720

PR:		280435
Approved by:	kwf@nanoteq.com (maintainer)
825afe0bb4
Fernando Apesteguía (fernape) · 5.9.14
security/strongswan: Update to 5.9.14

ChangeLog: https://github.com/strongswan/strongswan/releases/tag/5.9.14

PR:		278137
Reported by:	jlduran@gmail.com
Approved by:	strongswan@Nanoteq.com (maintainer, timeout > 2 weeks)
32cab2d7dc
Muhammad Moinur Rahman (bofh) · 5.9.13_1
security/strongswan: Moved man to share/man

Approved by:    portmgr (blanket)
53f3494abb
Fernando Apesteguía (fernape) · 5.9.13
security/strongswan: Update to 5.9.13

ChangeLog: https://github.com/strongswan/strongswan/releases/tag/5.9.13

PR:		275620
Reported by:	jlduran@gmail.com
MFH:		2023Q4 (security fix)
Security:	CVE-2023-41913
9d8accbe0c
Eugene Grosbein (eugen) · 5.9.11_3
security/strongswan: fix CVE-2023-41913

This is urgent change adding official patch
https://download.strongswan.org/security/CVE-2023-41913/strongswan-5.9.7-5.9.11_charon_tkm_dh_len.patch
that is identical to the change made for strongswan-5.9.12:
https://github.com/strongswan/strongswan/commit/96d793718955820dfe5e6d8aa6127a34795ae39e

It is upto port maintainer to review and maybe upgrade the port to 5.9.12

Obtained from:	strongSwan
Security:	CVE-2023-41913
4e2c0382dd
Fernando Apesteguía (fernape) · 5.9.11_2
security/strongswan: Explicitly set sysconfdir

This allows for proper substitution in manual pages.

PR:		273138
Reported by:	jlduran@gmail.com
Reviewed by:	strongswan@Nanoteq.com (maintainer timeout > 2 weeks)
f7f38560ce
Fernando Apesteguía (fernape) · 5.9.11_1
security/strongswan: Fix route installation

cherry-pick upstream commit a619356 to fix route installation on FreeBSD

PR:		272841
Reported by:	matteo@FreeBSD.org
Approved by:	strongswan@Nanoteq.com (maintainer)
ab5ef1b273
Fernando Apesteguía (fernape) · 5.9.11
security/strongswan: Update to 5.9.11

ChangeLog: https://github.com/strongswan/strongswan/releases/tag/5.9.11

PR:		272739
Reported by:	matteo@FreeBSD.org
Approved by:	strongswan@Nanoteq.com (maintainer)
7409da5ebd
Fernando Apesteguía (fernape) · 5.9.10_1
security/strongswan: Fix  TLS 1.2 in EAP-TLS plugin

Cherry pick commit from upstream.

PR:		270380
Reported by:	dronmbi@gtn.ru
Approved by:	strongswan@Nanoteq.com (maintainer)
e27bfba4d7
Kurt Jaeger (pi) · 5.9.10
security/strongswan: upgrade 5.9.9 -> 5.9.10 to fix CVE-2023-26463

See also:
  https://www.strongswan.org/blog/2023/03/02/strongswan-vulnerability-(cve-2023-26463).html

PR:		269976
Approved-by:	Francois ten Krooden <strongswan@Nanoteq.com> (maintainer)
Changelog:	https://github.com/strongswan/strongswan/releases/tag/5.9.10
0cc82a4810
Eugene Grosbein (eugen) · 5.9.9_2
security/strongswan: fix CVE-2023-26463

This is urgent change adding official patch
https://download.strongswan.org/security/CVE-2023-26463/strongswan-5.9.8-5.9.9_tls_auth_bypass_exp_pointer.patch

It is upto port maintainer to review and maybe upgrade
the port to 5.9.10.

Obtained from:	strongSwan
Security:	CVE-2023-26463
c703ad728b
Muhammad Moinur Rahman (bofh) · 5.9.9_1
Mk/**ldap.mk: Convert USE_LDAP to USES=ldap

Convert the USE_LDAP=yes to USES=ldap and adds the following features:

- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
  RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features

Reviewed by:	delphij
Approved by:	portmgr
Differential Revision: https://reviews.freebsd.org/D38233
6e1233be22
Fernando Apesteguía (fernape) · 5.9.9_1
security/strongswan: Remove --with-lib-prefix

Remove flag already in the default option.

PR:		268918
Reported by:	jlduran@gmail.com
Approved by:	strongswan@Nanoteq.com (maintainer, implicit in PR)
a06d577338
Fernando Apesteguía (fernape) · 5.9.9
security/strongswan: Update to 5.9.9

ChangeLog: https://github.com/strongswan/strongswan/releases/tag/5.9.9

PR:		268918 262743
Reported by:	jlduran@gmail.com
Approved by:	strongswan@Nanoteq.com (maintainer)
9428654776
Nuno Teixeira (eduardo) · 5.9.8_1
security/strongswan: Add GCM option to OPTIONS_DEFAULT

Avoid the message:

 "plugin 'gcm': failed to load - gcm_plugin_create not found and no
 plugin file available"

 According to strongSwan's 5.9.8 release notes[1]:

 The gcm plugin has been enabled by default, so that the TLS 1.3 unit
 tests (now indirectly enabled if the pki tool is built due to the
 implementation of EST) can be completed successfully with just the
 default plugins.

 Let's also enable it by default.

 [1]: https://github.com/strongswan/strongswan/releases/tag/5.9.8

PR:		267352
a0103c803b
Fernando Apesteguía (fernape) · 5.9.8
security/strongswan: update to 5.9.8

ChangeLog: https://github.com/strongswan/strongswan/releases/tag/5.9.8

Fixes CVE-2022-40617.

PR:		267037
Reported by:	franco@opnsense.org
Approved by:	strongswan@Nanoteq.com (maintainer, implicit)
MFH:		2022Q4	(security update)
Security:	CVE-2022-40617 DoS attack vulnerability
a28166f3b1
Stefan Eßer (se) · 5.9.6_2
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 5.9.6_2
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Fernando Apesteguía (fernape) · 5.9.6_2
security/strongswan: Fix key derivation

An issue in the upstream port causes key derivation to fail in version 5.9.6.
A work around is to enable the KDF pluging by default.

PR:	264667
Reported by:	strongswan@Nanoteq.com (maintainer)
4e7ee356bb
Dries Michiels (driesm) · 5.9.6_1
security/strongswan: add CTR plugin option

PR:		264354
Approved by:	Francois ten Krooden (maintainer)
b3a2477de7
Dries Michiels (driesm) · 5.9.6
security/strongswan: Update to 5.9.6

Changes:	https://github.com/strongswan/strongswan/releases/tag/5.9.6

PR:		263748
Approved by:	Francois ten Krooden (maintainer)
b591672ecc
Dries Michiels (driesm) · 5.9.5
security/strongswan: Update to 5.9.5

Changes:	https://github.com/strongswan/strongswan/releases/tag/5.9.5
PR:		261462
Approved by:	Francois ten Krooden <strongswan@Nanoteq.com> (maintainer)
MFH:		2022Q1
Security:	CVE-2021-45079
f642535800
Li-Wen Hsu (lwhsu) · 5.9.4
security/strongswan: Update to 5.9.4

Security & Bugfix Update to 5.9.4:
- Changelog: https://github.com/strongswan/strongswan/releases/tag/5.9.4
- While here change repos to https
- Fix CVE-2021-41990: https://www.strongswan.org/blog/2021/10/18/strongswan-vulnerability-(cve-2021-41990).html
- Fix CVE-2021-41991: https://www.strongswan.org/blog/2021/10/18/strongswan-vulnerability-(cve-2021-41991).html

PR:		259267
Approved by:	strongswan@Nanoteq.com (maintainer)
MFH:		2021Q4
eead2ddf75
Guangyuan Yang (ygy) · 5.9.3
security/strongswan: Update to 5.9.3

Changelog:	https://github.com/strongswan/strongswan/releases/tag/5.9.3

PR:		257564
Approved by:	strongswan@Nanoteq.com (maintainer)
4a836720c7
Juraj Lutter (otis) · 5.9.2_2
security/strongswan: Fix default control-interface

Fix default control-interface in rc.d script and also
make it user-selectable at build time, defaulting to VICI.

Also mention this change in pkg-message, as previously the
default was "stroke" and it was changed to "vici" with
only a short notice in UPDATING, that was not displayed
when using binary upgrades.

Committing a portfmt'd version.

PR:		255952
Approved by:	strongswan@Nanoteq.com (maintainer)
0ca8849103
Mathieu Arnold (mat) · 5.9.2_1
all: Remove all other $FreeBSD keywords.
135fdeebb9
Mathieu Arnold (mat) · 5.9.2_1
Remove # $FreeBSD$ from Makefiles.
305f148f48
Dmitry Marakasov (amdmi3) · 5.9.2_1
security/strongswan: use "vici" interface instead of deprecated "stroke" by default

Add UPDATING entry with migration instruction.

PR:		249865
Submitted by:	driesm.michiels@gmail.com
Approved by:	strongswan@nanoteq.com (maintainer)
ca2eb5c646
Fernando Apesteguía (fernape) · 5.9.2
security/strongswan: Update to 5.9.2

ChangeLog: https://wiki.strongswan.org/versions/80

While here, pet linters

PR:	254047
Submitted by:	jlduran@gmail.com
Approved by:	strongswan@Nanoteq.com (maintainer)
1f6e853221
Joseph Mingrone (jrm) · 5.9.1
security/strongswan: Update to version 5.9.1

Changelog: https://wiki.strongswan.org/versions/79

PR:		252202
Submitted by:	Jose Luis Duran <jlduran@gmail.com>
Approved by:	strongswan@nanoteq.com (maintainer)
208eaad339
Kurt Jaeger (pi) · 5.9.0
security/strongswan: update 5.8.4 -> 5.9.0

- Also link the tpm2-tss package for testing with the TPM plugin:
  https://wiki.strongswan.org/projects/strongswan/wiki/TpmPlugin

PR:		249470
Submitted by:	Jose Luis Duran <jlduran@gmail.com>
Approved by:	strongswan@Nanoteq.com (maintainer)
Relnotes:	https://wiki.strongswan.org/versions/78
d5dae03b67
Fernando Apesteguía (fernape) · 5.8.4_1
security/strongswan: Add TEST_TARGET

make test passes OK

PR:	246535
Submitted by:	jlduran@gmail.com
Reviewed by:	strongswan@Nanoteq.com (maintainer)
7a792acc12
Renato Botelho (garga) · 5.8.4
security/strongswan: Update to 5.8.4

PR:		245199
Submitted by:	Jose Luis Duran <jlduran@gmail.com>
Approved by:	strongswan@Nanoteq.com (maintainer)
Sponsored by:	Rubicon Communications, LLC (Netgate)
b69b2fb8da
Jochen Neumeister (joneum) · 5.8.3
Update to 5.8.3

PR:		245087
Sponsored by:	Netzkommune GmbH
2099740570
Mateusz Piotrowski (0mp) · 5.8.2_1
security/strongswan: Add PYTHON plugin option for a VICI protocol plugin

PR:		243254
Submitted by:	Dries Michiels <driesm.michiels@gmail.com>
Approved by:	maintainer
Event:		Brussels DevSummit 2020
26827296ac
Koichiro Iwao (meta) · 5.8.2_1
security/strongswan: load ipsec kernel module by rc script

From the following discussion: https://reviews.freebsd.org/D20163
It makes sense to add ipsec as required module for the rc script
of strongSwan.

PR:		243316
Submitted by:	Dries Michiels <driesm.michiels@gmail.com>
Approved by:	maintainer
62ce674158