Live threats

All CVEs / Python

CVE-2021-3177Python

Critical 9.8 No auth neededHigh EPSS

Priority
76
CVSS 3.1
9.8
EPSS
24.0%
probability of exploitation in 30 days · percentile 98
Auth required
No
Published
Jan 19, 2021
Updated
Oct 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-120
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pythonpython≥ 3.6.0 ≤ 3.6.12
pythonpython≥ 3.7.0 ≤ 3.7.9
pythonpython≥ 3.8.0 ≤ 3.8.7
pythonpython≥ 3.9.0 ≤ 3.9.1
fedoraprojectfedora32
fedoraprojectfedora33
netappactive_iq_unified_managerall
netappactive_iq_unified_managerall
netappontap_select_deploy_administration_utilityall
debiandebian_linux9.0
oraclecommunications_cloud_native_core_network_function_cloud_native_environment22.2.0
oraclecommunications_offline_mediation_controller12.0.0.3.0
oraclecommunications_pricing_design_center12.0.0.3.0
oracleenterprise_manager_ops_center12.4.0.0
oraclezfs_storage_appliance_kit8.8

Official sources

References

Links published by the sources. Open them with care.