Description
A flaw was found in python. In algorithms with quadratic time complexity using non-binary bases, when using int("text"), a system could take 50ms to parse an int string with 100,000 digits and 5s for 1,000,000 digits (float, decimal, int.from_bytes(), and int() for binary bases 2, 4, 8, 16, and 32 are not affected). The highest threat from this vulnerability is to system availability.
References (29)
... and 9 more
Scores
CVSS v3
7.5
EPSS
0.0038
EPSS Percentile
59.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-704
Status
published
Products (8)
fedoraproject/fedora
35
fedoraproject/fedora
36
fedoraproject/fedora
37
python/python
3.11.0 alpha1 (13 CPE variants)
python/python
3.7.0 - 3.7.14
redhat/enterprise_linux
8.0
redhat/quay
3.0.0
redhat/software_collections
Published
Sep 09, 2022
Tracked Since
Feb 18, 2026