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-2025-55551

CVE-2025-55551: PyTorch torch.linalg.lu DoS Vulnerability

CVE-2025-55551 is a Denial of Service vulnerability in PyTorch's torch.linalg.lu component affecting version 2.8.0. Attackers can trigger DoS through slice operations. This article covers technical details, impact, and mitigation.

Published: April 22, 2026

CVE-2025-55551 Overview

A Denial of Service (DoS) vulnerability has been identified in PyTorch v2.8.0, specifically within the torch.linalg.lu component. The vulnerability is triggered when performing slice operations on the output of the LU decomposition function, allowing attackers to cause application crashes and service disruption. This issue affects machine learning applications and services that rely on PyTorch's linear algebra functionality.

Critical Impact

Attackers can remotely trigger a Denial of Service condition in PyTorch applications by exploiting improper handling of slice operations on torch.linalg.lu outputs, causing service unavailability without requiring authentication.

Affected Products

  • Linux Foundation PyTorch v2.8.0
  • PyTorch Python package versions prior to patched releases
  • Applications and services built on vulnerable PyTorch versions

Discovery Timeline

  • 2025-09-25 - CVE-2025-55551 published to NVD
  • 2025-10-03 - Last updated in NVD database

Technical Details for CVE-2025-55551

Vulnerability Analysis

This vulnerability resides in PyTorch's linear algebra module, specifically within the torch.linalg.lu function which performs LU decomposition on matrices. LU decomposition is a fundamental operation in numerical computing used to solve linear equations, calculate determinants, and invert matrices. The flaw manifests when subsequent slice operations are performed on the decomposition results, leading to resource exhaustion or unhandled exceptions that crash the application.

The vulnerability can be exploited remotely over a network without requiring any authentication or user interaction. While the confidentiality and integrity of the system remain unaffected, the availability impact is significant as successful exploitation results in complete denial of service for the affected application.

Root Cause

The root cause is categorized under CWE-400 (Uncontrolled Resource Consumption). The torch.linalg.lu component fails to properly validate or handle certain slice operations on its output tensors. This improper resource management allows attackers to craft specific inputs that trigger excessive resource consumption or cause the application to enter an unrecoverable error state, resulting in service disruption.

Attack Vector

The attack can be executed remotely over the network. An attacker can exploit this vulnerability by sending specially crafted requests to applications that process user-supplied data through PyTorch's torch.linalg.lu function. The attack requires no privileges or user interaction, making it particularly accessible to malicious actors. When a vulnerable application processes the malicious input, the slice operation on the LU decomposition output triggers the DoS condition.

The vulnerability mechanism involves improper handling of tensor slice operations following LU decomposition. When specific slice parameters are applied to the output matrices, PyTorch fails to properly manage the operation, leading to application crashes. For detailed technical analysis and proof-of-concept information, refer to the GitHub Gist Resource and the GitHub Issue Discussion.

Detection Methods for CVE-2025-55551

Indicators of Compromise

  • Unexpected application crashes or service restarts in PyTorch-based applications
  • Error logs showing exceptions related to torch.linalg.lu or tensor slice operations
  • Increased memory consumption or CPU usage patterns preceding application failures
  • Multiple failed requests or abnormal input patterns targeting linear algebra endpoints

Detection Strategies

  • Monitor application logs for stack traces involving torch.linalg.lu and slice operations
  • Implement anomaly detection for unusual input patterns to machine learning inference endpoints
  • Track application availability metrics to detect recurring crash patterns
  • Use runtime application self-protection (RASP) to detect exploitation attempts

Monitoring Recommendations

  • Enable verbose logging for PyTorch applications processing external inputs
  • Set up alerting for application crashes with core dumps referencing the linalg module
  • Monitor system resource utilization for abnormal spikes before service failures
  • Implement health check endpoints to quickly detect service unavailability

How to Mitigate CVE-2025-55551

Immediate Actions Required

  • Audit all applications using PyTorch v2.8.0 to identify exposure to this vulnerability
  • Implement input validation and sanitization before passing data to torch.linalg.lu
  • Consider isolating PyTorch processing in sandboxed environments to limit DoS impact
  • Monitor the official PyTorch security channels for patch releases

Patch Information

As of the last update on 2025-10-03, no official vendor patch has been announced. Organizations should monitor the GitHub Issue Discussion for updates on fix availability. Once a patch is released, prioritize upgrading PyTorch installations, especially in production environments handling external input.

Workarounds

  • Implement rate limiting on endpoints that process data through torch.linalg.lu
  • Add try-catch exception handling around LU decomposition and slice operations to prevent complete application crashes
  • Deploy application behind a web application firewall (WAF) to filter potentially malicious requests
  • Consider using alternative linear algebra implementations for critical applications until a patch is available
bash
# Example: Add resource limits for PyTorch applications
# Limit memory to prevent runaway resource consumption
ulimit -v 4194304  # 4GB virtual memory limit

# Monitor PyTorch process for abnormal behavior
watch -n 5 'ps aux | grep python | grep pytorch'

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechPytorch

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.11%

  • 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
  • NVD-CWE-noinfo

  • CWE-400
  • Technical References
  • GitHub Gist Resource

  • GitHub Issue Discussion
  • Related CVEs
  • CVE-2024-31580: PyTorch Heap Buffer Overflow DoS Flaw

  • CVE-2025-3730: PyTorch CTC Loss DOS Vulnerability

  • CVE-2025-4287: PyTorch NCCL DoS Vulnerability

  • CVE-2025-2953: PyTorch Denial of Service 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