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

CVE-2026-4892: dnsmasq DHCPv6 RCE Vulnerability

CVE-2026-4892 is a heap-based out-of-bounds write flaw in dnsmasq's DHCPv6 implementation that enables local attackers to execute arbitrary code with root privileges. This article covers technical details, impact, and mitigation.

Published: May 18, 2026

CVE-2026-4892 Overview

CVE-2026-4892 is a heap-based out-of-bounds write vulnerability in the Dynamic Host Configuration Protocol version 6 (DHCPv6) implementation of dnsmasq. A local attacker can send a crafted DHCPv6 packet to trigger memory corruption in the daemon's heap. Because dnsmasq typically runs with elevated privileges to bind privileged ports and manage network leases, successful exploitation enables arbitrary code execution with root privileges. The vulnerability affects dnsmasq, a widely deployed lightweight DNS forwarder and DHCP server used in routers, embedded devices, Pi-hole, and Linux distributions. Maintainers and downstream packagers have published fixes, including Pi-hole FTL v6.6.2 and patches in the NixOS package tree. CERT issued vulnerability note VU#471747 to coordinate disclosure across affected vendors.

Critical Impact

Local attackers can achieve arbitrary code execution as root by sending a crafted DHCPv6 packet to a vulnerable dnsmasq instance, compromising the host that runs DNS and DHCP services.

Affected Products

  • dnsmasq (DHCPv6-enabled builds) — see dnsmasq CVE Information
  • Pi-hole FTL prior to v6.6.2 — fixed in Pi-hole FTL Release v6.6.2
  • Downstream Linux distributions packaging dnsmasq — tracked in NixOS Pull Request #519082 and NixOS Pull Request #519093

Discovery Timeline

  • 2026-05-11 - CVE-2026-4892 published to the National Vulnerability Database (NVD)
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2026-4892

Vulnerability Analysis

The flaw resides in the DHCPv6 packet parsing routines within dnsmasq. When the daemon processes an attacker-controlled DHCPv6 message, it writes data past the end of a heap-allocated buffer. Heap-based out-of-bounds writes corrupt adjacent allocator metadata or neighboring objects, which an attacker can use to redirect control flow. Because dnsmasq handles raw DHCPv6 frames on the local network interface and retains root privileges to manage leases, the corruption occurs in a privileged process address space. Exploitation leads to loss of confidentiality, integrity, and availability of the host, with the impact contained to the affected service boundary.

Root Cause

The root cause is missing or insufficient bounds checking on length fields or option data inside a DHCPv6 packet before copying that data into a heap buffer. The parser trusts attacker-supplied size information, allowing writes that exceed the destination allocation. This pattern aligns with [CWE-787: Out-of-bounds Write].

Attack Vector

The attack vector is local from the perspective of the CVSS scoring, meaning the adversary needs to deliver the malicious DHCPv6 packet onto the local link where dnsmasq listens. No authentication or user interaction is required. DHCPv6 traffic is link-local by design, so any unauthenticated host on the same network segment as the vulnerable daemon can deliver the payload. Crafted Solicit, Request, or Relay-Forward messages with malformed options are the most likely trigger paths. For technical details, see the dnsmasq Discussion Mailing List thread and the CERT Vulnerability Report #471747.

Detection Methods for CVE-2026-4892

Indicators of Compromise

  • Unexpected crashes, segmentation faults, or restarts of the dnsmasq process recorded in journalctl or /var/log/syslog.
  • New child processes spawned by dnsmasq (for example, a shell or network utility) that have no legitimate role in DNS or DHCP operations.
  • Outbound network connections originating from the dnsmasq process to attacker-controlled infrastructure.

Detection Strategies

  • Monitor the integrity of the dnsmasq binary and configuration files against a known-good baseline.
  • Inspect DHCPv6 traffic for malformed option lengths or oversized fields using packet capture tools such as tcpdump or tshark.
  • Alert on any privilege-retained child process created from dnsmasq, since the daemon should not normally spawn interactive utilities.

Monitoring Recommendations

  • Forward host logs and process telemetry from devices running dnsmasq to a centralized analytics platform for correlation.
  • Track package versions of dnsmasq and Pi-hole FTL across the fleet to verify patch coverage.
  • Enable auditd rules for execve events under the dnsmasq process tree to catch post-exploitation activity.

How to Mitigate CVE-2026-4892

Immediate Actions Required

  • Upgrade dnsmasq to the fixed version published by the upstream maintainer at thekelleys.org.uk.
  • Upgrade Pi-hole FTL deployments to v6.6.2 or later.
  • Apply distribution updates as they become available, including the NixOS changes tracked in PR #519082 and PR #519093.

Patch Information

Upstream dnsmasq patches are referenced from the maintainer's CVE tracking page. Pi-hole has shipped a fixed release in FTL v6.6.2. Coordinated vendor advisories are aggregated by CERT in VU#471747. Verify that any embedded device or router firmware vendor has incorporated the upstream fix before considering the issue resolved.

Workarounds

  • Disable DHCPv6 service in dnsmasq if IPv6 address assignment is not required by setting dhcp-range to IPv4-only and removing IPv6 ranges.
  • Restrict the interfaces on which dnsmasq listens using the interface= or bind-interfaces directives to trusted network segments only.
  • Apply network segmentation and link-layer filtering to block untrusted hosts from sending DHCPv6 traffic to vulnerable servers.
bash
# Configuration example: disable DHCPv6 in /etc/dnsmasq.conf
# Remove or comment any IPv6 dhcp-range entries, for example:
# dhcp-range=::1,::ff,constructor:eth0,ra-names,12h

# Restrict dnsmasq to a trusted management interface
interface=eth0
bind-interfaces

# Reload the service after changes
sudo systemctl restart dnsmasq
sudo systemctl status dnsmasq

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDnsmasq

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • Technical References
  • GitHub Pull Request #519082

  • GitHub Pull Request #519093

  • Pi-hole FTL Release v6.6.2

  • dnsmasq Discussion Mailing List

  • dnsmasq CVE Information

  • CERT Vulnerability Report #471747
  • Related CVEs
  • CVE-2026-30818: TP-Link Archer AX53 RCE Vulnerability

  • CVE-2026-5172: dnsmasq Buffer Overflow Vulnerability

  • CVE-2026-2291: dnsmasq Buffer Overflow Vulnerability

  • CVE-2026-4893: dnsmasq Information Disclosure Vulnerability
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 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