Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

GHSA-47qc-857f-7w7f

PyO3 has type confusion when accessing data from sublasses of subclasses of native types with `abi3` feature
Back to all
CVE

GHSA-47qc-857f-7w7f

PyO3 has type confusion when accessing data from sublasses of subclasses of native types with `abi3` feature

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
-
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://github.com/PyO3/pyo3/pull/5807#issuecomment-3913251784, https://github.com/PyO3/pyo3/commit/75abd8602896b350fd8c778e52e0a74b4644ccca, https://github.com/PyO3/pyo3, https://github.com/PyO3/pyo3/releases/tag/v0.28.2, https://rustsec.org/advisories/RUSTSEC-2026-0013.html

Severity

0

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
0
EPSS Probability
0%
EPSS Percentile
0%
Introduced Version
0.28.0
Fix Available
0.28.2

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading