Skip to main content
Network Thinking Solutions Logo

CVE-2021-3177

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…

All CVEs
CVE-2021-3177Published 1/19/2021

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…

Vendor advisory
CVSS9.8Critical

Overview

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.

Published
1/19/2021
Last modified
10/14/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
python
python
≥ 3.6.0, ≤ 3.6.12

Verify advisory

Source
python
python
≥ 3.7.0, ≤ 3.7.9

Verify advisory

Source
python
python
≥ 3.8.0, ≤ 3.8.7

Verify advisory

Source
python
python
≥ 3.9.0, ≤ 3.9.1

Verify advisory

Source
fedora
fedoraproject
32

Verify advisory

Source
fedora
fedoraproject
33

Verify advisory

Source
active iq unified manager
netapp
Range not specified — verify advisory

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
active iq unified manager
netapp
Range not specified — verify advisory

windows

Source
ontap select deploy administration utility
netapp
Range not specified — verify advisory

Verify advisory

Source
debian linux
debian
9.0

Verify advisory

Source
communications cloud native core network function cloud native environment
oracle
22.2.0

Verify advisory

Source
communications offline mediation controller
oracle
12.0.0.3.0

Verify advisory

Source
communications pricing design center
oracle
12.0.0.3.0

Verify advisory

Source
enterprise manager ops center
oracle
12.4.0.0

Verify advisory

Source
zfs storage appliance kit
oracle
8.8

Verify advisory

Source
n/a
n/a
n/a

Verify advisory

Source
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
Siemens
≥ V3.1.0, < V3.1.5

Verify advisory

Source
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
Siemens
≥ V3.1.0, < V3.1.5

Verify advisory

Source
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Siemens
≥ V3.1.0, < V3.1.5

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.