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
    • 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-2025-24294

CVE-2025-24294: DNS Packet Parsing DoS Vulnerability

CVE-2025-24294 is a denial of service flaw in DNS packet parsing caused by insufficient length checks on decompressed domain names. Attackers can exploit this to exhaust CPU resources. This article covers technical details, attack vectors, impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-24294 Overview

CVE-2025-24294 is a Denial of Service (DoS) vulnerability in the Ruby resolv library caused by an insufficient check on the length of a decompressed domain name within a DNS packet. An attacker can craft a malicious DNS packet containing a highly compressed domain name. When the resolv library parses such a packet, the name decompression process consumes a large amount of CPU resources, as the library does not limit the resulting length of the name. This resource consumption can cause the application thread to become unresponsive, resulting in a Denial of Service condition.

Critical Impact

Applications using Ruby's resolv library are vulnerable to CPU exhaustion attacks through specially crafted DNS packets with highly compressed domain names, potentially causing complete service unavailability.

Affected Products

  • Ruby resolv library (all versions prior to patch)
  • Applications utilizing Ruby DNS resolution functionality

Discovery Timeline

  • 2025-07-12 - CVE CVE-2025-24294 published to NVD
  • 2025-07-16 - Last updated in NVD database

Technical Details for CVE-2025-24294

Vulnerability Analysis

This vulnerability stems from CWE-400 (Uncontrolled Resource Consumption), a class of weaknesses where an application fails to properly control resource usage. The Ruby resolv library, which provides DNS resolution capabilities for Ruby applications, processes DNS response packets that may contain compressed domain names using DNS message compression (RFC 1035). The vulnerability exists because the library does not impose adequate limits on the resulting length of decompressed domain names.

DNS compression allows domain names to be represented using pointers to previously occurring domain name segments within the same message, reducing packet size. However, maliciously crafted compression schemes can exploit this mechanism to create domain names that expand to disproportionately large sizes when decompressed, causing the parsing routine to consume excessive CPU cycles.

Root Cause

The root cause is an insufficient validation check on the length of domain names after the decompression process completes. The resolv library fails to enforce reasonable bounds on the expanded domain name length, allowing attackers to craft DNS packets where the decompression algorithm runs for an extended period. This unbounded processing creates an algorithmic complexity attack vector where a relatively small input packet can trigger substantial computational overhead.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Crafting a malicious DNS response packet with carefully constructed domain name compression pointers
  2. Sending this packet to an application that uses Ruby's resolv library to parse DNS responses
  3. The library's decompression routine processes the compressed name without length limits
  4. CPU resources are exhausted as the decompression continues processing the malicious payload

The attack can be launched remotely against any Ruby application that processes DNS packets using the vulnerable library. This could occur in scenarios where applications handle DNS responses from untrusted sources or when an attacker can perform DNS response injection attacks.

Detection Methods for CVE-2025-24294

Indicators of Compromise

  • Unusual CPU utilization spikes in Ruby application processes
  • Application threads becoming unresponsive during DNS resolution operations
  • Presence of abnormally large or malformed DNS response packets in network traffic
  • DNS packets with excessive compression pointer chains

Detection Strategies

  • Monitor for anomalous CPU consumption patterns in Ruby application processes, particularly during DNS operations
  • Implement network-based detection for DNS packets with suspicious compression ratios
  • Deploy application performance monitoring to identify DNS resolution timeouts or hangs
  • Analyze DNS traffic for packets with unusually deep compression pointer hierarchies

Monitoring Recommendations

  • Enable detailed logging for DNS resolution activities in Ruby applications
  • Set up alerts for sustained high CPU usage in processes utilizing the resolv library
  • Monitor for DNS response packets exceeding normal size thresholds
  • Track application response time metrics to detect DoS impact early

How to Mitigate CVE-2025-24294

Immediate Actions Required

  • Update Ruby to the latest patched version that addresses CVE-2025-24294
  • Review applications for dependency on the vulnerable resolv library
  • Implement rate limiting for DNS resolution requests in affected applications
  • Consider using alternative DNS resolution mechanisms until patches are applied

Patch Information

Ruby has released a security update addressing this vulnerability. Refer to the Ruby Security Advisory for CVE-2025-24294 for detailed patch information and updated versions.

Workarounds

  • Implement application-level timeouts for DNS resolution operations to limit the impact of malicious packets
  • Deploy network-level filtering to inspect and reject malformed DNS packets before they reach vulnerable applications
  • Use a dedicated DNS resolver service that performs validation before passing responses to applications
  • Consider implementing DNS response size limits at the network perimeter
bash
# Example: Add timeout wrapper for DNS operations in Ruby applications
# Set appropriate timeout values based on your application requirements
# ruby -e "require 'timeout'; Timeout.timeout(5) { require 'resolv'; Resolv.getaddress('example.com') }"

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechResolv

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.04%

  • 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-400
  • Technical References
  • Ruby Security Advisory CVE-2025-24294
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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