A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-2024-20505

CVE-2024-20505: ClamAV PDF Parsing DoS Vulnerability

CVE-2024-20505 is a denial of service flaw in ClamAV's PDF parsing module caused by an out of bounds read. Attackers can exploit this by submitting crafted PDFs. This article covers technical details, affected versions, and mitigation.

Published: January 28, 2026

CVE-2024-20505 Overview

A vulnerability exists in the PDF parsing module of Clam AntiVirus (ClamAV) that could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on affected devices. The vulnerability stems from an out-of-bounds read condition that occurs when processing specially crafted PDF files, enabling attackers to terminate the scanning process and disrupt antivirus protection.

Critical Impact

Remote attackers can submit malicious PDF files to crash the ClamAV scanning process, potentially leaving systems unprotected against malware during the denial of service condition.

Affected Products

  • ClamAV version 1.4.0
  • ClamAV versions 1.3.2 and prior
  • ClamAV all 1.2.x versions
  • ClamAV version 1.0.6 and prior
  • ClamAV all 0.105.x versions
  • ClamAV all 0.104.x versions
  • ClamAV version 0.103.11 and all prior versions

Discovery Timeline

  • September 4, 2024 - CVE-2024-20505 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2024-20505

Vulnerability Analysis

This vulnerability is classified as CWE-125 (Out-of-Bounds Read), a memory corruption flaw occurring within the PDF parsing module of ClamAV. When the antivirus engine processes PDF documents, it parses the internal structure to extract embedded content for malware analysis. The vulnerable code fails to properly validate buffer boundaries during this parsing operation, allowing reads beyond allocated memory regions.

The attack is remotely exploitable without authentication and requires no user interaction. When a malicious PDF triggers the out-of-bounds read, it causes the ClamAV scanning process to terminate abnormally. This creates a denial of service condition that impacts the availability of the antivirus service while leaving confidentiality and integrity unaffected.

Root Cause

The root cause of CVE-2024-20505 lies in insufficient bounds checking within the PDF parsing module. When ClamAV's libclamav library processes PDF file structures, certain parsing functions do not adequately verify that read operations remain within the bounds of allocated buffers. This allows specially crafted PDF documents with malformed or unexpected structural elements to cause the parser to read memory beyond the intended boundaries, resulting in a crash.

Attack Vector

An attacker can exploit this vulnerability by submitting a crafted PDF file to be scanned by ClamAV. This can occur through multiple attack surfaces:

  • Email attachments scanned by mail transfer agents using ClamAV
  • File uploads to web applications protected by ClamAV
  • Network file shares monitored by ClamAV
  • Manual scanning of files from untrusted sources

The exploitation mechanism involves creating a PDF document with malformed structural elements that trigger the out-of-bounds read condition when parsed. Since ClamAV is commonly deployed in automated scanning pipelines, attackers can submit malicious PDFs without direct interaction, making this a practical attack vector against mail servers, web applications, and file servers.

Detection Methods for CVE-2024-20505

Indicators of Compromise

  • Unexpected ClamAV process terminations or crashes in system logs
  • clamd service restarts occurring without administrator intervention
  • Log entries indicating PDF parsing failures or segmentation faults
  • Increased frequency of unscanned files in mail queues or file processing pipelines

Detection Strategies

  • Monitor ClamAV daemon logs for crash events and unexpected terminations
  • Implement process monitoring to detect clamd service interruptions
  • Review system logs for segmentation fault signals associated with ClamAV processes
  • Configure alerting on ClamAV service availability metrics

Monitoring Recommendations

  • Enable verbose logging in ClamAV to capture detailed parsing events
  • Configure system monitoring to track clamd process uptime and restart frequency
  • Implement mail flow monitoring to detect scanning pipeline disruptions
  • Set up automated alerts for ClamAV service health status changes

How to Mitigate CVE-2024-20505

Immediate Actions Required

  • Update ClamAV to a patched version immediately (1.4.1, 1.3.2+, 1.0.7, or 0.103.12)
  • Review ClamAV service logs for evidence of prior exploitation attempts
  • Implement service monitoring to quickly detect and respond to DoS conditions
  • Consider temporary workarounds if immediate patching is not possible

Patch Information

ClamAV has released security updates addressing this vulnerability. According to the ClamAV Security Update, the following versions contain the fix:

  • ClamAV 1.4.1
  • ClamAV 1.3.2 (patched release)
  • ClamAV 1.0.7
  • ClamAV 0.103.12

Debian users should also refer to the Debian LTS Announcement for distribution-specific update instructions.

Workarounds

  • Configure upstream mail filters to quarantine suspicious PDF files before ClamAV scanning
  • Implement rate limiting on file submissions to reduce potential DoS impact
  • Deploy redundant ClamAV instances to maintain availability during potential attacks
  • Enable automatic service restart for clamd to minimize downtime from crashes
bash
# Configuration example - Enable automatic service restart on failure
# Add to systemd service unit for clamd
[Service]
Restart=on-failure
RestartSec=5

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechClamav

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.89%

  • 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-125
  • Technical References
  • Debian LTS Announcement
  • Vendor Resources
  • ClamAV Security Update
  • Related CVEs
  • CVE-2025-20128: ClamAV OLE2 Decryption DoS Vulnerability

  • CVE-2025-20234: ClamAV UDF Processing DoS Vulnerability

  • CVE-2024-20290: Cisco Secure Endpoint DoS Vulnerability

  • CVE-2020-37167: ClamAV Bytecode Interpreter RCE Vulnerability
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
  • English
  • 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