A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-2148

CVE-2025-2148: PyTorch Memory Corruption RCE Vulnerability

CVE-2025-2148 is a critical remote code execution vulnerability in PyTorch 2.6.0+cu124 caused by memory corruption in the profiler component. This article covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-2148 Overview

A memory corruption vulnerability has been identified in PyTorch version 2.6.0+cu124 affecting the torch.ops.profiler._call_end_callbacks_on_jit_fut function within the Tuple Handler component. This vulnerability allows remote attackers to potentially corrupt memory through manipulation of None arguments, although exploitation complexity is high and requires user interaction.

Critical Impact

Successful exploitation of this memory corruption vulnerability could lead to system instability, data corruption, or potentially allow further exploitation of the affected PyTorch installation.

Affected Products

  • PyTorch 2.6.0+cu124

Discovery Timeline

  • 2025-03-10 - CVE CVE-2025-2148 published to NVD
  • 2025-06-23 - Last updated in NVD database

Technical Details for CVE-2025-2148

Vulnerability Analysis

This vulnerability exists within PyTorch's profiler functionality, specifically in the torch.ops.profiler._call_end_callbacks_on_jit_fut function. The Tuple Handler component fails to properly validate or handle None arguments, leading to memory corruption conditions (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer).

The attack vector is network-based, meaning it can be triggered remotely. However, the exploitation difficulty is considered high due to attack complexity requirements and the need for user interaction. When exploited, the vulnerability can affect the confidentiality, integrity, and availability of the system, though impacts are limited in scope.

Root Cause

The root cause stems from improper memory buffer operations within the Tuple Handler component. When the _call_end_callbacks_on_jit_fut function receives a None argument during callback processing, the system does not properly validate this input before performing memory operations, resulting in potential out-of-bounds memory access or corruption.

Attack Vector

The vulnerability can be exploited remotely through network-accessible interfaces that utilize the affected PyTorch profiler functionality. An attacker would need to craft a malicious input that causes the vulnerable function to process a None argument in a context where memory corruption occurs.

The attack requires user interaction and involves high attack complexity, making practical exploitation challenging. The attacker does not need prior authentication or privileges to attempt exploitation.

The vulnerable function is torch.ops.profiler._call_end_callbacks_on_jit_fut within PyTorch's profiler subsystem. When called with improperly handled None values in the Tuple Handler context, memory boundaries may not be respected, leading to corruption. For detailed technical analysis, refer to GitHub Issue #147722.

Detection Methods for CVE-2025-2148

Indicators of Compromise

  • Unexpected crashes or segmentation faults in PyTorch applications utilizing the profiler
  • Abnormal memory consumption patterns in processes running torch.ops.profiler functions
  • Application logs showing errors related to _call_end_callbacks_on_jit_fut or Tuple Handler operations

Detection Strategies

  • Monitor PyTorch applications for unexpected crashes or memory-related errors in profiler operations
  • Implement application-level logging to capture calls to torch.ops.profiler._call_end_callbacks_on_jit_fut
  • Deploy runtime application self-protection (RASP) tools to detect memory corruption attempts

Monitoring Recommendations

  • Enable verbose logging for PyTorch profiler operations in production environments
  • Monitor system memory usage for anomalies when PyTorch applications are running
  • Implement crash reporting and analysis for applications using affected PyTorch versions

How to Mitigate CVE-2025-2148

Immediate Actions Required

  • Audit your environment for installations of PyTorch version 2.6.0+cu124
  • Review code paths that utilize torch.ops.profiler._call_end_callbacks_on_jit_fut functionality
  • Consider disabling or restricting profiler functionality in production environments until patched
  • Monitor GitHub Issue #147722 for updates from the PyTorch team

Patch Information

No official patch information has been released at the time of this writing. Users should monitor the official PyTorch GitHub repository and security advisories for patch releases. Track updates through GitHub Issue #147722 and VulDB #299059 for the latest remediation guidance.

Workarounds

  • Avoid using the torch.ops.profiler._call_end_callbacks_on_jit_fut function in untrusted contexts
  • Implement input validation in application code before passing arguments to affected profiler functions
  • Consider running PyTorch applications in sandboxed or isolated environments to limit potential impact
  • Disable profiler functionality entirely if not required for production workloads
bash
# Check installed PyTorch version
pip show torch | grep Version

# If version 2.6.0+cu124, consider downgrading to a previous stable version
# pip install torch==<previous_stable_version>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPytorch

  • SeverityLOW

  • CVSS Score2.3

  • EPSS Probability0.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-119
  • Technical References
  • GitHub Issue #147722

  • VulDB CTIID #299059

  • VulDB #299059

  • VulDB Submission #505959
  • Related CVEs
  • CVE-2026-24747: PyTorch weights_only RCE Vulnerability

  • CVE-2024-48063: PyTorch RemoteModule RCE Vulnerability

  • CVE-2025-32434: PyTorch torch.load RCE Vulnerability

  • CVE-2024-31580: PyTorch Heap Buffer Overflow DoS Flaw
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
  • English
  • 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