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

CVE-2026-47373: Perl Crypt::SaltedHash Timing Attack Flaw

CVE-2026-47373 is a timing attack vulnerability in Perl Crypt::SaltedHash versions through 0.09 that allows attackers to guess password hashes. This article covers the technical details, affected versions, and mitigation.

Published: May 21, 2026

CVE-2026-47373 Overview

CVE-2026-47373 affects Crypt::SaltedHash versions through 0.09 for Perl. The module is susceptible to timing attacks because it uses Perl's built-in eq operator to compare hash values. The eq operator performs byte-by-byte comparison and returns as soon as a mismatch is found. An attacker measuring the response time of repeated comparisons can incrementally infer the bytes of a stored hash. This class of weakness is tracked as CWE-208: Observable Timing Discrepancy. The maintainer addressed the issue in Crypt-SaltedHash version 0.10 by replacing eq with a constant-time comparison routine named _secure_compare.

Critical Impact

Attackers can leverage timing side channels to recover password hashes used for authentication in Perl applications relying on Crypt::SaltedHash for credential validation.

Affected Products

  • Crypt::SaltedHash Perl module, versions through 0.09
  • Perl applications that use Crypt::SaltedHash for password or credential validation
  • Downstream CPAN distributions bundling Crypt-SaltedHash ≤ 0.09

Discovery Timeline

  • 2026-05-20 - CVE-2026-47373 published to the National Vulnerability Database (NVD)
  • 2026-05-20 - Public discussion posted to the OpenWall OSS Security list
  • 2026-05-20 - Last updated in the NVD database

Technical Details for CVE-2026-47373

Vulnerability Analysis

The vulnerability is a classic timing side-channel issue in cryptographic hash verification. Crypt::SaltedHash is a Perl module that generates and validates salted hashes used for password storage. Validation compares a freshly computed hash against a stored hash. The pre-patch implementation used Perl's standard string equality operator, which short-circuits on the first differing byte.

Because the comparison time correlates with the number of matching leading bytes, an attacker with the ability to submit candidate hashes and measure server response time can deduce the stored hash one byte at a time. Recovery of the hash enables offline brute-force or dictionary attacks against the underlying password without further interaction with the target.

Root Cause

The root cause is the use of a non-constant-time comparison in the validation path of lib/Crypt/SaltedHash.pm. The code returned $gen_hash eq $hash, which exits early when bytes differ. Secure hash verification requires comparing the full length of both operands in time independent of the input contents.

Attack Vector

Exploitation requires the attacker to repeatedly submit candidate hashes or trigger comparisons in a context where response latency can be measured. Suitable targets include authentication endpoints, password reset flows, or API calls that internally invoke Crypt::SaltedHash validate routines. Network jitter increases the number of samples required, but statistical averaging over many requests can still extract the hash.

text
// Pre-patch (vulnerable) vs post-patch comparison in lib/Crypt/SaltedHash.pm
    my $gen_hasheddata = $obj->generate;
    my $gen_hash       = &__get_pass_hash($gen_hasheddata);

-    return $gen_hash eq $hash;
+    return _secure_compare( $gen_hash, $hash );
}

Source: GitHub commit c07bfc5. The patch replaces the short-circuiting eq operator with _secure_compare, a constant-time comparison helper.

Detection Methods for CVE-2026-47373

Indicators of Compromise

  • High volumes of authentication requests from a single source targeting the same account or hash endpoint
  • Unusually consistent request cadence designed to gather precise latency measurements
  • Repeated submissions of structurally similar but incrementally varied hash strings

Detection Strategies

  • Inventory CPAN dependencies and flag any installation of Crypt-SaltedHash at version ≤ 0.09
  • Inspect application source for direct calls to validate() on Crypt::SaltedHash objects in code paths reachable from untrusted input
  • Use software composition analysis (SCA) tooling to match installed module versions against the fixed release 0.10

Monitoring Recommendations

  • Monitor authentication endpoints for abnormal request rates and latency probing patterns
  • Log and alert on repeated failed validations against the same identifier within short time windows
  • Track response time distributions for credential validation endpoints to detect timing oracles being abused

How to Mitigate CVE-2026-47373

Immediate Actions Required

  • Upgrade Crypt-SaltedHash to version 0.10 or later, which introduces _secure_compare
  • Audit application code for any custom hash or token comparisons using eq and replace them with constant-time equivalents
  • Apply rate limiting and account lockout policies on authentication endpoints to reduce timing-attack feasibility

Patch Information

The maintainer published the fix in Crypt-SaltedHash 0.10. The relevant changes are documented in the MetaCPAN release changelog and the upstream GitHub commit patch. The release notes explicitly reference CVE-2026-47373 with the entry "Security: Use constant-time comparison of hashes".

Workarounds

  • Wrap calls to Crypt::SaltedHash validation with a constant-time comparison helper such as Crypt::Util::strconsteq until upgrading is possible
  • Introduce randomized response delays on authentication endpoints to obscure timing signals as a temporary defense
  • Restrict access to credential validation endpoints behind authenticated rate-limited gateways where feasible
bash
# Upgrade Crypt-SaltedHash via cpanm to the patched release
cpanm Crypt::SaltedHash@0.10

# Verify installed version
perl -MCrypt::SaltedHash -e 'print $Crypt::SaltedHash::VERSION, "\n"'

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechPerl

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-208
  • Technical References
  • GitHub Commit Patch

  • MetaCPAN Release Changes

  • OpenWall OSS Security Discussion
  • Related CVEs
  • CVE-2026-46474: Trog::TOTP Perl Weak Secret Vulnerability

  • CVE-2026-8700: Crypt::DSA Perl Information Disclosure Flaw

  • CVE-2026-8368: Perl LWP::UserAgent Header Leak Vulnerability

  • CVE-2026-45179: Plack Middleware Statsd IP Disclosure Flaw
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