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

CVE-2025-27809: Arm Mbed TLS Information Disclosure Flaw

CVE-2025-27809 is an information disclosure vulnerability in Arm Mbed TLS where clients accept servers with trusted certificates for arbitrary hostnames. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-27809 Overview

CVE-2025-27809 is a Certificate Validation Bypass vulnerability affecting Arm Mbed TLS, a widely-used cryptographic library for embedded systems and IoT devices. The vulnerability exists in versions before 2.28.10 and 3.x before 3.6.3, where on the client side, the library accepts servers that have trusted certificates for arbitrary hostnames unless the TLS client application explicitly calls mbedtls_ssl_set_hostname. This Insecure Default Configuration (CWE-1188) could enable man-in-the-middle attacks against applications that fail to properly configure hostname verification.

Critical Impact

Applications using vulnerable Mbed TLS versions without explicit hostname verification may unknowingly accept TLS connections from malicious servers presenting valid certificates for unrelated hostnames, potentially exposing sensitive communications to interception and tampering.

Affected Products

  • Arm Mbed TLS versions prior to 2.28.10
  • Arm Mbed TLS 3.x versions prior to 3.6.3
  • Embedded systems and IoT devices utilizing affected Mbed TLS library versions

Discovery Timeline

  • 2025-03-25 - CVE CVE-2025-27809 published to NVD
  • 2025-07-17 - Last updated in NVD database

Technical Details for CVE-2025-27809

Vulnerability Analysis

This vulnerability stems from an insecure default configuration in Mbed TLS's certificate validation process. When a TLS client application establishes a connection using Mbed TLS, the library validates that the server's certificate is signed by a trusted Certificate Authority (CA). However, by default, it does not verify that the certificate's Common Name (CN) or Subject Alternative Name (SAN) matches the hostname of the server being connected to.

This means that if an attacker possesses any valid certificate signed by a trusted CA—even one for a completely unrelated domain—they could potentially impersonate any server to vulnerable clients. The attack requires the attacker to position themselves in the network path between the client and the legitimate server (man-in-the-middle position).

Root Cause

The root cause is an Insecure Default Configuration (CWE-1188). The mbedtls_ssl_set_hostname function must be explicitly called by the client application to enable hostname verification. Without this call, the library performs certificate chain validation but skips the critical step of verifying that the certificate actually belongs to the intended server hostname. This design places the burden of security on application developers who may not realize hostname verification is not enabled by default.

Attack Vector

The attack vector is network-based with high complexity requirements. An attacker must:

  1. Obtain a valid TLS certificate from a trusted CA for any domain they control
  2. Position themselves in the network path between the victim client and the target server
  3. Intercept the TLS handshake and present their valid certificate instead of the legitimate server's certificate
  4. The vulnerable Mbed TLS client will accept this certificate since it is validly signed, even though it's for the wrong hostname

This allows the attacker to decrypt, view, and potentially modify traffic that the client believes is securely communicated to the legitimate server. The vulnerability affects the confidentiality and integrity of communications, as detailed in the official Mbed TLS Security Advisory.

Detection Methods for CVE-2025-27809

Indicators of Compromise

  • TLS connections established without hostname verification logging or errors in application logs
  • Client applications connecting to IP addresses or hostnames that don't match presented certificate subjects
  • Network traffic analysis revealing certificate hostname mismatches during TLS handshakes
  • Presence of Mbed TLS versions prior to 2.28.10 or 3.6.3 in software inventory

Detection Strategies

  • Review source code for TLS client implementations to verify mbedtls_ssl_set_hostname is called before establishing connections
  • Perform software composition analysis (SCA) to identify applications using vulnerable Mbed TLS versions
  • Monitor TLS connections for certificate hostname mismatches using network security monitoring tools
  • Implement runtime detection for TLS connections where hostname verification is not configured

Monitoring Recommendations

  • Enable verbose TLS logging in applications to capture certificate validation details
  • Deploy network monitoring to detect potential man-in-the-middle attack patterns
  • Establish baseline TLS connection behavior to identify anomalous certificate presentations
  • Integrate vulnerability scanning into CI/CD pipelines to detect vulnerable Mbed TLS dependencies

How to Mitigate CVE-2025-27809

Immediate Actions Required

  • Upgrade Mbed TLS to version 2.28.10 or later for the 2.x branch
  • Upgrade Mbed TLS to version 3.6.3 or later for the 3.x branch
  • Audit all TLS client code to ensure mbedtls_ssl_set_hostname is called with the expected server hostname
  • Review firmware and embedded device inventory for affected Mbed TLS versions

Patch Information

Arm has released patched versions addressing this vulnerability. Version 2.28.10 resolves the issue for the 2.x branch, while version 3.6.3 addresses it for the 3.x branch. The patches improve the default behavior and provide clearer guidance on hostname verification requirements. Detailed release information is available in the GitHub Release Notes. Additional context regarding this long-standing issue can be found in the GitHub Issue Discussion.

Workarounds

  • Ensure all TLS client applications explicitly call mbedtls_ssl_set_hostname with the expected server hostname before establishing connections
  • Implement additional certificate validation at the application layer to verify hostname matches
  • Consider implementing certificate pinning for critical connections as an additional security layer
  • Restrict network access for affected devices to reduce man-in-the-middle attack surface
c
// Proper Mbed TLS hostname verification configuration
// Ensure this is called before mbedtls_ssl_handshake()
int ret = mbedtls_ssl_set_hostname(&ssl_context, "expected.hostname.com");
if (ret != 0) {
    // Handle error - hostname verification configuration failed
    // Do not proceed with connection
}

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechArm Mbed Tls

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-1188
  • Technical References
  • GitHub Release Notes

  • Mbed TLS Security Advisory

  • GitHub Issue Discussion

  • Mastodon User Update
  • Related CVEs
  • CVE-2024-30166: Arm Mbed TLS Information Disclosure Flaw

  • CVE-2025-52497: Arm Mbed TLS Buffer Overflow Vulnerability

  • CVE-2025-52496: Arm Mbed TLS Race Condition Vulnerability

  • CVE-2025-48965: Arm Mbed TLS Use-After-Free 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