← Back to browse · API

CVE-2021-3177

Severity
CRITICAL
CVSS
9.8
EPSS
0.23293
Risk score
47.35
CISA KEV
No
PoC
No
Published
2021-01-19
Modified
2025-12-18
First seen
2026-08-07
Aliases
EUVD-2021-26520, GHSA-HC96-XW56-VFWH
Products
n/a:n/a n/a
Sources
euvd EUVD-2021-26520

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.

References