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.
CVSS Metrics
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- network
- Complexity
- low
- Privileges
- none
- User Action
- none
- Scope
- unchanged
- Confidentiality
- none
- Integrity
- none
- Availability
- high
- Weaknesses
- CWE-704
Metadata
- Primary Vendor
- PYTHON
- Published
- 9/9/2022
- Last Modified
- 11/3/2025
- Source
- NIST NVD
- Note: Verify all details with official vendor sources before applying patches.
Affected Products
python : pythonpython : pythonpython : pythonpython : pythonpython : pythonpython : pythonpython : pythonpython : pythonpython : pythonpython : pythonpython : pythonpython : pythonpython : pythonpython : pythonpython : pythonpython : pythonpython : pythonredhat : quayredhat : software_collectionsfedoraproject : fedorafedoraproject : fedorafedoraproject : fedoraredhat : enterprise_linux
AI-Powered Remediation
Generate remediation guidance or a C-suite brief for this vulnerability.