Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-10735

CVE-2020-10735: Python DOS Vulnerability

CVE-2020-10735 is a denial of service vulnerability in Python affecting int() parsing with quadratic time complexity. Attackers can exploit this to cause system slowdowns. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

Published: March 4, 2026

CVE-2020-10735 Overview

A vulnerability was discovered in Python's integer string conversion functions that allows for denial of service attacks through algorithmic complexity exploitation. When using int("text") with non-binary bases, the parsing algorithm exhibits quadratic time complexity, allowing an attacker to cause significant CPU consumption. For example, parsing an integer string with 100,000 digits takes approximately 50ms, while 1,000,000 digits can take up to 5 seconds. This vulnerability specifically impacts system availability and can be exploited remotely without authentication.

Critical Impact

Attackers can exploit this algorithmic complexity vulnerability to cause denial of service conditions by submitting extremely large integer strings to Python applications, consuming excessive CPU resources and potentially making systems unresponsive.

Affected Products

  • Python (multiple versions including 3.11.0 alpha/beta/rc releases)
  • Red Hat Quay 3.0.0
  • Red Hat Software Collections
  • Red Hat Enterprise Linux 8.0
  • Fedora 35, 36, and 37

Discovery Timeline

  • 2022-09-09 - CVE-2020-10735 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2020-10735

Vulnerability Analysis

This vulnerability exists in Python's integer parsing implementation, specifically affecting the int() function when converting string representations of numbers using non-binary bases (bases other than 2, 4, 8, 16, and 32). The underlying algorithm for these conversions has quadratic time complexity O(n²), where n is the number of digits in the input string. This algorithmic inefficiency becomes exploitable when processing extremely large digit strings, as the processing time grows dramatically with input size.

The vulnerability does not affect binary base conversions (int.from_bytes(), and int() for bases 2, 4, 8, 16, and 32), float() conversions, or decimal operations. The primary threat is to system availability, as an attacker can craft malicious input strings that cause Python processes to consume excessive CPU cycles.

Root Cause

The root cause is an algorithmic complexity issue (CWE-704: Incorrect Type Conversion or Cast) in Python's integer string parsing routines. When converting large strings to integers using non-binary bases (such as base 10), the implementation uses an algorithm with quadratic time complexity rather than a more efficient approach. This allows processing time to increase exponentially with input size, creating an exploitable condition for resource exhaustion attacks.

Attack Vector

The attack can be executed remotely over a network without requiring authentication or user interaction. An attacker needs to identify Python applications that accept user-controlled input and pass it to the int() function or similar conversion routines. By submitting strings containing an extremely large number of digits, the attacker can force the Python interpreter to spend excessive time parsing the input.

Common attack scenarios include:

  • Web applications that parse user-supplied numeric input
  • APIs that convert string parameters to integers
  • Data processing pipelines that handle external numeric data
  • Any service that deserializes or parses numeric strings from untrusted sources

Detection Methods for CVE-2020-10735

Indicators of Compromise

  • Unusually high CPU utilization in Python processes without corresponding increases in legitimate workload
  • Python interpreter processes becoming unresponsive or timing out
  • Application logs showing extremely long processing times for requests containing numeric data
  • Network traffic containing HTTP requests or API calls with unusually large numeric string payloads

Detection Strategies

  • Monitor Python process CPU usage patterns and alert on sustained high utilization
  • Implement application-layer logging to track processing times for numeric conversion operations
  • Deploy web application firewalls (WAF) with rules to detect and block requests containing extremely long numeric strings
  • Use endpoint detection and response (EDR) solutions to identify anomalous Python process behavior

Monitoring Recommendations

  • Configure alerts for Python processes exceeding CPU thresholds for extended periods
  • Monitor application response times and set thresholds for numeric parsing operations
  • Track request payload sizes and flag requests with unusually large numeric string parameters
  • Implement logging of input string lengths for int() conversion operations in critical applications

How to Mitigate CVE-2020-10735

Immediate Actions Required

  • Update Python to patched versions that include integer string conversion limits (Python 3.11+, or backported versions for 3.10, 3.9, 3.8, 3.7)
  • Implement input validation to reject numeric strings exceeding reasonable length thresholds before passing to int()
  • Deploy rate limiting on endpoints that process user-supplied numeric data
  • Review application code to identify all locations where user input is converted to integers

Patch Information

Security patches have been released by the Python Software Foundation and various Linux distributions. Refer to the GitHub CPython Issue #95778 for official patch information. Red Hat has released advisories for affected products - see Red Hat CVE-2020-10735 Details for RHEL-specific guidance. Fedora and Debian have also released updated packages addressing this vulnerability.

Workarounds

  • Set the PYTHONINTMAXSTRDIGITS environment variable to limit the maximum number of digits in integer string conversions (available in patched versions)
  • Implement application-level input validation to reject numeric strings exceeding a maximum length (e.g., 4300 digits, which is the default limit in patched versions)
  • Use input sanitization middleware or WAF rules to filter requests with excessively long numeric strings
  • Consider using alternative parsing methods for extremely large numbers if legitimate use cases require them
bash
# Configuration example - Set integer string digit limit
export PYTHONINTMAXSTRDIGITS=4300

# Or configure in Python code (Python 3.11+)
# import sys
# sys.set_int_max_str_digits(4300)

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechPython

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.31%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-704
  • Technical References
  • Openwall OSS Security Discussion

  • Openwall OSS Security Post

  • Red Hat CVE-2020-10735 Details

  • Red Hat Bugzilla CVE-1834423

  • Google Doc Security Report

  • Debian LTS June Announcement

  • Fedora Package Announcement Update

  • Fedora Package Announcement Notice

  • Fedora Package Security Update

  • Fedora Security Package Announcement

  • Fedora Security Package Notice

  • Fedora Security Update Notification

  • Fedora Security Update Announcement

  • Fedora Security Update Information

  • Fedora Security Package Release

  • Fedora Security Patch Announcement

  • Fedora Package Update Notice

  • Fedora Security Notice

  • Fedora Security Update Release

  • Fedora Package Security Update

  • Fedora Package Security Announcement

  • Fedora Security Advisory Notice

  • Fedora Package Security Information

  • Fedora Package Security Notice

  • Fedora Security Update Alert

  • Fedora Package Update Notification

  • Debian LTS November Announcement

  • Debian LTS December Announcement
  • Vendor Resources
  • GitHub CPython Issue #95778
  • Related CVEs
  • CVE-2025-13836: Python Python DOS Vulnerability

  • CVE-2026-0994: Google Protobuf Python DoS Vulnerability

  • CVE-2025-8194: CPython tarfile Module DoS Vulnerability

  • CVE-2024-8088: CPython zipfile.Path DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English