| Port details on branch 2026Q2 |
- mbedtls4 Embedded SSL/TLS and cryptography library
- 4.2.0 security
=0 4.1.0_1Version of this port present on the latest quarterly branch. - Maintainer: pkaipila@gmail.com
 - Port Added: 2026-04-10 18:17:40
- Last Update: 2026-07-08 13:58:19
- Commit Hash: 9a070ee
- Also Listed In: devel
- License: APACHE20 GPLv2+
- WWW:
- https://www.trustedfirmware.org/projects/mbed-tls/
- Description:
- mbed TLS is a lightweight, portable, fully featured and standards compliant
SSL/TLS and cryptography library.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- mbedtls4>0:security/mbedtls4
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/security/mbedtls4/ && make install clean
- To add the package, run one of these commands:
- pkg install security/mbedtls4
- pkg install mbedtls4
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: mbedtls4
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1783502665
SHA256 (mbedtls-4.2.0.tar.bz2) = 2bed9d713b4668f76553b097e72b8aa30bc8f112a940d7ae228d524bbde6ffea
SIZE (mbedtls-4.2.0.tar.bz2) = 7395873
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- This port is required by:
- for Libraries
-
- www/hiawatha
Configuration Options:
- ===> The following configuration options are available for mbedtls4-4.2.0:
DEBUG=off: Build with debugging support
===> Use 'make config' to modify these settings
- Options name:
- security_mbedtls4
- USES:
- cmake:testing python:build,test shebangfix tar:bz2
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
4.2.0 08 Jul 2026 13:58:19
    |
Vladimir Druzenko (vvd)  Author: Paavo-Einari Kaipila |
security/mbedtls4: Update 4.1.0 => 4.2.0 (fix 10 CVEs)
Changelog:
https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-4.2.0
- Parametrize PKGNAMESUFFIX.
- Improve PORTSCOUT.
PR: 296595
Security: CVE-2026-50581
Security: CVE-2026-50640
Security: CVE-2026-50580
Security: CVE-2026-50586
Security: CVE-2026-50588
Security: CVE-2026-50579
Security: CVE-2026-54441
Security: CVE-2026-50585
Security: CVE-2026-25832
Security: CVE-2026-49300
Sponsored by: UNIS Labs
MFH: 2026Q2
(cherry picked from commit 2162d1df3425fc85695529db4ba754c57766aab1) |
4.1.0_1 30 Apr 2026 15:17:37
    |
Vladimir Druzenko (vvd)  Author: Fabian Keil |
security/mbedtls4: Apply upstream fix for a TLS 1.2 client regression
TLS 1.2 client regression that caused valid ServerKeyExchange signatures
using rsa_pss_rsae_* to be rejected:
https://github.com/Mbed-TLS/mbedtls/issues/10668
https://github.com/Mbed-TLS/mbedtls/commit/5fc28f401666f3ab3338168f6dcee71e6b468a4e
While at it, add a DEBUG option that was useful to figure out the
problem.
PR: 294776
Sponsored by: UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
MFH: 2026Q2
(cherry picked from commit 12d2ebc10b688232d9e0928c180512d30d445414) |
4.1.0 10 Apr 2026 16:48:18
    |
Yusuf Yaman (nxjoseph)  Author: Paavo-Einari Kaipila |
security/mbedtls4: Update 4.0.0 => 4.1.0 (security)
While here, sort pkg-plist.
Changelog:
https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-4.1.0
PR: 294301
Reported by: Paavo-Einari Kaipila <pkaipila@gmail.com> (maintainer)
Approved by: osa, vvd (mentors)
MFH: 2026Q2
Security: CVE-2026-25833
Security: CVE-2026-25834
(cherry picked from commit 0f67f38ce6bf226f8a8414c6950d5f90e75499e9) |