CVE-2021-3177: debian debian_linux
Vulnerability summary
CVE-2021-3177 is a critical (CVSS 9.8) vulnerability in debian debian_linux. EPSS estimates a 24.00% chance of exploitation in the next 30 days, higher than 97.8% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 28 · Related 19Timeline
- 19-01-2021PublishedVulnerability first disclosed.
- 14-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
24.00%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
Increase +0.71 pp
From 23.29% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (bugs.python.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu7 products
- python2.7< 2.7.12-1ubuntu0~16.04.18 | < 2.7.17-1~18.04ubuntu1.6 | < 2.7.6-8ubuntu0.6+esm10 | < 2.7.18-1~20.04.1
- python3.4< 3.4.3-1ubuntu1~14.04.7+esm10
- python3.5< 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 | < 3.5.2-2ubuntu0~16.04.13
- python3.6< 3.6.9-1~18.04ubuntu1.4
- python3.7< 3.7.5-2~18.04.4
Oracle5 products
Debian3 products
- python2.7< 2.7.18-2
- python3.9< 3.9.1-3
- debian_linuxEOL9.0
Alpine2 products
- python2< 2.7.18-r1
- python3< 3.7.7-r2 | < 3.8.2-r2 | < 3.8.5-r1 | < 3.8.7-r1 | < 3.8.7-r2
Mageia2 products
- python< 2.7.18-1.2.mga7
- python3< 3.7.9-1.2.mga7
Netapp2 products
Fedoraproject1 product
- fedoraEOL32 | 33
Python1 product
- python≥ 3.6.0, ≤ 3.6.12 | ≥ 3.7.0, ≤ 3.7.9 | ≥ 3.8.0, ≤ 3.8.7 | ≥ 3.9.0, ≤ 3.9.1
8 vendors · 23 products
References
43 links- python-security.readthedocs.io/vuln/ctypes-buffer-overflow-pycarg_repr.htmlREPORTPatchThird Party Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
Show all 43 references
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.apache.org/thread.html/…Mailing List
- lists.fedoraproject.org/archives/…Vendor Advisory
- news.ycombinator.com/item?id=26185005Third Party Advisory
- security.netapp.com/advisory/ntap-20210226-0003/Third Party Advisory