Skip to content

Commit 1b908e1

Browse files
authored
gh-162577: Update zstd to 1.6.0 on Android, iOS, and Windows (#162579)
1 parent 8c68eb4 commit 1b908e1

7 files changed

Lines changed: 11 additions & 9 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Update ``zstd`` to v1.6.0 in Android, iOS, and Windows builds to address
2+
:cve:`2026-124851`.

‎Misc/externals.spdx.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,21 +196,21 @@
196196
"checksums": [
197197
{
198198
"algorithm": "SHA256",
199-
"checksumValue": "f24b52470d12f466e9fa4fcc94e6c530625ada51d7b36de7fdc6ed7e6f499c8e"
199+
"checksumValue": "eb34eed79af88b8dd7c07481d55192520b9545f865416c31c828b96b01d335d3"
200200
}
201201
],
202-
"downloadLocation": "https://github.com/python/cpython-source-deps/archive/refs/tags/zstd-1.5.7.tar.gz",
202+
"downloadLocation": "https://github.com/python/cpython-source-deps/archive/refs/tags/zstd-1.6.0.tar.gz",
203203
"externalRefs": [
204204
{
205205
"referenceCategory": "SECURITY",
206-
"referenceLocator": "cpe:2.3:a:facebook:zstandard:1.5.7:*:*:*:*:*:*:*",
206+
"referenceLocator": "cpe:2.3:a:facebook:zstandard:1.6.0:*:*:*:*:*:*:*",
207207
"referenceType": "cpe23Type"
208208
}
209209
],
210210
"licenseConcluded": "NOASSERTION",
211211
"name": "zstd",
212212
"primaryPackagePurpose": "SOURCE",
213-
"versionInfo": "1.5.7"
213+
"versionInfo": "1.6.0"
214214
}
215215
],
216216
"spdxVersion": "SPDX-2.3"

‎PCbuild/get_externals.bat‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tcl-9.0.4.0
6161
if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tk-9.0.4.1
6262
set libraries=%libraries% xz-5.8.1.1
6363
set libraries=%libraries% zlib-ng-2.2.5
64-
set libraries=%libraries% zstd-1.5.7
64+
set libraries=%libraries% zstd-1.6.0
6565

6666
for %%e in (%libraries%) do (
6767
if exist "%EXTERNALS_DIR%\%%e" (

‎PCbuild/python.props‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
<nasmDir Condition="$(nasmDir) == ''">$(ExternalsDir)\nasm-2.11.06\</nasmDir>
112112
<zlibDir Condition="$(zlibDir) == ''">$(ExternalsDir)\zlib-1.3.1\</zlibDir>
113113
<zlibNgDir Condition="$(zlibNgDir) == ''">$(ExternalsDir)\zlib-ng-2.2.5\</zlibNgDir>
114-
<zstdDir Condition="$(zstdDir) == ''">$(ExternalsDir)\zstd-1.5.7\</zstdDir>
114+
<zstdDir Condition="$(zstdDir) == ''">$(ExternalsDir)\zstd-1.6.0\</zstdDir>
115115
</PropertyGroup>
116116

117117
<PropertyGroup>

‎PCbuild/readme.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ _tkinter
260260
is able to load Tcl/Tk without having to change your PATH.
261261

262262
_zstd
263-
Python wrapper for version 1.5.7 of the zstd compression library
263+
Python wrapper for version 1.6.0 of the zstd compression library
264264
Homepage:
265265
https://facebook.github.io/zstd/
266266

‎Platforms/Android/__main__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def unpack_deps(host, prefix_dir, cache_dir):
227227
"openssl-3.5.9-0",
228228
"sqlite-3.53.4-0",
229229
"xz-5.4.6-1",
230-
"zstd-1.5.7-2"
230+
"zstd-1.6.0-0"
231231
]:
232232
filename = f"{name_ver}-{host}.tar.gz"
233233
out_path = download(f"{deps_url}/{name_ver}/{filename}", cache_dir)

‎Platforms/Apple/__main__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ def unpack_deps(
418418
"OpenSSL-3.5.9-1",
419419
"XZ-5.6.4-2",
420420
"mpdecimal-4.0.0-2",
421-
"zstd-1.5.7-1",
421+
"zstd-1.6.0-1",
422422
]:
423423
filename = f"{name_ver.lower()}-{apple_target(host)}.tar.gz"
424424
archive_path = download(

0 commit comments

Comments
 (0)