Skip to main content
A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Find Out Why
  • Experiencing a breach?
  • Blog
  • Careers
  • Platform & Products

    • Singularity™ Platform

      Unified Enterprise Security. Machine-Speed Protection, Intelligence, and Response.

    • XDR

      Native and Open Protection, Detection, and Response.

    • Integrations and Partners

      One-Click Integrations to Unlock the Power of SentinelOne.

    Product Tours
    Pricing & Packages
    Get a Demo
  • Solutions & Use Cases

    SentinelOne for Industries

    Security Tuned for Your Industry.

    See All Industries
    • Healthcare

      Protect Patient Data. Keep Clinical Systems Online.

    • Financial Services

      Stop Fraud and Ransomware. Stay Audit-Ready.

    • Federal Government

      FedRAMP and IL5-Ready Defense for Federal Missions.

    • Manufacturing

      Defend OT, IT, IIOT, and Supply Chains at Scale.

    • Energy

      Secure OT Systems and Critical Infrastructure.

    • Transportation and Logistics

      Defend Operations Across Fleet, Port, and Rail.

    • Higher Education

      Protect Open Networks Without Slowing Research.

    • K-12 Education

      Stop Ransomware. Protect Students, Staff, and Data.

    • Retail and Hospitality

      Defend Your Brand, Customer Data, and Bottom Line.

    • SMB & Startups

      Enterprise-Grade Defense for Fast Teams.

    See all solutions
  • Services

    Managed Services

    Wayfinder Threat Detection and Response.

    Learn More
    • Threat Hunting

      World-Class Expertise and Threat Intelligence.

    • Managed Detection and Response

      24/7 Expert MDR Across Your Entire Environment.

    • Incident Readiness and Response

      DFIR, Breach Readiness, and Compromise Assessments.

    Experiencing a breach?

    Our experts are here to help 24/7.

    1-855-868-3733
    Get Help Now
  • Partners

    Become a Partner

    • Become a SentinelOne Partner

      Join the Global SentinelOne Ecosystem

    • Explore MSSP Solutions

      Services Succeed Faster with SentinelOne

    • Form a Technology Alliance

      Integrated, Enterprise-Scale Solutions

    Find a Partner

    • Enlist a Response or Advisory Team

      Enlist Pro Response and Advisory Teams

    • SentinelOne for AWS

      Hosted Across AWS Regions Worldwide

    • SentinelOne for Google

      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale

    • Partner Locator

      Your Go-to Source for Our Top Partners in Your Region

    • Singularity Marketplace

      One-Click Integrations for Unified Prevention, Detection, and Response

      Explore integrations
    Partner Portal Login
  • Why SentinelOne

    • Why Choose SentinelOne

      AI-Powered Cybersecurity Built to Secure What’s Next.

    • Our Customers

      Trusted by the World’s Leading Companies.

    • Industry Awards & Recognition

      Tested and Proven by the Experts.

  • Resources & Support

    Resources

    • Resource Center
    • Webinars
    • Cybersecurity Blog
    • Events
    • Newsroom

    Company

    • About SentinelOne
    • Careers
    • S Ventures
    • S Foundation
    • Dataset
    • FAQ
    • Investors Relations

    Customer Success & Support

    • Live and On-Demand Training
    • Guided Onboarding & Deployment
    • Technical Account Management
    • Support Services
    • Customer Portal
    • Get Support Now

    Explore

    • Vulnerability Database
    • SentinelLABS Threat Research
    • Ransomeware Anthology
    • Cybersecurity 101
    EventJoin us at OneCon (Oct. 20–22, 2026)
    CompetitionThreat Hunting World Championship 2026
    ReportThe SentinelOne Annual Threat Report
  • Pricing
Get StartedContact us

Explore SentinelOne

  • Pricing
Events
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-2026-50263: X.org X Server Use-After-Free Flaw

  • CVE-2026-21033: Samsung Assistant RCE Vulnerability

  • CVE-2026-21032: Samsung Assistant RCE Vulnerability

  • CVE-2026-50260: X.org X Server Use-After-Free Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
Get a DemoContact Us
  • Product Tours
  • Why SentinelOne
  • Pricing & Packages
  • FAQ
  • SentinelOne Status

Key Products & Solutions

  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Prompt Security
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Explore Solutions

Services

  • Wayfinder TDR
  • Managed Detection and Response
  • Threat Hunting
  • Incident Readiness
& Response
  • Technical Account Management
  • Guided Onboarding 
& Deployment
  • Support Services

Company

  • About Us
  • Our Customers
  • Careers
  • Partners
  • S1 Foundation
  • S1 Ventures
  • Legal Information
  • Security & Compliance
  • Investor Relations

Quick Links

  • Customer Portal
  • Partner Portal
  • Become a Partner
  • Resource Center
  • SentinelLABS Threat Research
  • Blog
  • Press Center
  • Cybersecurity 101
  • Events
  • Ransomware Anthology
©2026 SentinelOne, All Rights Reserved
Privacy NoticeTerms of Use
English
English