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-34065

CVE-2026-34065: Nimiq Primitives DoS Vulnerability

CVE-2026-34065 is a denial of service vulnerability in nimiq-primitives that allows untrusted peers to crash nodes via invalid BLS voting keys. This article covers technical details, affected versions, impact, and mitigation.

Published: April 23, 2026

CVE-2026-34065 Overview

A denial of service vulnerability exists in nimiq-primitives, a library containing primitives (e.g., block, account, transaction) used in Nimiq's Rust implementation. Prior to version 1.3.0, an untrusted peer-to-peer (P2P) peer can cause a node to panic by announcing an election macro block containing an invalid compressed BLS voting key within the validators set. When the application attempts to hash an election macro header, it processes the validators field and reaches Validators::voting_keys(), which calls validator.voting_key.uncompress().unwrap(). If the BLS key bytes are invalid, the .unwrap() call panics, crashing the node.

Critical Impact

Remote attackers can crash Nimiq blockchain nodes by sending crafted P2P messages with malformed BLS keys, potentially disrupting network consensus and availability.

Affected Products

  • nimiq-primitives (Rust library) versions prior to 1.3.0
  • Nimiq core-rs-albatross implementations using affected nimiq-primitives versions

Discovery Timeline

  • April 22, 2026 - CVE CVE-2026-34065 published to NVD
  • April 22, 2026 - Last updated in NVD database

Technical Details for CVE-2026-34065

Vulnerability Analysis

This vulnerability represents a classic unchecked return value issue (CWE-252) in the handling of cryptographic key decompression. In Nimiq's Rust implementation, when processing election macro blocks received from P2P peers, the system hashes the block header which includes validator information. Each validator entry contains a compressed BLS voting key that must be decompressed before use.

The vulnerable code path is triggered when Validators::voting_keys() is called during the hashing operation. This function iterates through validators and calls validator.voting_key.uncompress().unwrap() on each voting key. The uncompress() method returns a Result type that may contain an error if the compressed key bytes are malformed or invalid. By using .unwrap() directly, the code assumes decompression will always succeed. When an attacker provides an invalid BLS key, the unwrap() call on an Err variant causes a panic, immediately terminating the node process.

Root Cause

The root cause is the use of .unwrap() on a fallible operation (uncompress()) without proper error handling. This violates the principle of defensive programming, especially when processing untrusted input from P2P network peers. The BLS key decompression operation can fail for various reasons including malformed byte sequences, invalid curve points, or corrupted data. The code should validate and gracefully handle decompression failures rather than panicking.

Attack Vector

The attack exploits the P2P network communication layer in Nimiq nodes. An attacker can connect to a target node as a P2P peer and announce a specially crafted election macro block. This block contains a validators set with at least one entry containing invalid compressed BLS voting key bytes.

When the victim node receives this block announcement and attempts to process or validate it, the hashing operation on the macro header triggers the vulnerable code path. The node iterates through the validators, attempts to decompress the malicious BLS key, encounters an error, and panics due to the unchecked .unwrap() call. This results in immediate node termination, causing a denial of service condition.

The attack requires network access to the target node's P2P interface but does not require authentication or any special privileges. The attacker does not need to be a legitimate validator or hold any stake in the network.

Detection Methods for CVE-2026-34065

Indicators of Compromise

  • Unexpected node crashes or restarts with panic messages referencing uncompress() or BLS key operations
  • P2P connection logs showing repeated block announcements from unknown or suspicious peers
  • Stack traces in error logs containing Validators::voting_keys() or voting_key.uncompress().unwrap()
  • Anomalous election macro block announcements with invalid validator data

Detection Strategies

  • Monitor node process stability and implement crash detection alerting for Nimiq nodes
  • Implement P2P traffic analysis to identify malformed block announcements with invalid BLS key data
  • Configure log aggregation to detect panic messages containing BLS decompression failures
  • Deploy network intrusion detection rules for abnormal validator set data in macro block messages

Monitoring Recommendations

  • Enable verbose logging on Nimiq nodes to capture P2P message details and potential attack attempts
  • Implement automated node health checks with restart mechanisms to maintain availability
  • Monitor P2P peer reputation and connection patterns for suspicious behavior
  • Track node uptime metrics to identify potential DoS attack patterns

How to Mitigate CVE-2026-34065

Immediate Actions Required

  • Upgrade nimiq-primitives and core-rs-albatross to version 1.3.0 or later immediately
  • Review and restart any affected nodes to ensure they are running the patched version
  • Monitor node stability closely during the upgrade transition period
  • Consider temporarily restricting P2P connections to trusted peers if immediate patching is not possible

Patch Information

The patch for this vulnerability is included in Nimiq core-rs-albatross version 1.3.0. The fix replaces the unsafe .unwrap() call with proper error handling that gracefully handles invalid BLS key decompression failures instead of panicking. The specific commit implementing the fix can be found in the GitHub commit e10eaeb.

For additional context on the vulnerability and fix, refer to the GitHub Security Advisory GHSA-7c4j-2m43-2mgh and the related Pull Request #3662.

Workarounds

  • No known workarounds are available for this vulnerability according to the security advisory
  • Network-level firewall rules may provide limited protection by restricting P2P access to trusted peers only
  • Implementing process supervision with automatic restart capabilities can minimize downtime but does not prevent the underlying vulnerability
bash
# Upgrade to patched version
cargo update -p nimiq-primitives --precise 1.3.0

# Verify installed version
cargo tree -p nimiq-primitives | grep nimiq-primitives

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNimiq

  • 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-252
  • Technical References
  • GitHub Commit Notification

  • GitHub Pull Request Discussion

  • GitHub Release v1.3.0

  • GitHub Security Advisory GHSA-7c4j-2m43-2mgh
  • Related CVEs
  • CVE-2026-34064: Nimiq Account DoS Vulnerability

  • CVE-2026-34066: Nimiq Blockchain DOS Vulnerability

  • CVE-2026-34063: Nimiq network-libp2p DoS Vulnerability

  • CVE-2026-34067: Nimiq Transaction 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