Text of discuss.python.org › t › about-vulnerabilities-in-cpython-native-code › 12935 as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

About vulnerabilities in Cpython native code - Ideas - Discussions on Python.org

About vulnerabilities in Cpython native code Ideas release , help urnotlxr (Urnotlxr) January 6, 2022, 3:24pm 1 Hi all, I am currently doing some research on the security of CPython. I used the open source vulnerability analysis engine, Infer( https://fbinfer.com/ ), to scan the native code of CPython 3.10.0. The scan results show that there are still a number of vulnerabilities in the CPython native code, such as Null dereference, Uninitialized variable, Resource/Memory leak, etc.

Moreover, I found that some of the vulnerabilities are related to Python/C API. I enclose the vulnerability report for your reference. Based on the research of the result, I tried to design a tool to automatically detect and repair vulnerabilities in CPython and make this tool available. See: GitHub - PVMPATCH/PVMPatch: # PVMPATCH: Towards Bug Detection, Rectification and Evolution in Python Virtual Machines Python is my favourite programming language.

I sincerely hope that I can help Python become stronger and safer. I hope this discovery can be useful for you to develop Python in the future. 1 Like