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-2025-66864

CVE-2025-66864: GNU Binutils DOS Vulnerability

CVE-2025-66864 is a denial of service vulnerability in GNU Binutils 2.26 affecting the d_print_comp_inner function. Attackers can exploit this via crafted PE files. This article covers technical details, impact, and mitigation.

Updated: May 11, 2026

CVE-2025-66864 Overview

CVE-2025-66864 is a denial of service vulnerability in GNU Binutils 2.26. The flaw resides in the d_print_comp_inner function within cp-demangle.c, a C++ symbol demangler used by tools such as c++filt, nm, addr2line, and objdump. Attackers can trigger the issue by supplying a crafted Portable Executable (PE) file that contains malformed mangled symbols. Processing the file causes the demangler to crash, resulting in an availability impact. The vulnerability is classified under [CWE-20] Improper Input Validation and affects build pipelines, reverse engineering workflows, and automated binary analysis services that ingest untrusted PE inputs.

Critical Impact

Remote attackers can crash Binutils tooling by submitting a malicious PE file, disrupting binary analysis pipelines and any service that demangles untrusted C++ symbols.

Affected Products

  • GNU Binutils 2.26
  • Tools linking libiberty demangling code (e.g., c++filt, nm, objdump, addr2line)
  • Downstream distributions and toolchains bundling the affected cp-demangle.c

Discovery Timeline

  • 2025-12-29 - CVE-2025-66864 published to the National Vulnerability Database (NVD)
  • 2026-01-14 - Last updated in NVD database

Technical Details for CVE-2025-66864

Vulnerability Analysis

The defect lies in d_print_comp_inner, a recursive routine that walks the abstract syntax tree produced when demangling Itanium-style C++ symbols. A crafted PE file embeds mangled symbol strings that drive the demangler into a state the function does not validate, terminating the process with a crash. Because the demangler is invoked automatically by common Binutils utilities when listing symbols, a single malicious binary is sufficient to take down the consuming tool.

The issue is reachable from network-delivered files. Build farms, malware analysis sandboxes, package indexers, and continuous integration systems that run nm or objdump against attacker-supplied binaries are exposed. The impact is limited to availability; confidentiality and integrity are not affected.

Root Cause

The root cause is improper input validation [CWE-20] during recursive traversal of demangled component trees. d_print_comp_inner does not adequately guard against malformed or unexpected component types produced from attacker-controlled symbol strings, leading to a fatal condition during printing. Technical reproduction details are documented in the CRGF vulnerability report.

Attack Vector

Exploitation requires no authentication or user interaction beyond convincing a target to process the malicious PE file. An attacker uploads or distributes the file, and any Binutils-based tool that demangles its symbols crashes. See the CRGF crash report for reproduction steps using c++filt against the crafted input.

Detection Methods for CVE-2025-66864

Indicators of Compromise

  • Unexpected crashes or SIGSEGV signals from c++filt, nm, objdump, or addr2line processes
  • Core dumps generated when Binutils tools parse PE files received from untrusted sources
  • CI/CD or malware-analysis job failures correlated with newly ingested PE samples

Detection Strategies

  • Audit installed binutils package versions and flag hosts running 2.26 or earlier unpatched builds
  • Monitor process termination telemetry for repeated abnormal exits of demangling binaries
  • Inspect PE samples processed by build and analysis systems for malformed mangled symbol strings before invoking Binutils tools

Monitoring Recommendations

  • Enable core dump collection on analysis hosts and alert on dumps originating from Binutils utilities
  • Track invocations of c++filt and objdump against untrusted inputs in EDR or audit logs
  • Centralize CI worker crash logs and correlate failures with sample hashes to identify malicious submissions

How to Mitigate CVE-2025-66864

Immediate Actions Required

  • Upgrade GNU Binutils to a version later than 2.26 that includes hardened cp-demangle.c logic
  • Restrict use of Binutils tools to trusted binaries on production build infrastructure
  • Sandbox demangling operations performed against attacker-supplied PE files using containers or seccomp profiles

Patch Information

No specific vendor advisory URL is included in the NVD record. Administrators should track the GNU Binutils release notes and their Linux distribution's security advisories for fixes referencing d_print_comp_inner and cp-demangle.c. Rebuild dependent tooling and libiberty consumers after applying the upstream patch.

Workarounds

  • Pre-filter or reject PE files with malformed or oversized mangled symbol tables before invoking Binutils
  • Run demangling utilities under resource-limited, isolated processes that can recover from crashes without impacting the pipeline
  • Disable automatic symbol demangling in analysis workflows where it is not strictly required
bash
# Configuration example: run c++filt in an isolated, resource-limited sandbox
systemd-run --scope --uid=nobody --gid=nogroup \
  -p MemoryMax=256M -p CPUQuota=25% -p NoNewPrivileges=yes \
  c++filt < /input/symbols.txt > /output/demangled.txt

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGnu Binutils

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.12%

  • 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
  • NVD-CWE-noinfo

  • CWE-20
  • Technical References
  • GitHub CRGF Vulnerability Discussion
  • Related CVEs
  • CVE-2026-4647: GNU Binutils BFD Library DoS Vulnerability

  • CVE-2025-69650: GNU Binutils Double Free DoS Vulnerability

  • CVE-2025-69649: GNU Binutils Denial of Service Vulnerability

  • CVE-2025-69652: GNU Binutils readelf DoS 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