Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2026-6507

CVE-2026-6507: dnsmasq Out-of-Bounds Write DoS Vulnerability

CVE-2026-6507 is an out-of-bounds write flaw in dnsmasq that enables remote attackers to crash the daemon via malicious BOOTREPLY packets. This article covers technical details, affected configurations, and mitigation.

Published: April 23, 2026

CVE-2026-6507 Overview

A critical memory corruption vulnerability has been discovered in dnsmasq, a lightweight DNS and DHCP server widely used in network infrastructure. A remote attacker can exploit an out-of-bounds write vulnerability by sending a specially crafted BOOTREPLY (Bootstrap Protocol Reply) packet to a dnsmasq server configured with the --dhcp-split-relay option. This flaw leads to memory corruption, causing the dnsmasq daemon to crash and resulting in a denial of service (DoS) condition.

Critical Impact

Remote attackers can crash dnsmasq services without authentication, disrupting DNS and DHCP services across affected networks. Systems using the --dhcp-split-relay configuration option are vulnerable to network-based attacks.

Affected Products

  • dnsmasq instances configured with --dhcp-split-relay option
  • Linux distributions and network appliances running vulnerable dnsmasq versions
  • Embedded systems and routers utilizing dnsmasq for DHCP relay functionality

Discovery Timeline

  • 2026-04-17 - CVE-2026-6507 published to NVD
  • 2026-04-17 - Last updated in NVD database

Technical Details for CVE-2026-6507

Vulnerability Analysis

This vulnerability is classified as CWE-787 (Out-of-Bounds Write), a dangerous memory corruption flaw that occurs when a program writes data beyond the boundaries of allocated memory. In the context of dnsmasq, the vulnerability manifests when processing BOOTREPLY packets while the --dhcp-split-relay option is enabled.

The flaw allows remote attackers to trigger memory corruption without requiring any authentication or user interaction. The attack can be launched over the network, making it particularly dangerous for internet-facing dnsmasq deployments or internal networks where an attacker has gained initial access.

While the vulnerability does not allow data exfiltration or arbitrary code execution based on current analysis, the availability impact is significant—successful exploitation causes the dnsmasq daemon to crash, disrupting all DNS and DHCP services provided by the affected server.

Root Cause

The root cause of CVE-2026-6507 lies in improper bounds checking when handling BOOTREPLY packets in dnsmasq's DHCP relay implementation. When the --dhcp-split-relay option is configured, the server processes Bootstrap Protocol packets to facilitate DHCP relay operations. The vulnerability occurs because the code fails to properly validate the size and structure of incoming BOOTREPLY packets before writing data to memory buffers.

This inadequate input validation allows a maliciously crafted packet to cause writes beyond the allocated buffer boundaries, corrupting adjacent memory regions and ultimately causing the daemon to crash.

Attack Vector

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

  1. Identifying a dnsmasq server configured with the --dhcp-split-relay option
  2. Crafting a malicious BOOTREPLY packet with carefully constructed fields designed to trigger the out-of-bounds write condition
  3. Sending the malicious packet to the target dnsmasq server
  4. The server processes the packet, triggering memory corruption and crashing the daemon

The vulnerability mechanism involves sending malformed BOOTREPLY packets that exploit insufficient bounds checking in dnsmasq's DHCP relay code path. When the --dhcp-split-relay option is enabled, the server expects to receive and process Bootstrap Protocol replies, but fails to properly validate packet contents before writing them to internal buffers. For detailed technical analysis, refer to the Red Hat Bug Report #2459181.

Detection Methods for CVE-2026-6507

Indicators of Compromise

  • Unexpected dnsmasq process crashes or service restarts
  • Log entries indicating segmentation faults or memory access violations in dnsmasq
  • Unusual BOOTREPLY packets from external or unexpected sources
  • Repeated DHCP service disruptions without apparent cause

Detection Strategies

  • Monitor dnsmasq process stability and implement alerting for unexpected crashes
  • Configure network intrusion detection systems (IDS) to flag anomalous BOOTP/DHCP traffic patterns
  • Review system logs for segfault or memory corruption errors related to dnsmasq
  • Implement network flow monitoring to detect unusual DHCP relay traffic

Monitoring Recommendations

  • Enable verbose logging for dnsmasq to capture packet processing errors
  • Deploy network monitoring to identify malformed BOOTP packets targeting dnsmasq servers
  • Implement automated service health checks with rapid alerting capabilities
  • Use SentinelOne Singularity Platform for real-time endpoint monitoring and crash detection

How to Mitigate CVE-2026-6507

Immediate Actions Required

  • Audit all dnsmasq configurations to identify instances using the --dhcp-split-relay option
  • Consider temporarily disabling the --dhcp-split-relay option if not operationally critical
  • Implement network segmentation to restrict access to dnsmasq servers from untrusted networks
  • Deploy firewall rules to limit BOOTP/DHCP traffic to trusted relay agents only

Patch Information

Organizations should monitor vendor security advisories for patch availability. Refer to the Red Hat CVE-2026-6507 Advisory for distribution-specific patch information and updates. Apply vendor-provided patches as soon as they become available.

Workarounds

  • Disable the --dhcp-split-relay option if DHCP relay functionality is not required
  • Implement firewall rules to block BOOTP traffic (UDP ports 67/68) from untrusted sources
  • Deploy dnsmasq behind a reverse proxy or load balancer with packet inspection capabilities
  • Consider using alternative DHCP relay implementations until patches are available
bash
# Configuration example - Restrict DHCP traffic with iptables
# Allow BOOTP/DHCP only from trusted relay agents
iptables -A INPUT -p udp --dport 67 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p udp --dport 68 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p udp --dport 67 -j DROP
iptables -A INPUT -p udp --dport 68 -j DROP

# Verify dnsmasq configuration for vulnerable option
grep -r "dhcp-split-relay" /etc/dnsmasq.conf /etc/dnsmasq.d/

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechDnsmasq

  • 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-787
  • Technical References
  • Red Hat CVE-2026-6507 Advisory

  • Red Hat Bug Report #2459181
  • Related CVEs
  • CVE-2020-37127: Dnsmasq-utils Buffer Overflow DoS Vulnerability

  • CVE-2026-30818: TP-Link Archer AX53 RCE Vulnerability

  • CVE-2021-3448: Dnsmasq DNS Cache Poisoning Vulnerability

  • CVE-2022-0934: Dnsmasq Use-After-Free 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