# CVE-2020-10735: Prevent DoS by large str-int conversions

- Severity: Medium 6.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.80%, higher than 92% of CVEs (2026-12-01)
- Published: 2022-09-09T00:00:00.000Z
- Modified: 2026-10-14T09:17:17.293Z
- Also known as: PSF-2022-4, BIT-LIBPYTHON-2020-10735, BIT-PYTHON-2020-10735, BIT-PYTHON-MIN-2020-10735
- Weaknesses: CWE-704
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- python: python 3.7
- https://github.com/python/cpython: before 15ec1afd4fcd2da1e2d2b256c562fb42d8d886a2; before 8f0fa4bd10aba723aff988720cd26b93be99bc12; before b5e331fdb38684808ffc540d53e8595bdc408b89; before cec1e9dfd769bd3a16142d0fdd1a36f19c77ed15; before f8b71da9aac6ea74808dcdd0cc266e705431356b
- python python: from 3.7.0 before 3.7.14; from 3.8.0 before 3.8.14; from 3.9.0 before 3.9.14; from 3.10.0 before 3.10.7; 3.11.0
- redhat quay: 3.0.0
- redhat software_collections: no versions given
- fedoraproject fedora: 35; 36; 37
- redhat enterprise_linux: 8.0
- libpython (Bitnami): from 3.7.0 before 3.7.14; from 3.8.0 before 3.8.14; from 3.9.0 before 3.9.14; from 3.10.0 before 3.10.7
- python (Bitnami): from 3.7.0 before 3.7.14; from 3.8.0 before 3.8.14; from 3.9.0 before 3.9.14; from 3.10.0 before 3.10.7
- python-min (Bitnami): from 3.7.0 before 3.7.14; from 3.8.0 before 3.8.14; from 3.9.0 before 3.9.14; from 3.10.0 before 3.10.7

## Every score

- CISA-ADP: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: 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`
- Bitnami Vulnerability Database: rating High

## References

- <https://access.redhat.com/security/cve/CVE-2020-10735> (advisory, third-party-advisory)
- <https://github.com/python/cpython/issues/95778> (advisory, patch, report, third-party-advisory)
- <https://docs.google.com/document/d/1KjuF_aXlzPUxTK4BMgezGJ2Pn7uevfX7g0_mvgHlL7Y> (advisory, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1834423> (advisory, issue-tracking, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4EWKR2SPX3JORLWCXFY3KN2U5B5CIUQQ/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2VCU6EVQDIXNCEDJUCTFIER2WVNNDTYZ/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V7ZUJDHK7KNG6SLIFXW7MNZ6O2PUJYK6/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSRPVJZL6DJFWKYRHMNJB7VCEUCBKRF5/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6XL6E5A3I36TRR73VNBOXNIQP4AMZDFZ/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/32AAQKABEKFCB5DDV5OONRZK6BS23HPW/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4ZZV4CDFRMTPDBI7C5L43RFL3XLIGUY/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SZYJSGLSCQOKXXFVJVJQAXLEOJBIWGEL/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OT5WQB7Z3CXOWVBD2AFAHYPA5ONYFFZ4/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UBPDVCDIUCEBE7C4NAGNA2KQJYOTPBAZ/> (vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/09/21/1> (advisory, mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2022/09/21/4> (advisory, mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OKYE2DOI2X7WZXAWTQJZAXYIWM37HDCY/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OT5U223OE5ZOUHZAZYSYSWVJQIKDE73E/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PD7FTLJOIGMUSCDR3JAN6WRFHJEE4PH5/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/76YE7AM37MRU76XJV4M27CWDAMUGNRYK/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZEOAJWGGY55QU35UM2OVZATBW5MX2OZD/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NHC6IUU7CLRQ3QLPWUXLONSG3SXFTR47/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TD7JDDKJXK6D26XAN3YRFNM2LAJHT5UO/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WXF6MQ74HVIDDSR5AE2UDR24I6D4FEPC/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IFGV7P2PYFBMK32OKHCAC2ZPJQV5AUDF/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMWPRAAJS7I6U3U45V7GZVXWNSECI22M/> (vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2023/06/msg00039.html> (web)
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html> (web)
- <https://lists.debian.org/debian-lts-announce/2024/11/msg00024.html> (web)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-806742.html>
- <https://github.com/pydantic/pydantic/issues/1477> (web)
- <https://lwn.net/Articles/907572/> (web)
- <https://pythoninsider.blogspot.com/2022/09/python-releases-3107-3914-3814-and-3714.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-10735> (web)

## Sources

- CVE List: [CVE-2020-10735](https://www.cve.org/CVERecord?id=CVE-2020-10735), CVE Terms of Use, modified 2026-10-14
- Python Software Foundation: [PSF-2022-4](https://osv.dev/vulnerability/PSF-2022-4), CC-BY-4.0, modified 2025-10-09
- NVD: [CVE-2020-10735](https://nvd.nist.gov/vuln/detail/CVE-2020-10735), Public domain, modified 2026-10-14
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2020-10735](https://osv.dev/vulnerability/BIT-LIBPYTHON-2020-10735), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-2020-10735](https://osv.dev/vulnerability/BIT-PYTHON-2020-10735), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2020-10735](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2020-10735), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-10735 · Whole record: https://cve.day/CVE-2020-10735.json · Rebuilt by cve.day 2026-11-25T22:57:58.718Z
