Download Latest Version v2.5.4_ Fix msgpack CVE-2026-57585 and ujson crashes source code.zip (309.9 kB) Google Add to Preferred Sources
Home / release-v2.5.4
Name Modified Size InfoDownloads / Week
Parent folder
srsly-2.5.4-cp39-cp39-macosx_10_9_x86_64.whl 2026-09-27 685.8 kB
srsly-2.5.4-cp39-cp39-macosx_11_0_arm64.whl 2026-09-27 686.5 kB
srsly-2.5.4-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp39-cp39-musllinux_1_2_aarch64.whl 2026-09-27 1.1 MB
srsly-2.5.4-cp39-cp39-musllinux_1_2_x86_64.whl 2026-09-27 1.1 MB
srsly-2.5.4-cp39-cp39-win_amd64.whl 2026-09-27 675.6 kB
srsly-2.5.4-cp39-cp39-win_arm64.whl 2026-09-27 669.3 kB
srsly-2.5.4-cp310-cp310-macosx_10_9_x86_64.whl 2026-09-27 685.0 kB
srsly-2.5.4-cp310-cp310-macosx_11_0_arm64.whl 2026-09-27 685.8 kB
srsly-2.5.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp310-cp310-musllinux_1_2_aarch64.whl 2026-09-27 1.1 MB
srsly-2.5.4-cp310-cp310-musllinux_1_2_x86_64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp310-cp310-win_amd64.whl 2026-09-27 674.9 kB
srsly-2.5.4-cp310-cp310-win_arm64.whl 2026-09-27 668.7 kB
srsly-2.5.4-cp311-cp311-macosx_10_9_x86_64.whl 2026-09-27 684.2 kB
srsly-2.5.4-cp311-cp311-macosx_11_0_arm64.whl 2026-09-27 684.8 kB
srsly-2.5.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp311-cp311-musllinux_1_2_aarch64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp311-cp311-musllinux_1_2_x86_64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp311-cp311-win_amd64.whl 2026-09-27 674.4 kB
srsly-2.5.4-cp311-cp311-win_arm64.whl 2026-09-27 668.5 kB
srsly-2.5.4-cp312-cp312-macosx_10_13_x86_64.whl 2026-09-27 685.5 kB
srsly-2.5.4-cp312-cp312-macosx_11_0_arm64.whl 2026-09-27 685.4 kB
srsly-2.5.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp312-cp312-musllinux_1_2_aarch64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp312-cp312-musllinux_1_2_x86_64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp312-cp312-win_amd64.whl 2026-09-27 674.3 kB
srsly-2.5.4-cp312-cp312-win_arm64.whl 2026-09-27 667.6 kB
srsly-2.5.4-cp313-cp313-macosx_10_13_x86_64.whl 2026-09-27 684.3 kB
srsly-2.5.4-cp313-cp313-macosx_11_0_arm64.whl 2026-09-27 683.8 kB
srsly-2.5.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp313-cp313-musllinux_1_2_aarch64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp313-cp313-musllinux_1_2_x86_64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp313-cp313-win_amd64.whl 2026-09-27 672.3 kB
srsly-2.5.4-cp313-cp313-win_arm64.whl 2026-09-27 666.5 kB
srsly-2.5.4-cp314-cp314-macosx_10_15_x86_64.whl 2026-09-27 685.0 kB
srsly-2.5.4-cp314-cp314-macosx_11_0_arm64.whl 2026-09-27 684.5 kB
srsly-2.5.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp314-cp314-musllinux_1_2_aarch64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp314-cp314-musllinux_1_2_x86_64.whl 2026-09-27 1.2 MB
srsly-2.5.4-cp314-cp314-win_amd64.whl 2026-09-27 674.2 kB
srsly-2.5.4-cp314-cp314-win_arm64.whl 2026-09-27 668.6 kB
srsly-2.5.4-cp314-cp314t-macosx_10_15_x86_64.whl 2026-09-27 690.3 kB
srsly-2.5.4-cp314-cp314t-macosx_11_0_arm64.whl 2026-09-27 691.0 kB
srsly-2.5.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl 2026-09-27 1.3 MB
srsly-2.5.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl 2026-09-27 1.3 MB
srsly-2.5.4-cp314-cp314t-musllinux_1_2_aarch64.whl 2026-09-27 1.3 MB
srsly-2.5.4-cp314-cp314t-musllinux_1_2_x86_64.whl 2026-09-27 1.3 MB
srsly-2.5.4-cp314-cp314t-win_amd64.whl 2026-09-27 682.7 kB
srsly-2.5.4-cp314-cp314t-win_arm64.whl 2026-09-27 676.0 kB
srsly-2.5.4.tar.gz 2026-09-27 509.7 kB
README.md 2026-09-27 1.3 kB
v2.5.4_ Fix msgpack CVE-2026-57585 and ujson crashes source code.tar.gz 2026-09-27 245.3 kB
v2.5.4_ Fix msgpack CVE-2026-57585 and ujson crashes source code.zip 2026-09-27 309.9 kB
Totals: 60 Items   53.8 MB 45

Security fix for the vendored msgpack, plus fixes for crashes in the vendored ujson.

Security

  • Fix CVE-2026-57585 (GHSA-6v7p-g79w-8964) in the vendored msgpack: reusing an srsly.msgpack.Unpacker after a failed unpack could crash the process. Backports the upstream msgpack-python fix. The high-level helpers such as srsly.msgpack_loads create a new unpacker for each call, so they were not exposed. (#124, [#127])

Bug fixes

  • Fix a segfault on Python 3.14 when calling srsly.ujson.dumps(..., sort_keys=True) on a dict. (#128)
  • Fix a segfault on all Python versions when srsly.ujson.dumps(..., sort_keys=True) is given keys that can't be sorted, such as {1: 1, "a": 2}. It now raises TypeError, like the standard library json module. (#128)
  • Fix a memory leak in srsly.ujson when encoding a large object fails partway through. (#128)

srsly.json_dumps was not affected by the sort_keys crashes, because it uses the standard library json module when sort_keys=True.

Maintenance

  • Test on Python 3.13 and 3.14 in CI. (#128)
  • Update the vendored cloudpickle tests to match the vendored cloudpickle 3.1.2. (#121, [#126])
  • Remove the publish_pypi workflow from this repository. (#129)
Source: README.md, updated 2026-09-27