A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-46598

CVE-2026-46598: Golang Crypto Input Parsing Vulnerability

CVE-2026-46598 is an input parsing flaw in Golang Crypto that causes panics when crafted inputs create malformed ed25519.PrivateKey instances. This post covers technical details, affected versions, and mitigation steps.

Published: May 28, 2026

CVE-2026-46598 Overview

CVE-2026-46598 affects the Go golang.org/x/crypto module's ed25519 implementation. The vulnerability allows an attacker to trigger a runtime panic by supplying crafted wire bytes that are cast into an ed25519.PrivateKey. When the malformed key is later used for signing or verification, the process panics, resulting in a denial of service. The flaw is network-reachable, requires no authentication, and stems from improper validation of array index input [CWE-129]. Applications that accept untrusted serialized Ed25519 key material — such as TLS libraries, SSH services, or PKI tooling built on Go — are exposed.

Critical Impact

Remote attackers can crash Go applications that deserialize attacker-controlled Ed25519 private key bytes, causing service disruption without authentication.

Affected Products

  • golang.org/x/crypto (Go crypto supplementary module)
  • Go applications consuming ed25519.PrivateKey from untrusted wire input
  • Downstream libraries linking the vulnerable crypto package version

Discovery Timeline

  • 2026-05-22 - CVE-2026-46598 published to NVD
  • 2026-05-28 - Last updated in NVD database

Technical Details for CVE-2026-46598

Vulnerability Analysis

The vulnerability resides in the Ed25519 private key handling logic within golang.org/x/crypto. The code path constructs an ed25519.PrivateKey value by directly casting incoming wire bytes into the key type rather than validating length and structure first. Ed25519 private keys have a fixed 64-byte layout containing the seed and the derived public key suffix. When malformed input violates that expected layout, downstream operations index beyond the underlying slice and trigger a runtime panic.

The issue is categorized under [CWE-129] Improper Validation of Array Index. The impact is limited to availability — the bug does not leak key material or permit code execution. However, an unrecovered panic in a network service typically terminates the goroutine and, depending on the host application, may crash the entire process.

Root Cause

The root cause is missing length and shape validation before casting raw bytes to ed25519.PrivateKey. Go permits a direct type conversion from []byte to the named slice type, but the crypto routines assume the slice contains a well-formed 64-byte key. Crafted inputs that do not satisfy this invariant survive the cast and only fail later during cryptographic operations, where the failure manifests as an out-of-bounds access panic.

Attack Vector

An attacker delivers crafted bytes to any Go service that deserializes Ed25519 private key material from an untrusted source. Examples include configuration loaders, key import APIs, custom RPC protocols, and identity provisioning endpoints. The attacker does not need credentials or user interaction. Once the application calls Sign, Public, or comparable methods on the malformed key, the goroutine panics. Repeated requests sustain a denial-of-service condition.

No verified public proof-of-concept code is available. See the Go.dev Vulnerability Report and the Go.dev Issue Tracker Update for upstream technical details.

Detection Methods for CVE-2026-46598

Indicators of Compromise

  • Unexpected process termination or goroutine panics in Go services that parse Ed25519 keys, with stack traces referencing ed25519 package functions.
  • Repeated short-lived connections from the same source preceding a service crash or restart loop.
  • Log entries containing runtime error: index out of range correlated with key import or signing operations.

Detection Strategies

  • Inventory Go binaries and dependencies using govulncheck to identify modules linking vulnerable golang.org/x/crypto versions.
  • Instrument applications to capture and log panics from cryptographic code paths rather than allowing silent crashes.
  • Monitor service supervisors (systemd, Kubernetes) for elevated restart counts on workloads that process external key material.

Monitoring Recommendations

  • Alert on crash loops and panic stack traces emitted by Go services exposed to untrusted input.
  • Track ingress traffic patterns to endpoints that accept serialized keys for volumetric anomalies.
  • Correlate application restarts with upstream request payloads in centralized logging to identify malicious input sources.

How to Mitigate CVE-2026-46598

Immediate Actions Required

  • Update golang.org/x/crypto to the fixed release identified in the Go.dev Vulnerability Report and rebuild affected binaries.
  • Run govulncheck ./... across Go repositories to enumerate call sites that reach the vulnerable Ed25519 code path.
  • Restrict network exposure of services that accept Ed25519 key material from untrusted clients until patched.

Patch Information

The Go team published the fix through the upstream change list referenced in the Go.dev Cl Issue Advisory and announced it in the Google Groups Announcement. Upgrade the golang.org/x/crypto dependency to the patched version and redeploy. Container images and statically linked binaries must be rebuilt — module updates alone do not propagate to compiled artifacts.

Workarounds

  • Validate the length of incoming key bytes equals 64 before casting to ed25519.PrivateKey, rejecting any other size at the application boundary.
  • Wrap cryptographic operations on externally sourced keys in recover() blocks to contain panics within a request scope.
  • Authenticate and rate-limit endpoints that accept serialized key material to reduce remote attack surface.
bash
# Update the vulnerable module and verify with govulncheck
go get golang.org/x/crypto@latest
go mod tidy
govulncheck ./...

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechGolang

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-129
  • Technical References
  • Go.dev Cl Issue Advisory

  • Go.dev Issue Tracker Update

  • Google Groups Announcement
  • Vendor Resources
  • Go.dev Vulnerability Report
  • Related CVEs
  • CVE-2025-47906: Golang Go LookPath Handling Vulnerability

  • CVE-2024-24789: Golang Go Archive/Zip File Vulnerability

  • CVE-2021-3114: Golang Go Cryptographic Vulnerability

  • CVE-2026-39832: Golang Crypto Auth Bypass 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