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
    • 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-35521

CVE-2020-35521: Libtiff Memory Allocation DoS Vulnerability

CVE-2020-35521 is a denial of service flaw in Libtiff caused by memory allocation failure in tif_read.c. Attackers can exploit crafted TIFF files to trigger application abort. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: March 4, 2026

CVE-2020-35521 Overview

A memory allocation failure vulnerability has been identified in libtiff, a widely-used library for reading and writing TIFF image files. The flaw exists in tif_read.c where a specially crafted TIFF file can trigger a memory allocation failure, causing the application to abort and resulting in a denial of service condition.

Critical Impact

Applications processing untrusted TIFF files may be forced to terminate unexpectedly, potentially disrupting services that rely on image processing functionality.

Affected Products

  • LibTIFF (all versions prior to patch)
  • Red Hat Enterprise Linux 7.0 and 8.0
  • Fedora 33
  • NetApp ONTAP Select Deploy Administration Utility

Discovery Timeline

  • 2021-03-09 - CVE-2020-35521 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-35521

Vulnerability Analysis

This vulnerability is classified as CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer). The flaw resides in the TIFF reading functionality within tif_read.c, where memory allocation operations are not properly validated.

When processing a maliciously crafted TIFF file, the library attempts to allocate memory based on values read from the file. If an attacker provides manipulated data that causes the memory allocation to fail, the library does not gracefully handle this error condition. Instead, the application aborts, leading to a denial of service.

This vulnerability requires local access to exploit, meaning an attacker must be able to provide a crafted TIFF file to a vulnerable application. User interaction is required as the victim must open or process the malicious file.

Root Cause

The root cause of this vulnerability stems from insufficient error handling during memory allocation operations in the TIFF reading code path. When tif_read.c processes image data, it allocates memory buffers based on dimensions and properties specified within the TIFF file structure. The code fails to properly validate these values before allocation and does not implement robust failure handling when the allocation fails.

This allows an attacker to craft a TIFF file with specific properties that cause the memory allocation to fail, triggering an unhandled abort condition rather than a graceful error return.

Attack Vector

The attack requires local access where an attacker provides a specially crafted TIFF file to a target system. The attack scenario involves:

  1. An attacker creates a malicious TIFF file with manipulated header values designed to cause memory allocation failures
  2. The victim opens the crafted TIFF file using an application that utilizes the vulnerable libtiff library
  3. The libtiff library attempts to allocate memory based on the malformed file data
  4. The memory allocation fails due to the crafted values
  5. The application aborts, causing denial of service

The vulnerability affects the availability of the system but does not impact confidentiality or integrity, as no data is exposed or modified during exploitation.

Detection Methods for CVE-2020-35521

Indicators of Compromise

  • Unexpected application crashes when processing TIFF image files
  • Core dump files generated by applications that process TIFF images
  • Log entries indicating memory allocation failures in image processing components
  • Repeated process restarts for services handling TIFF file processing

Detection Strategies

  • Monitor for abnormal termination signals in applications known to process TIFF files
  • Implement file integrity monitoring on incoming TIFF files to detect anomalous file structures
  • Deploy application crash detection for services utilizing libtiff
  • Audit system logs for repeated crashes correlated with TIFF file processing activities

Monitoring Recommendations

  • Enable core dump analysis for applications using libtiff to capture crash evidence
  • Monitor memory allocation patterns in image processing applications for anomalies
  • Implement alerting on service restarts for TIFF-processing applications
  • Track file access patterns for unusual TIFF file processing activity

How to Mitigate CVE-2020-35521

Immediate Actions Required

  • Update libtiff to the latest patched version available from your distribution
  • Restrict access to TIFF file upload and processing functionality to trusted users
  • Implement input validation for TIFF files before processing with libtiff
  • Consider using sandboxed environments for processing untrusted image files

Patch Information

Security patches are available from various distribution vendors. For detailed patch information, consult the following vendor advisories:

  • Red Hat Bug Report #1932034 - Official Red Hat bug tracking and patch information
  • Fedora Package Announcement - Fedora security update announcement
  • Gentoo GLSA 202104-06 - Gentoo Linux Security Advisory
  • NetApp Security Advisory NTAP-20210521-0009 - NetApp product advisory

Apply updates according to your distribution's package management system.

Workarounds

  • Isolate TIFF processing applications in sandboxed or containerized environments to limit impact
  • Implement file size and dimension validation before passing TIFF files to libtiff
  • Restrict TIFF file processing to known-good sources until patches can be applied
  • Deploy process monitoring to automatically restart crashed services as a temporary measure
bash
# Example: Update libtiff on Red Hat/CentOS systems
sudo yum update libtiff

# Example: Update libtiff on Fedora systems
sudo dnf update libtiff

# Example: Update libtiff on Debian/Ubuntu systems
sudo apt-get update && sudo apt-get upgrade libtiff5

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLibtiff

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.11%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-119
  • Technical References
  • Fedora Package Announcement

  • Gentoo GLSA 202104-06

  • NetApp Security Advisory NTAP-20210521-0009
  • Vendor Resources
  • Red Hat Bug Report #1932034
  • Related CVEs
  • CVE-2023-52356: Libtiff Denial of Service Vulnerability

  • CVE-2023-52355: Libtiff DOS Vulnerability

  • CVE-2024-7006: Libtiff Null Pointer Dereference DOS Flaw

  • CVE-2023-0800: Libtiff Out-of-Bounds Write 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