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

CVE-2025-49133: Libtpms Buffer Overflow Vulnerability

CVE-2025-49133 is a buffer overflow vulnerability in Libtpms that causes out-of-bounds read in the CryptHmacSign function, leading to TPM service disruption. This article covers technical details, affected versions, and patches.

Updated: January 22, 2026

CVE-2025-49133 Overview

CVE-2025-49133 is an out-of-bounds (OOB) read vulnerability in libtpms, a library that provides TPM (Trusted Platform Module) functionality for hypervisors, primarily Qemu. The vulnerability exists in the CryptHmacSign function and can be triggered through inconsistent pairing of signKey and signScheme parameters, where signKey is an ALG_KEYEDHASH key and inScheme is an ECC or RSA scheme.

This vulnerability is derived from the TPM 2.0 reference implementation code published by the Trusted Computing Group. When exploited, it causes libtpms to abort due to detection of out-of-bounds access, resulting in denial of service for virtual TPM (vTPM/swtpm) implementations and making the vTPM unavailable to virtual machines.

Critical Impact

Successful exploitation causes libtpms to abort, making virtual TPM (swtpm) unavailable to VMs and disrupting TPM-dependent security operations including measured boot, encryption key management, and attestation services.

Affected Products

  • libtpms version 0.7.11 and earlier in the 0.7.x branch
  • libtpms version 0.8.9 and earlier in the 0.8.x branch
  • libtpms version 0.9.6 and earlier in the 0.9.x branch
  • libtpms version 0.10.0 and earlier in the 0.10.x branch

Discovery Timeline

  • June 10, 2025 - CVE-2025-49133 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2025-49133

Vulnerability Analysis

The vulnerability is classified as CWE-125 (Out-of-Bounds Read) and occurs within the CryptHmacSign function defined in the TPM 2.0 reference implementation. The function is documented in the Trusted Computing Group's "Part 4: Supporting Routines – Code" specification, specifically in section "7.151 - /tpm/src/crypt/CryptUtil.c".

The root cause stems from improper validation when the signKey parameter is of type ALG_KEYEDHASH while the inScheme parameter specifies an incompatible cryptographic scheme (ECC or RSA). This parameter inconsistency leads to an out-of-bounds memory access when the function attempts to process the signing operation.

Exploitation requires local access and low privileges, allowing user-mode applications to send malicious commands to a TPM 2.0 or vTPM (swtpm) instance. When the vulnerable code path is triggered, libtpms detects the out-of-bounds access and aborts execution, causing a denial of service condition.

Root Cause

The vulnerability originates from insufficient validation of the relationship between the signKey type and the signScheme algorithm in the CryptHmacSign function. When a keyed hash key (ALG_KEYEDHASH) is used with an incompatible signing scheme (ECC or RSA), the code fails to properly validate this combination before proceeding with cryptographic operations. This allows an attacker to force the TPM into an invalid state where memory access bounds are violated.

The fix introduces additional validation checks to ensure the scheme's hashAlg is a valid hash algorithm and adds proper error handling for incompatible key-scheme combinations.

Attack Vector

The attack is locally exploitable and requires a user-mode application to craft and send malicious TPM commands to the affected libtpms instance. An attacker with local access and low privileges can:

  1. Craft a TPM2_Sign command with an ALG_KEYEDHASH signing key
  2. Specify an incompatible ECC or RSA scheme as the inScheme parameter
  3. Submit the malformed command to the vTPM instance
  4. Trigger the out-of-bounds read in CryptHmacSign, causing an abort

The security patch addresses this by adding validation in the TPM2_Sign function:

c
//      TPM_RC_SCHEME           the scheme is not compatible with sign key type,
//                              or input scheme is not compatible with default
//                              scheme, or the chosen scheme is not a valid
-//                              sign scheme
+//                              sign scheme, or the scheme hashAlg is not a
+//                              valid hash algorithm
//      TPM_RC_TICKET           'validation' is not a valid ticket
//      TPM_RC_VALUE            the value to sign is larger than allowed for the
//                              type of 'keyHandle'
+//      TPM_RC_ATTRIBUTES       the key has the x509sign attribute and can't be
+//                              used in TPM2_Sign()
+//      TPM_RC_SIZE             the provided 'digest' does not match the size
+//                              of the scheme hashAlg digest

TPM_RC
TPM2_Sign(Sign_In*  in,  // IN: input parameter list

Source: GitHub Commit Update

Detection Methods for CVE-2025-49133

Indicators of Compromise

  • Unexpected termination or crash of swtpm (software TPM) processes
  • VM failures related to TPM unavailability or TPM communication errors
  • Sudden loss of TPM-based encryption or attestation capabilities in virtual environments
  • Log entries indicating libtpms abort conditions or memory access violations

Detection Strategies

  • Monitor swtpm and qemu process stability for unexpected terminations or restarts
  • Implement alerting for VMs reporting TPM initialization failures or TPM communication errors
  • Review system logs for libtpms-related abort messages or segmentation faults
  • Deploy application-level monitoring on virtualization hosts to detect TPM service disruptions

Monitoring Recommendations

  • Configure process monitoring for swtpm daemons to detect crashes and auto-restart patterns
  • Implement logging aggregation for TPM-related error messages across virtualization infrastructure
  • Monitor guest VM health metrics for TPM-dependent operations such as BitLocker, measured boot, and remote attestation
  • Establish baseline metrics for vTPM availability and alert on deviations

How to Mitigate CVE-2025-49133

Immediate Actions Required

  • Update libtpms to a patched version: 0.7.12, 0.8.10, 0.9.7, or 0.10.1 depending on your deployment branch
  • Review and restart any swtpm instances after updating to ensure patched code is loaded
  • Audit virtualization environments to identify all hosts running vulnerable libtpms versions
  • Implement process restart policies for swtpm to minimize service disruption from potential exploitation attempts

Patch Information

The libtpms project has released security patches addressing this vulnerability across all supported branches. The fix adds proper validation of the hash algorithm in signing schemes and ensures incompatible key-scheme combinations return appropriate error codes rather than causing memory access violations.

Apply the appropriate patched version based on your deployment:

  • Branch 0.7.x: Update to version 0.7.12 or later
  • Branch 0.8.x: Update to version 0.8.10 or later
  • Branch 0.9.x: Update to version 0.9.7 or later
  • Branch 0.10.x: Update to version 0.10.1 or later

For additional details, refer to the GitHub Security Advisory and CERT Vulnerability Report #282450.

Workarounds

  • Limit local access to systems running vTPM instances to reduce attack surface
  • Implement process supervision and automatic restart for swtpm services to minimize denial of service impact
  • Consider network segmentation to isolate virtualization management infrastructure from untrusted users
  • Monitor and restrict user-mode applications that can communicate with vTPM instances
bash
# Verify libtpms version on affected systems
pkg info libtpms 2>/dev/null || dpkg -l libtpms* 2>/dev/null || rpm -qa | grep libtpms

# Example: Configure systemd to auto-restart swtpm on failure
# Add to /etc/systemd/system/swtpm.service.d/restart.conf
[Service]
Restart=always
RestartSec=5

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechLibtpms

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-125
  • Technical References
  • GitHub Security Advisory

  • TPM Library Specification

  • TPM 2.0 Supporting Routines PDF

  • CERT Vulnerability Report #282450
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2026-21444: libtpms Information Disclosure Flaw
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