CVE-2025-66861
NixOS vulnerability analysis and mitigation

Overview

CVE-2025-66861 is a denial-of-service vulnerability in GNU BinUtils 2.26, specifically in the d_unqualified_name function within libiberty/cp-demangle.c. An attacker can trigger a segmentation fault (SEGV) by supplying a crafted PE file to tools such as cxxfilt that invoke the C++ demangler. The vulnerability was published on December 29, 2025, and affects only BinUtils version 2.26. It carries a CVSS v3.1 base score of 2.5 (Low) (Feedly, GitHub PoC).

Technical details

The root cause is classified as CWE-400 (Uncontrolled Resource Consumption), manifesting as a null/invalid pointer dereference (SEGV on unknown address) during a READ memory access at cp-demangle.c:1596 in the d_unqualified_name function. Exploitation requires piping or feeding a specially crafted input to a BinUtils tool (e.g., cxxfilt) that triggers the demangling code path through cplus_demangle_mangled_named_encodingd_bare_function_typed_pointer_to_member_typecplus_demangle_typed_expressiond_unqualified_name. The attack vector is local (AV:L), requires user interaction (UI:R), and has high attack complexity (AC:H), meaning an attacker must convince a user or automated pipeline to process a malicious file. A public proof-of-concept crash reproducer is available (GitHub PoC).

Impact

Successful exploitation causes the affected BinUtils tool (e.g., cxxfilt) to crash with a fatal SEGV signal, resulting in a denial-of-service condition. There is no impact on confidentiality or integrity — only availability is affected, and only at a low severity level given the local, interactive nature of the attack. Automated build pipelines or binary analysis environments that process untrusted PE files using BinUtils 2.26 are the most plausible targets (Feedly, GitHub PoC).

Exploitability

A proof-of-concept exploit (a crafted binary poc1) is publicly available on GitHub and was added to the NVD exploit reference list on January 14, 2026. There is no evidence of in-the-wild exploitation, and the EPSS score is extremely low at 0.000180 (approximately 0.018%), reflecting minimal real-world exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported (Feedly, GitHub PoC).

Exploitation steps

  1. Prepare the environment: Obtain a system with BinUtils 2.26 installed (e.g., compile from source using clang with AddressSanitizer: export CC=clang; export CFLAGS="-g -Wno-error -fsanitize=address"; ./configure && make -j).
  2. Obtain the PoC file: Download the crafted input file: wget https://github.com/caozhzh/CRGF-Vul/raw/refs/heads/main/pocs/poc1.
  3. Trigger the crash: Pipe the crafted file into the cxxfilt binary: cat poc1 | binutils/cxxfilt.
  4. Observe the crash: The demangler processes the malformed input, traverses a deeply nested type-parsing call chain, and dereferences an invalid pointer at d_unqualified_name (cp-demangle.c:1596), causing a SEGV and process termination (GitHub PoC).

Indicators of compromise

  • Process: Unexpected crash or abnormal termination of cxxfilt, objdump, nm, or other BinUtils tools that invoke the C++ demangler when processing PE files.
  • Logs: AddressSanitizer output containing SEGV on unknown address with stack trace referencing d_unqualified_name in cp-demangle.c:1596; process exit with signal 11 (SIGSEGV).
  • File System: Presence of unexpected or externally sourced PE/binary files in directories processed by automated BinUtils-based pipelines.
  • Network: Downloads of files named poc1 or similar from github.com/caozhzh/CRGF-Vul in environments where such access is unexpected (GitHub PoC).

Mitigation and workarounds

No official patch has been released for BinUtils 2.26 specifically addressing this CVE. Organizations should upgrade to a newer version of GNU BinUtils (post-2.26), as the codebase has received numerous fixes since that release. As an interim measure, restrict processing of untrusted or user-supplied PE files through BinUtils tools, and avoid exposing cxxfilt or similar utilities to unvalidated input in automated pipelines. Monitor the GNU BinUtils project and downstream Linux distribution advisories for patch availability (Feedly).

Community reactions

Coverage has been limited to automated vulnerability aggregators (VulDB, Vulners, CVEFeed, ENISA EUVD) and a Bluesky CVE notification post. Tenable added a Nessus detection plugin (ID 280126) for this vulnerability. No notable researcher commentary or vendor statements beyond routine aggregation have been identified (Feedly, Tenable Nessus).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

binutils

Affected

sid

binutils

Affected

trixie

binutils

Affected

Ubuntu

Unknown

bionic (esm-infra)

binutils

Unknown

devel

binutils

Unknown

focal (esm-infra)

binutils

Unknown

jammy

binutils

Unknown

noble

binutils

Unknown

resolute

binutils

Unknown

trusty (esm-infra-legacy)

binutils

Unknown

xenial (esm-infra-legacy)

binutils

Unknown

RHEL / CentOS

Affected

OpenShift

openshift/ose-rhel-coreos-8

Affected

RHEL 8

binutils.src

Affected

RHEL 9

binutils.src

Affected

RHEL 10

binutils.src

Affected

SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-86738CRITICAL9.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86734HIGH7.1
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86735MEDIUM5.9
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86737MEDIUM5.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86736MEDIUM5.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management