CVE-2021-3177

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3177
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3177.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-3177
Aliases
Downstream
Related
Published
2021-01-19T06:15:12Z
Modified
2025-10-07T23:36:20.421206Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Python 3.x through 3.9.1 has a buffer overflow in PyCArgrepr 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 cdouble.from_param. This occurs because sprintf is used unsafely.

References

Affected packages

Git / github.com/python/cpython