Skip to content

Narrow PYSEC-2026-217 to mariadb releases that bundle an affected Connector/C - #417

Open
hnwg wants to merge 2 commits into
pypa:mainfrom
hnwg:narrow-pysec-2026-217
Open

hnwg wants to merge 2 commits into
pypa:mainfrom
hnwg:narrow-pysec-2026-217

Conversation

@hnwg

@hnwg hnwg commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #400.

The range in this advisory used Connector/C versions, so all mariadb releases got flagged. Removing it would conceal an actual problem, as the Windows wheels bundle Connector/C statically. I downloaded a win_amd64 wheel for each of the releases and checked what version of Connector/C was built into _mariadb.pyd:

  • up to 1.1.0rc1: Connector/C 3.1.6 to 3.3.0, not affected
  • 1.1.2 to 1.1.14: Connector/C 3.3.1 to 3.4.7, affected (upstream range is 3.3.1-3.3.18 and 3.4.1-3.4.8)
  • 1.1.15: Connector/C 3.4.11, not affected

This sets introduced: 1.1.2 and fixed: 1.1.15. 1.1.15 was released to PyPI on 2026-11-09; the Connector/C version included in its win_amd64 wheel is 3.4.11 (after the 3.4.9 fix).

Linux and macOS users build from the sdist against the system libmariadb, so for them the mariadb version says nothing. This means the entry can only describe the wheels.

@hnwg

hnwg commented Nov 20, 2026

Copy link
Copy Markdown
Contributor Author

@sethmlarson Could you take a look when you get a chance? It only narrows PYSEC-2026-217 to the mariadb releases that bundle an affected Connector/C.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PYSEC-2026-217: version ranges refer to MariaDB Connector/C, not the PyPI package "mariadb"

1 participant