cvedb.io
CVE-2021-3177
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2021-01-19T06:15:12.967 · Last modified 2026-06-17T04:04:47.457

Summary

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.

Affected products

python — python

Does this affect you?

Add your gear to cvedb and we'll alert you only when python ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.