Skip to content

macOS wheels bundle Brotli 1.1.0 (CVE-2026-111497, fixed in Brotli 1.2.1); please rebuild #1291

Open

Description

@thearchitect0x-glitch

The macOS wheels of opencv-python and opencv-contrib-python 5.0.0.93 (the current release, 2 Jul 2026) bundle Brotli
1.1.0 in cv2/.dylibs/ (libbrotlicommon.1.1.0.dylib, libbrotlidec.1.1.0.dylib, libbrotlienc.1.1.0.dylib),
pulled in through the bundled FreeType.

Brotli's decoder flaw CVE-2026-111497 is fixed upstream in Brotli 1.2.1 (released 21 Oct 2026:
https://github.com/google/brotli/releases/tag/v1.2.1). Pillow has already moved to 1.2.1 for its next release
(python-pillow/Pillow#10340, merged 27 Oct).

Would it be possible to rebuild the macOS wheels against Brotli 1.2.1 or later?

How to see it on a Mac with the wheel installed:

ls "$(python3 -c 'import cv2, os; print(os.path.dirname(cv2.__file__))')/.dylibs" | grep brotli
otool -L "$(python3 -c 'import cv2, os; print(os.path.dirname(cv2.__file__))')/.dylibs/libbrotlidec.1.1.0.dylib"

The second command shows current version 1.1.0.

Disclosure: I help maintain Wardlatch (https://github.com/deimos-hq/wardlatch), a read-only check that flagged this
on my machine.

Activity

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