Skip to content

chore(deps): update rust crate pyo3 to v0.28.2 [security]#387

Merged
barjin merged 2 commits intomasterfrom
renovate/crate-pyo3-vulnerability
Feb 25, 2026
Merged

chore(deps): update rust crate pyo3 to v0.28.2 [security]#387
barjin merged 2 commits intomasterfrom
renovate/crate-pyo3-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 20, 2026

This PR contains the following updates:

Package Type Update Change
pyo3 dependencies patch 0.28.00.28.2

GitHub Vulnerability Alerts

GHSA-47qc-857f-7w7f

PyO3 0.28.1 added support for #[pyclass(extends=PyList)] struct NativeSub (and other native types) when targeting Python 3.12 and up with the abi3 feature.

It was discovered that subclasses of such classes would use the type of the subclass when attempting to access to data of NativeSub contained within Python objects, amounting to memory corruption.

PyO3 0.28.2 fixed the issue by using the type of (e.g.) NativeSub correctly.


Release Notes

pyo3/pyo3 (pyo3)

v0.28.2

Compare Source

Fixed
  • Fix complex enum __qualname__ not using python name #​5815
  • Fix FFI definition PyType_GetTypeDataSize (was incorrectly named PyObject_GetTypeDataSize). #​5819
  • Fix memory corruption when subclassing native types with abi3 feature on Python 3.12+ (newly enabled in PyO3 0.28.0). #​5823

v0.28.1

Compare Source

Fixed
  • Fix *args / **kwargs support in experimental-async feature (regressed in 0.28.0). #​5771
  • Fix clippy::declare_interior_mutable_const warning inside #[pyclass] generated code on enums. #​5772
  • Fix ambiguous_associated_items compilation error when deriving FromPyObject or using #[pyclass(from_py_object)] macro on enums with Error variant. #​5784
  • Fix __qualname__ for complex #[pyclass] enum variants to include the enum name. #​5796
  • Fix missing std::sync::atomic::Ordering import for targets without atomic64. #​5808

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Feb 25, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@barjin barjin force-pushed the renovate/crate-pyo3-vulnerability branch 2 times, most recently from 39c5fc8 to 6cc6376 Compare February 25, 2026 13:44
@barjin barjin force-pushed the renovate/crate-pyo3-vulnerability branch from 2c65e92 to 104e14d Compare February 25, 2026 19:44
@barjin barjin merged commit e06b122 into master Feb 25, 2026
34 checks passed
@barjin barjin deleted the renovate/crate-pyo3-vulnerability branch February 25, 2026 20:09
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.

1 participant