Security Advisory

CVE-2021-3177

CVE vulnerability detail — eXtreme Datacenter Security Operations

Published 2021-01-19 00:00:00
Last updated 2025-12-18 15:03:34
Assigner mitre
State PUBLISHED

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.