cve.bz

CVE-2020-10735 Incorrect Type Conversion or Cast

7.5 highEPSS 4.5%Fix available

High (7.5). EPSS 4.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
4.5% (unchanged from 4.5% a week ago; 4.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-704 Incorrect Type Conversion or Cast
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-10735 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-10735?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-10735?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-10735 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2020-10735

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2020-10735](https://cve.bz/cve/badge/CVE-2020-10735.svg)](https://cve.bz/cve/CVE-2020-10735)

HTML:

<a href="https://cve.bz/cve/CVE-2020-10735"><img src="https://cve.bz/cve/badge/CVE-2020-10735.svg" alt="CVE-2020-10735"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:pythonfrom 3.7.0 before 3.7.14
python:pythonfrom 3.8.0 before 3.8.14
python:pythonfrom 3.9.0 before 3.9.14
python:pythonfrom 3.10.0 before 3.10.7
python:python3.11.0:alpha1
python:python3.11.0:alpha2
python:python3.11.0:alpha3
python:python3.11.0:alpha4
python:python3.11.0:alpha5
python:python3.11.0:alpha6
python:python3.11.0:alpha7
python:python3.11.0:beta1
python:python3.11.0:beta2
python:python3.11.0:beta3
python:python3.11.0:beta4
python:python3.11.0:beta5
python:python3.11.0:rc1
redhat:quay3.0.0
fedoraproject:fedora35
fedoraproject:fedora36
fedoraproject:fedora37
redhat:enterprise_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10python3.73.7.3-2+deb10u5DLA-3477-1
Debian11pypy37.3.5+dfsg-2+deb11u4DLA-3966-1
Debian11python3.93.9.2-1+deb11u2DLA-3980-1
Debian12python3.113.11.0~rc2-1DEBIAN-CVE-2020-10735
Debian12, 13, 14pypy37.3.10+dfsg-1DEBIAN-CVE-2020-10735
Ubuntu22.04:LTSpython2.7, python3.10no fix listedUBUNTU-CVE-2020-10735
UbuntuPro:14.04:LTSpython2.7, python3.4, python3.5no fix listedUBUNTU-CVE-2020-10735
UbuntuPro:16.04:LTSpython2.7, python3.5no fix listedUBUNTU-CVE-2020-10735
UbuntuPro:18.04:LTSpython2.7, python3.6, python3.7 and 1 moreno fix listedUBUNTU-CVE-2020-10735
UbuntuPro:20.04:LTSpython2.7, python3.8, python3.9no fix listedUBUNTU-CVE-2020-10735
Red Hatenterprise_linux:8::appstreamCython, python38-Cython, Cython-debugsource and 1 more0:0.29.14-4.module+el8.4.0+8888+89bc7e79RHSA-2023:2763
Red Hatenterprise_linux:8::appstreamPyYAML, python38-pyyaml, PyYAML-debugsource and 1 more0:5.4.1-1.module+el8.5.0+10721+14d8e0d5RHSA-2023:2763
Red Hatenterprise_linux:8::appstreamPyYAML, python39-pyyaml, PyYAML-debugsource and 1 more0:5.4.1-1.module+el8.5.0+10613+59a13ec4RHSA-2023:2764
Red Hatenterprise_linux:8::appstreambabel, python38-babel0:2.7.0-11.module+el8.5.0+11015+9c1c7c42RHSA-2023:2763
Red Hatenterprise_linux:8::appstreammod_wsgi, python38-mod_wsgi0:4.6.8-4.module+el8.7.0+16653+23ccaf52RHSA-2023:2763
Red Hatenterprise_linux:8::appstreammod_wsgi, python39-mod_wsgi0:4.7.1-5.module+el8.7.0+16654+645aad7fRHSA-2023:2764
Red Hatenterprise_linux:8::appstreamnumpy, python38-numpy, numpy-debugsource and 3 more0:1.17.3-6.module+el8.5.0+12205+a865257aRHSA-2023:2763
Red Hatenterprise_linux:8::appstreamnumpy, python39-numpy, numpy-debugsource and 3 more0:1.19.4-3.module+el8.5.0+12204+54860423RHSA-2023:2764
Red Hatenterprise_linux:8::appstreampython-PyMySQL, python38-PyMySQL0:0.10.1-1.module+el8.4.0+9692+8e86ab84RHSA-2023:2763
Red Hatenterprise_linux:8::appstreampython-PyMySQL, python39-PyMySQL0:0.10.1-2.module+el8.4.0+9822+20bf1249RHSA-2023:2764
Red Hatenterprise_linux:8::appstreampython-asn1crypto, python38-asn1crypto0:1.2.0-3.module+el8.4.0+8888+89bc7e79RHSA-2023:2763
Red Hatenterprise_linux:8::appstreampython-cffi, python38-cffi, python-cffi-debugsource and 1 more0:1.13.2-3.module+el8.4.0+8888+89bc7e79RHSA-2023:2763
68 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 17 morepython3, python3-core3.6.15-150000.3.116.1SUSE-SU-2022:3924-1
SUSELinux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP3 and 1 morepython3, python3-core3.6.15-150300.10.37.2SUSE-SU-2022:4281-1
SUSELinux Enterprise Module for Basesystem 15 SP3python39, python39-core3.9.14-150300.4.16.1SUSE-SU-2022:3485-1
SUSELinux Enterprise Module for Development Tools 15 SP3python39-core3.9.14-150300.4.16.1SUSE-SU-2022:3485-1
SUSELinux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4python3-core3.6.15-150300.10.37.2SUSE-SU-2022:4281-1
SUSELinux Enterprise Module for Python 3 15 SP4python310, python310-core3.10.7-150400.4.10.1SUSE-SU-2022:3473-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 7 morepython3, python3-base3.4.10-25.102.2SUSE-SU-2022:4251-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5python36, python36-core3.6.15-32.2SUSE-SU-2022:4274-1
SUSELinux Enterprise Software Development Kit 12 SP5python36-core3.6.15-32.2SUSE-SU-2022:4274-1
openSUSELeap 15.3, Leap 15.4python3-documentation3.6.15-150300.10.37.1SUSE-SU-2022:4281-1
openSUSELeap 15.3, Leap 15.4python39, python39-core, python39-documentation3.9.14-150300.4.16.1SUSE-SU-2022:3485-1
openSUSELeap 15.3, Leap 15.4, Leap Micro 5.2 and 1 morepython3, python3-core3.6.15-150300.10.37.2SUSE-SU-2022:4281-1
openSUSELeap 15.4python310, python310-core, python310-documentation3.10.7-150400.4.10.1SUSE-SU-2022:3473-1
openSUSETumbleweedpython-pydantic2.10.6-1.1openSUSE-SU-2025:14712-1
openSUSETumbleweedpython3103.10.7-1.2openSUSE-SU-2024:12340-1
openSUSETumbleweedpython3113.11.0rc2-1.1openSUSE-SU-2024:12336-1
openSUSETumbleweedpython3123.12.0a7-1.1openSUSE-SU-2024:12910-1
openSUSETumbleweedpython3133.13.0~b3-1.1openSUSE-SU-2024:14109-1
openSUSETumbleweedpython3143.14.0~a1-1.1openSUSE-SU-2024:14434-1
openSUSETumbleweedpython3153.15.0~a1-1.1openSUSE-SU-2025:15713-1
openSUSETumbleweedpython383.8.14-1.1openSUSE-SU-2024:12341-1
1 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8python3-idle, python3-libs, python3-test and 4 more3.6.8-48.el8_7.1.almaALSA-2023:0833
AlmaLinux8python38, python38-idle, python38-libs and 5 more3.8.16-1.module_el8.8.0+3482+d5d93a3eALSA-2023:2763
AlmaLinux8python38-Cython0.29.14-4.module_el8.6.0+2778+cd494b30ALSA-2023:2763
AlmaLinux8python38-Cython0.29.14-4.module_el8.6.0+3163+f4472775ALSA-2023:2763
AlmaLinux8python38-PyMySQL0.10.1-1.module_el8.6.0+2778+cd494b30ALSA-2023:2763
AlmaLinux8python38-asn1crypto1.2.0-3.module_el8.6.0+2778+cd494b30ALSA-2023:2763
AlmaLinux8python38-atomicwrites1.3.0-8.module_el8.6.0+2778+cd494b30ALSA-2023:2763
AlmaLinux8python38-attrs19.3.0-3.module_el8.6.0+2778+cd494b30ALSA-2023:2763
AlmaLinux8python38-babel2.7.0-11.module_el8.6.0+2778+cd494b30ALSA-2023:2763
AlmaLinux8python38-cffi1.13.2-3.module_el8.6.0+2778+cd494b30ALSA-2023:2763
AlmaLinux8python38-cffi1.13.2-3.module_el8.6.0+3163+f4472775ALSA-2023:2763
AlmaLinux8python38-chardet3.0.4-19.module_el8.6.0+2778+cd494b30ALSA-2023:2763
79 more for AlmaLinux in the JSON.
Rocky Linux8Cython0:0.29.14-4.module+el8.9.0+1418+f0d66789RLSA-2023:2763
Rocky Linux8Cython0:0.29.21-5.module+el8.10.0+1582+bc278001RLSA-2023:2764
Rocky Linux8Cython0:0.29.21-5.module+el8.10.0+1860+afcc1c71RLSA-2023:2764
Rocky Linux8PyYAML0:5.4.1-1.module+el8.10.0+1582+bc278001RLSA-2023:2763 RLSA-2023:2764
Rocky Linux8PyYAML0:5.4.1-1.module+el8.10.0+1860+afcc1c71RLSA-2023:2763 RLSA-2023:2764
Rocky Linux8PyYAML0:5.4.1-1.module+el8.9.0+1418+f0d66789RLSA-2023:2763 RLSA-2023:2764
Rocky Linux8babel0:2.7.0-11.module+el8.9.0+1418+f0d66789RLSA-2023:2763
Rocky Linux8numpy0:1.19.4-3.module+el8.10.0+1582+bc278001RLSA-2023:2764
Rocky Linux8numpy0:1.19.4-3.module+el8.10.0+1860+afcc1c71RLSA-2023:2764
Rocky Linux8pybind110:2.7.1-1.module+el8.9.0+1357+a3b80af7RLSA-2023:2764
Rocky Linux8pytest0:4.6.6-3.module+el8.9.0+1418+f0d66789RLSA-2023:2763
Rocky Linux8pytest0:6.0.2-2.module+el8.10.0+1582+bc278001RLSA-2023:2764
65 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw was found in the Python interpreter's algorithms for converting strings to integers in non-binary bases (such as base-10). This algorithmic complexity vulnerability is triggered when an application attempts to parse a string containing an excessive number of digits. This flaw is rated as moderate because the near-quadratic processing time can be exploited to cause a Denial of Service (DoS) by exhausting CPU resources, which impacts the availability of the application process rather than the entire system.

Versions of `python36:3.6/python36` as shipped with Red Hat Enterprise Linux 8 are marked as 'Not affected' as they just provide "symlinks" to the main `python3` component, which provides the actual interpreter of the Python programming language.

Python 2 has been declared end of life and no patches will be made available for it.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8python3-0:3.6.8-48.el8_7.1Fixed 2023-02-21RHSA-2023:0833
Red Hat Enterprise Linux 8python38:3.8-8080020221221151857.0d9ba776Fixed 2023-05-16RHSA-2023:2763
Red Hat Enterprise Linux 8python38-devel:3.8-8080020221221151857.0d9ba776Fixed 2023-05-16RHSA-2023:2763
Red Hat Enterprise Linux 8python39:3.9-8080020221221152015.aed85c85Fixed 2023-05-16RHSA-2023:2764
Red Hat Enterprise Linux 8python39-devel:3.9-8080020221221152015.aed85c85Fixed 2023-05-16RHSA-2023:2764
Red Hat Enterprise Linux 8.6 Extended Update Supportpython3-0:3.6.8-47.el8_6.4Fixed 2024-01-25RHSA-2024:0430
Red Hat Enterprise Linux 9python3.9-0:3.9.10-3.el9_0Fixed 2022-11-02RHSA-2022:7323
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-python-0:3.8.14-1.el7Fixed 2022-10-03RHSA-2022:6766
Red Hat Enterprise Linux 5pythonOut of support scope
Red Hat Enterprise Linux 6pythonOut of support scope
Red Hat Enterprise Linux 7pythonOut of support scope
Red Hat Enterprise Linux 7python3Out of support scope
Red Hat Enterprise Linux 8python27:2.7/python2Will not fix
Red Hat Enterprise Linux 8python36:3.6/python36Not affected
Red Hat Enterprise Linux 8python39Not affected
Red Hat Quay 3quayAffected
Red Hat Software Collectionspython27-pythonWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-10735.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON