GHSA-hc96-xw56-vfwhCriticalCVSS 9.8

Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may...

Published
May 24, 2022
Last Modified
October 14, 2026

🔗 CVE IDs covered (1)

📋 Description

Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Python applications that accept floating-point numbers as untrusted input, as demonstrated by a 1e300 argument to c_double.from_param. This occurs because sprintf is used unsafely.

🔗 References (46)