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.
No analysis available yet.
Remediation
No remediation available yet.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-2619-1 | python3.5 security update |
Debian DLA |
DLA-2919-1 | python2.7 security update |
Debian DLA |
DLA-3432-1 | python2.7 security update |
EUVD |
EUVD-2021-26520 | 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. |
Ubuntu USN |
USN-4754-1 | Python vulnerabilities |
Ubuntu USN |
USN-4754-3 | Python vulnerabilities |
Ubuntu USN |
USN-4754-4 | Python 2.7 vulnerability |
Ubuntu USN |
USN-4754-5 | Python vulnerability |
Ubuntu USN |
USN-6891-1 | Python vulnerabilities |
References
History
Thu, 18 Dec 2025 16:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Subscriptions
Debian
Subscribe
Debian Linux
Subscribe
Fedoraproject
Subscribe
Fedora
Subscribe
Netapp
Subscribe
Active Iq Unified Manager
Subscribe
Ontap Select Deploy Administration Utility
Subscribe
Oracle
Subscribe
Communications Cloud Native Core Network Function Cloud Native Environment
Subscribe
Communications Offline Mediation Controller
Subscribe
Communications Pricing Design Center
Subscribe
Enterprise Manager Ops Center
Subscribe
Zfs Storage Appliance Kit
Subscribe
Python
Subscribe
Python
Subscribe
Redhat
Subscribe
Enterprise Linux
Subscribe
Rhel Software Collections
Subscribe
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2025-12-18T15:03:34.545Z
Reserved: 2021-01-19T00:00:00.000Z
Link: CVE-2021-3177
Updated: 2024-08-03T16:45:51.394Z
Status : Modified
Published: 2021-01-19T06:15:12.967
Modified: 2025-12-18T15:15:48.873
Link: CVE-2021-3177
OpenCVE Enrichment
No data.
Weaknesses
Debian DLA
EUVD
Ubuntu USN