Skip to content

numcodecs pickle codec security advisory #4539

Closed

Description

@d-v-b

numcodecs issued a security advisory concerning the possibility that an attacker can leverage the pickle codec decode method to run arbitrary code on a target. see GHSA-jqc8-qjfv-5m6r. To mitigate this we patched numcodecs and cut 3 releases: 0.17.1, 0.16.6, and 0.15.2

For zarr, I propose the following steps:

  • we bump our numcodecs min to 0.16.6
  • we add runtime code that refuses the pickle codec unless the user opts in explicitly. i think there's a PR up already that does this
  • we issue a 2.x patch release that bumps the minimum numcodecs version to 0.15.2, for folks who haven't upgraded yet

lmk if anyone wants to help with this, otherwise I can take it on

Activity

  1. added 2 commits that reference this issue on Oct 26, 2026
  2. d-v-b commented on Nov 2, 2026

    @d-v-b
    ContributorAuthor

    closing as completed via the 3.4.2 release. i don't think we need to backport the numcodecs version min to 2.x, happy to re-open if anyone desperately needs that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions