published 19 Jan 2021 · updated 14 Oct 2026
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.
10.0CriticalCVSS 9.8EPSS 24%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 24%. No fixed version is recorded.
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.
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket