Skip to content

Commit e185d7f

Browse files
Merge pull request #1428 from Mbed-TLS/mbedtls-3.6.5rc0-pr
Mbedtls 3.6.5RC
2 parents 299ce78 + b1db320 commit e185d7f

File tree

133 files changed

+173803
-464
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+173803
-464
lines changed

BRANCHES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ The following branches are currently maintained:
108108
- [`development`](https://github.com/Mbed-TLS/mbedtls/)
109109
- [`mbedtls-3.6`](https://github.com/Mbed-TLS/mbedtls/tree/mbedtls-3.6)
110110
maintained until March 2027, see
111-
<https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.6.3>.
111+
<https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.6.5>.
112112

113113
> Note: [**`mbedtls-2.28.10`**](https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.10)
114114
is the last release of the 2.28 LTS and won't receive bug fixes or security fixes anymore.

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ cmake_policy(SET CMP0012 NEW)
4040
if(TEST_CPP)
4141
project("Mbed TLS"
4242
LANGUAGES C CXX
43-
VERSION 3.6.4
43+
VERSION 3.6.5
4444
)
4545
else()
4646
project("Mbed TLS"
4747
LANGUAGES C
48-
VERSION 3.6.4
48+
VERSION 3.6.5
4949
)
5050
endif()
5151

@@ -73,7 +73,7 @@ if(CMAKE_HOST_WIN32)
7373
# CMakeLists.txt.
7474
option(GEN_FILES "Generate the auto-generated files as needed" OFF) # off in development
7575
else()
76-
option(GEN_FILES "Generate the auto-generated files as needed" ON)
76+
option(GEN_FILES "Generate the auto-generated files as needed" OFF)
7777
endif()
7878

7979
option(DISABLE_PACKAGE_CONFIG_AND_INSTALL "Disable package configuration, target export and installation" ${MBEDTLS_AS_SUBPROJECT})
@@ -476,7 +476,7 @@ if(NOT DISABLE_PACKAGE_CONFIG_AND_INSTALL)
476476
write_basic_package_version_file(
477477
"cmake/MbedTLSConfigVersion.cmake"
478478
COMPATIBILITY SameMajorVersion
479-
VERSION 3.6.4)
479+
VERSION 3.6.5)
480480

481481
install(
482482
FILES "${CMAKE_CURRENT_BINARY_DIR}/cmake/MbedTLSConfig.cmake"

ChangeLog

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
11
Mbed TLS ChangeLog (Sorted per branch, date)
22

3+
= Mbed TLS 3.6.5 branch released 2025-10-15
4+
5+
API changes
6+
* When building the library as a PSA client (MBEDTLS_PSA_CRYPTO_CLIENT
7+
enabled and MBEDTLS_PSA_CRYPTO_C disabled), you need to provide the
8+
function psa_can_do_cipher() in addition to psa_can_do_hash(). This
9+
changed was made in Mbed TLS 3.6.0 but was not announced then.
10+
11+
Features
12+
* The new function mbedtls_cipher_finish_padded() is similar to
13+
mbedtls_cipher_finish(), but makes it easier to process invalid-padding
14+
conditions in constant time.
15+
16+
Security
17+
* Fix a timing side channel in CBC-PKCS7 decryption that could
18+
allow an attacker who can submit chosen ciphertexts to recover
19+
some plaintexts through a timing-based padding oracle attack.
20+
Credits to Beat Heeb from Oberon microsystems AG. CVE-2025-59438
21+
* Fix a local timing side-channel in modular inversion and GCD that was
22+
exploitable in RSA key generation and other RSA operations (see the full
23+
advisory for details), allowing a local attacker to fully recover the
24+
private key. This can be exploited on some Arm-v9 CPUs by an unprivileged
25+
attacker running code on the same core (SSBleed), or when Trustzone-M is
26+
used, by the non-secure side abusing timer interrupts (M-Step), and
27+
probably in other similar settings as well. Found and reported
28+
independently by: SSBleed: Chang Liu (Tsinghua University) and Trevor E.
29+
Carlson (National University of Singapore); M-Step: Cristiano Rodrigues
30+
(University of Minho), Marton Bognar (DistriNet, KU Leuven), Sandro Pinto
31+
(University of Minho), Jo Van Bulck (DistriNet, KU Leuven). CVE-2025-54764
32+
33+
Bugfix
34+
* Fix potential CMake parallel build failure when building both the static
35+
and shared libraries.
36+
* Fix a build error or incorrect TLS session
37+
lifetime on platforms where mbedtls_time_t
38+
is not time_t. Fixes #10236.
39+
40+
Changes
41+
* The function mbedtls_mpi_gcd() now always gives a non-negative output.
42+
Previously the output was negative when B = 0 and A < 0, which was not
43+
documented, and inconsistent as all other inputs resulted in a non-negative
44+
output.
45+
346
= Mbed TLS 3.6.4 branch released 2025-06-30
447

548
Features

ChangeLog.d/fix-dependency-on-generated-files.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

ChangeLog.d/psa_can_do_cipher.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

ChangeLog.d/replace_time_t.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ generated_files: visualc_files
7171
# that lacks some of the necessary tools to re-generate the files.
7272
# If $(GEN_FILES) is non-empty, the generated source files' dependencies
7373
# are treated ordinarily, based on file timestamps.
74-
GEN_FILES ?= yes
74+
GEN_FILES ?=
7575

7676
# In dependencies where the target is a configuration-independent generated
7777
# file, use `TARGET: $(gen_file_dep) DEPENDENCY1 DEPENDENCY2 ...`

doxygen/input/doc_mainpage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111

1212
/**
13-
* @mainpage Mbed TLS v3.6.4 API Documentation
13+
* @mainpage Mbed TLS v3.6.5 API Documentation
1414
*
1515
* This documentation describes the internal structure of Mbed TLS. It was
1616
* automatically generated from specially formatted comment blocks in

doxygen/mbedtls.doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PROJECT_NAME = "Mbed TLS v3.6.4"
1+
PROJECT_NAME = "Mbed TLS v3.6.5"
22
OUTPUT_DIRECTORY = ../apidoc/
33
FULL_PATH_NAMES = NO
44
OPTIMIZE_OUTPUT_FOR_C = YES

0 commit comments

Comments
 (0)