The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-35527

CVE-2020-35527: SQLite Buffer Overflow Vulnerability

CVE-2020-35527 is a buffer overflow vulnerability in SQLite 3.31.1 affecting ALTER TABLE operations on views with nested FROM clauses. This article covers the technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2020-35527 Overview

CVE-2020-35527 is an out-of-bounds access vulnerability in SQLite version 3.31.1. The vulnerability occurs when processing ALTER TABLE statements on views that contain a nested FROM clause. This memory corruption flaw can be exploited remotely without authentication, potentially leading to arbitrary code execution, data corruption, or denial of service conditions in applications that utilize SQLite as their database engine.

Critical Impact

This out-of-bounds access vulnerability in SQLite can be exploited remotely without authentication, potentially allowing attackers to execute arbitrary code, corrupt data, or crash applications using the affected SQLite library.

Affected Products

  • SQLite 3.31.1
  • NetApp ONTAP Select Deploy Administration Utility

Discovery Timeline

  • 2022-09-01 - CVE CVE-2020-35527 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-35527

Vulnerability Analysis

This vulnerability is classified as CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer). The flaw exists in SQLite's handling of ALTER TABLE operations when applied to database views that contain nested FROM clauses. When the ALTER TABLE command processes such views, the parser fails to properly validate memory boundaries, resulting in out-of-bounds memory access.

The vulnerability can be triggered remotely through any application that accepts and processes SQL statements using the vulnerable SQLite library. Since SQLite is embedded in countless applications, web browsers, mobile apps, and enterprise systems, the attack surface is substantial. An attacker capable of injecting or influencing SQL statements processed by the vulnerable library could exploit this flaw to read or write memory outside intended boundaries.

Root Cause

The root cause of CVE-2020-35527 lies in SQLite's insufficient bounds checking when the ALTER TABLE statement operates on views with complex nested FROM clauses. The internal parser and memory management routines fail to account for the additional complexity introduced by nested subqueries in view definitions, leading to improper memory buffer operations. This oversight allows memory access beyond the allocated boundaries when processing these specific SQL constructs.

Attack Vector

The attack vector is network-based, as indicated by the CVSS assessment. An attacker can exploit this vulnerability by:

  1. Identifying an application that uses SQLite 3.31.1 and accepts user-influenced SQL queries
  2. Crafting an ALTER TABLE statement targeting a view with a nested FROM clause structure
  3. Sending the malicious SQL statement to the target application
  4. Triggering the out-of-bounds memory access, which could result in information disclosure, code execution, or application crash

The vulnerability requires no authentication or user interaction, making it particularly dangerous in exposed environments where untrusted SQL input may be processed.

Detection Methods for CVE-2020-35527

Indicators of Compromise

  • Application crashes or unexpected terminations when processing ALTER TABLE statements on views
  • Memory corruption errors or segmentation faults in SQLite-dependent applications
  • Unusual memory access patterns in applications utilizing SQLite database operations
  • Error logs showing SQLite-related failures during view modification operations

Detection Strategies

  • Monitor for anomalous ALTER TABLE queries targeting views with nested FROM clause structures
  • Implement application-level logging for all SQL DDL operations, especially those modifying views
  • Deploy memory protection mechanisms and crash analysis tools to detect exploitation attempts
  • Use static analysis tools to identify applications using vulnerable SQLite 3.31.1 versions

Monitoring Recommendations

  • Inventory all systems and applications using SQLite and identify those running version 3.31.1
  • Enable detailed SQL query logging in applications that process untrusted input
  • Monitor system logs for crash reports or memory corruption indicators in SQLite-dependent services
  • Implement network-level monitoring for suspicious SQL payloads targeting SQLite functions

How to Mitigate CVE-2020-35527

Immediate Actions Required

  • Upgrade SQLite to a patched version that addresses CVE-2020-35527
  • Review and restrict ALTER TABLE privileges in applications processing untrusted SQL input
  • Implement input validation to reject or sanitize potentially malicious SQL constructs
  • Apply vendor patches for affected products including NetApp ONTAP Select Deploy Administration Utility

Patch Information

SQLite has released a fix for this vulnerability. The patch details are available in the SQLite Code Change Information documentation. Organizations using NetApp products should review the NetApp Security Advisory NTAP-20221111-0007 for specific guidance on affected ONTAP Select Deploy Administration Utility deployments.

Workarounds

  • Restrict ALTER TABLE permissions to trusted administrators only until patching is complete
  • Implement SQL query filtering to block ALTER TABLE operations on views with nested FROM clauses
  • Isolate SQLite-dependent applications from untrusted network access where feasible
  • Consider using prepared statements and parameterized queries to limit SQL injection attack surfaces

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechSqlite

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.27%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-119
  • Technical References
  • NetApp Security Advisory NTAP-20221111-0007
  • Vendor Resources
  • SQLite Code Change Information
  • Related CVEs
  • CVE-2025-6965: SQLite Buffer Overflow Vulnerability

  • CVE-2023-7104: SQLite Heap-Based Buffer Overflow Flaw

  • CVE-2025-3277: SQLite Buffer Overflow Vulnerability

  • CVE-2025-29087: SQLite Buffer Overflow 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