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
    • 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-40912

CVE-2025-40912: CryptX for Perl Information Disclosure

CVE-2025-40912 is an information disclosure vulnerability in CryptX for Perl affecting versions before 0.065 due to malformed unicode handling in the embedded tomcrypt library. This article covers technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-40912 Overview

CVE-2025-40912 is a critical vulnerability affecting CryptX for Perl before version 0.065. The vulnerability stems from the embedded libtomcrypt library, which may be susceptible to malformed unicode input. This issue is related to the inherited vulnerability CVE-2019-17362 present in the versions of libtomcrypt bundled with affected CryptX releases.

CryptX is a widely-used Perl cryptographic module that provides various cryptographic primitives. By embedding a vulnerable version of the tomcrypt library, applications using CryptX inherit the security weaknesses present in that dependency, potentially exposing them to network-based attacks without requiring authentication.

Critical Impact

Network-accessible vulnerability in cryptographic library that could allow unauthenticated attackers to compromise confidentiality, integrity, and availability of systems using affected CryptX versions.

Affected Products

  • CryptX for Perl versions before 0.065
  • Applications and systems utilizing vulnerable CryptX versions
  • Deployments using the embedded libtomcrypt library prior to the fix

Discovery Timeline

  • 2025-06-11 - CVE-2025-40912 published to NVD
  • 2025-06-12 - Last updated in NVD database

Technical Details for CVE-2025-40912

Vulnerability Analysis

This vulnerability exists due to CryptX's dependency on an embedded version of the libtomcrypt library that contains a malformed unicode handling flaw. The underlying issue was originally documented as CVE-2019-17362 in the libtomcrypt project. Because CryptX bundles this library directly rather than linking to a system-installed version, applications using CryptX before version 0.065 inherit this vulnerability regardless of whether the system has a patched libtomcrypt installed.

The vulnerability can be exploited remotely over the network without requiring any privileges or user interaction. Successful exploitation could result in complete compromise of confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause is the inclusion of a vulnerable version of the libtomcrypt library within CryptX. The embedded library versions prior to the fix contain improper handling of malformed unicode input, which can lead to exploitable conditions. This is a classic case of transitive dependency vulnerability, where a security flaw in a bundled component propagates to all software that incorporates it.

Attack Vector

The vulnerability is network-accessible, meaning an attacker can potentially exploit it remotely. The attack does not require authentication, privileges, or user interaction, making it particularly dangerous for internet-facing applications. An attacker could craft malicious input containing malformed unicode data and send it to an application using the vulnerable CryptX library, potentially triggering the underlying libtomcrypt vulnerability.

For detailed technical information about the underlying issue, refer to the GitHub Issue Report in the libtomcrypt repository.

Detection Methods for CVE-2025-40912

Indicators of Compromise

  • Unexpected crashes or exceptions in Perl applications utilizing CryptX cryptographic functions
  • Anomalous network traffic patterns targeting applications with CryptX dependencies
  • Memory corruption indicators in application logs when processing cryptographic operations
  • Unusual unicode sequences in input data processed by affected systems

Detection Strategies

  • Audit Perl application dependencies using cpan or cpanm to identify CryptX versions below 0.065
  • Implement network intrusion detection rules to identify malformed unicode patterns in cryptographic protocol traffic
  • Deploy application-level logging to capture and analyze input to CryptX functions
  • Use software composition analysis (SCA) tools to inventory embedded library versions

Monitoring Recommendations

  • Monitor application logs for cryptographic operation failures or unexpected behavior
  • Set up alerts for crash dumps or segmentation faults in Perl processes using CryptX
  • Track network traffic anomalies to services that rely on CryptX for cryptographic operations
  • Review dependency update notifications from CPAN for CryptX security releases

How to Mitigate CVE-2025-40912

Immediate Actions Required

  • Upgrade CryptX to version 0.065 or later immediately
  • Inventory all applications and systems using CryptX to identify affected deployments
  • Prioritize patching for internet-facing and critical systems
  • Implement network-level filtering for known malicious patterns as a temporary measure

Patch Information

The vulnerability has been addressed in CryptX version 0.065 and later, which includes an updated version of the embedded libtomcrypt library that resolves the malformed unicode handling issue. Organizations should upgrade to the latest available version of CryptX through CPAN or their preferred Perl module management system.

Additional details about the underlying libtomcrypt issue can be found in the GitHub Issue Report.

Workarounds

  • If immediate patching is not possible, consider temporarily disabling or isolating affected applications until updates can be applied
  • Implement strict input validation at the application layer to filter potentially malicious unicode sequences before they reach CryptX functions
  • Deploy web application firewalls (WAF) or network-level filtering to block suspicious traffic patterns
  • Consider switching to alternative cryptographic modules temporarily if CryptX upgrade is delayed
bash
# Upgrade CryptX via CPAN
cpan CryptX

# Or using cpanm
cpanm CryptX

# Verify installed version
perl -MCryptX -e 'print $CryptX::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/TechCryptx

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • Technical References
  • GitHub Issue Report
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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