Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Android/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def unpack_deps(host, prefix_dir, cache_dir):
"openssl-3.5.9-0",
"sqlite-3.53.4-0",
"xz-5.4.6-1",
"zstd-1.5.7-2"
"zstd-1.6.0-0"
]:
filename = f"{name_ver}-{host}.tar.gz"
out_path = download(f"{deps_url}/{name_ver}/{filename}", cache_dir)
Expand Down
2 changes: 1 addition & 1 deletion Apple/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def unpack_deps(
"OpenSSL-3.5.9-1",
"XZ-5.6.4-2",
"mpdecimal-4.0.0-2",
"zstd-1.5.7-1",
"zstd-1.6.0-1",
]:
filename = f"{name_ver.lower()}-{apple_target(host)}.tar.gz"
archive_path = download(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Update ``zstd`` to v1.6.0 in Android, iOS, and Windows builds to address
:cve:`2026-124851`.
8 changes: 4 additions & 4 deletions Misc/externals.spdx.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,21 +196,21 @@
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "f24b52470d12f466e9fa4fcc94e6c530625ada51d7b36de7fdc6ed7e6f499c8e"
"checksumValue": "eb34eed79af88b8dd7c07481d55192520b9545f865416c31c828b96b01d335d3"
}
],
"downloadLocation": "https://github.com/python/cpython-source-deps/archive/refs/tags/zstd-1.5.7.tar.gz",
"downloadLocation": "https://github.com/python/cpython-source-deps/archive/refs/tags/zstd-1.6.0.tar.gz",
"externalRefs": [
{
"referenceCategory": "SECURITY",
"referenceLocator": "cpe:2.3:a:facebook:zstandard:1.5.7:*:*:*:*:*:*:*",
"referenceLocator": "cpe:2.3:a:facebook:zstandard:1.6.0:*:*:*:*:*:*:*",
"referenceType": "cpe23Type"
}
],
"licenseConcluded": "NOASSERTION",
"name": "zstd",
"primaryPackagePurpose": "SOURCE",
"versionInfo": "1.5.7"
"versionInfo": "1.6.0"
}
],
"spdxVersion": "SPDX-2.3"
Expand Down
2 changes: 1 addition & 1 deletion PCbuild/get_externals.bat
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tcl-9.0.4.0
if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tk-9.0.4.1
set libraries=%libraries% xz-5.2.5
set libraries=%libraries% zlib-ng-2.2.5
set libraries=%libraries% zstd-1.5.7
set libraries=%libraries% zstd-1.6.0

for %%e in (%libraries%) do (
if exist "%EXTERNALS_DIR%\%%e" (
Expand Down
2 changes: 1 addition & 1 deletion PCbuild/python.props
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<nasmDir Condition="$(nasmDir) == ''">$(ExternalsDir)\nasm-2.11.06\</nasmDir>
<zlibDir Condition="$(zlibDir) == ''">$(ExternalsDir)\zlib-1.3.1\</zlibDir>
<zlibNgDir Condition="$(zlibNgDir) == ''">$(ExternalsDir)\zlib-ng-2.2.5\</zlibNgDir>
<zstdDir Condition="$(zstdDir) == ''">$(ExternalsDir)\zstd-1.5.7\</zstdDir>
<zstdDir Condition="$(zstdDir) == ''">$(ExternalsDir)\zstd-1.6.0\</zstdDir>
</PropertyGroup>

<PropertyGroup>
Expand Down
10 changes: 6 additions & 4 deletions PCbuild/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,12 @@ _tkinter
Win32 and "tcltk64" on x64. They also copy the Tcl and Tk DLLs
into the current output directory, which should ensure that Tkinter
is able to load Tcl/Tk without having to change your PATH.

_zstd
Python wrapper for version 1.6.0 of the zstd compression library
Homepage:
https://facebook.github.io/zstd/

zlib-ng
Compiles zlib-ng as a static library, which is later included by
pythoncore.vcxproj. This was generated using CMake against zlib-ng
Expand All @@ -262,10 +268,6 @@ zlib-ng

Sources for zlib-ng are imported unmodified into our source
repository at https://github.com/python/cpython-source-deps.
_zstd
Python wrapper for version 1.5.7 of the Zstandard compression library
Homepage:
https://facebook.github.io/zstd/


Getting External Sources
Expand Down
Loading