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
    • 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-2026-35549

CVE-2026-35549: MariaDB Server DoS Vulnerability

CVE-2026-35549 is a denial of service vulnerability in MariaDB Server caused by the caching_sha2_password plugin crashing when processing large packets. This article covers technical details, affected versions, and mitigation.

Published: April 10, 2026

CVE-2026-35549 Overview

An issue was discovered in MariaDB Server before 11.4.10, 11.5.x through 11.8.x before 11.8.6, and 12.x before 12.2.2. If the caching_sha2_password authentication plugin is installed, and some user accounts are configured to use it, a large packet can crash the server because sha256_crypt_r uses alloca.

Critical Impact

Authenticated attackers can crash MariaDB Server instances by sending large authentication packets, causing denial of service for all database-dependent applications.

Affected Products

  • MariaDB Server versions before 11.4.10
  • MariaDB Server versions 11.5.x through 11.8.x before 11.8.6
  • MariaDB Server versions 12.x before 12.2.2

Discovery Timeline

  • 2026-04-03 - CVE CVE-2026-35549 published to NVD
  • 2026-04-03 - Last updated in NVD database

Technical Details for CVE-2026-35549

Vulnerability Analysis

This vulnerability is classified under CWE-789 (Memory Allocation with Excessive Size Value). The flaw exists within the caching_sha2_password authentication plugin used by MariaDB Server. When processing authentication requests, the sha256_crypt_r function utilizes alloca() for memory allocation on the stack. The alloca() function allocates memory directly from the stack frame of the calling function, which has limited space compared to heap memory.

When an attacker sends an oversized authentication packet, the alloca() call attempts to allocate an excessive amount of stack memory. This can cause stack overflow or stack exhaustion, leading to an immediate server crash. The vulnerability requires the attacker to have low-level authentication privileges to initiate the authentication handshake with the vulnerable plugin.

Root Cause

The root cause lies in the unsafe use of alloca() within the sha256_crypt_r function. Unlike heap allocation functions like malloc(), alloca() does not perform bounds checking and allocates memory directly on the stack. When processing user-controlled input (the authentication packet size), the function fails to validate the size before allocation, allowing attackers to specify arbitrarily large values that exceed available stack space.

Attack Vector

The attack is network-based and requires low privileges to execute. An attacker must:

  1. Establish a network connection to the MariaDB Server instance
  2. Target user accounts configured to use the caching_sha2_password authentication plugin
  3. Send a crafted authentication packet with an excessively large size value
  4. The server's sha256_crypt_r function processes the packet and calls alloca() with the oversized value
  5. Stack exhaustion occurs, causing the server process to crash

The vulnerability does not require user interaction and affects only the availability of the system (no confidentiality or integrity impact). Technical details and tracking information are available in the MariaDB Jira Issue MDEV-38365.

Detection Methods for CVE-2026-35549

Indicators of Compromise

  • Unexpected MariaDB server crashes or restarts without clear operational cause
  • Large authentication packets in network traffic destined for MariaDB ports (default 3306)
  • Error logs indicating stack overflow or segmentation faults during authentication processing
  • Repeated authentication attempts from unusual sources targeting accounts using caching_sha2_password

Detection Strategies

  • Monitor MariaDB error logs for crash events related to authentication or memory allocation failures
  • Implement network-level packet inspection to detect abnormally large authentication packets
  • Deploy database activity monitoring to track authentication patterns and anomalies
  • Configure alerting for unexpected MariaDB service restarts or crashes

Monitoring Recommendations

  • Enable detailed logging for MariaDB authentication events
  • Set up real-time monitoring of MariaDB process health and uptime
  • Implement network flow analysis for traffic patterns to database servers
  • Configure SIEM rules to correlate authentication failures with service interruptions

How to Mitigate CVE-2026-35549

Immediate Actions Required

  • Upgrade MariaDB Server to version 11.4.10 or later for the 11.4.x branch
  • Upgrade MariaDB Server to version 11.8.6 or later for the 11.5.x through 11.8.x branches
  • Upgrade MariaDB Server to version 12.2.2 or later for the 12.x branch
  • Review user accounts to identify those using the caching_sha2_password plugin
  • Implement network segmentation to restrict database access to trusted hosts only

Patch Information

MariaDB has released patched versions addressing this vulnerability. Administrators should upgrade to the following minimum versions:

  • Version 11.4.10 for the 11.4.x series
  • Version 11.8.6 for the 11.5.x through 11.8.x series
  • Version 12.2.2 for the 12.x series

For detailed patch information and upgrade instructions, refer to the MariaDB Jira Issue MDEV-38365.

Workarounds

  • Temporarily disable the caching_sha2_password plugin if not operationally required by uninstalling or removing it from the server configuration
  • Migrate affected user accounts to alternative authentication plugins such as mysql_native_password until patching is complete
  • Implement firewall rules to limit network access to MariaDB servers from trusted IP addresses only
  • Deploy a reverse proxy or connection pooler that validates packet sizes before forwarding to the database server

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMariadb

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-789
  • Technical References
  • MariaDB Jira Issue MDEV-38365
  • Related CVEs
  • CVE-2022-47015: MariaDB Server DoS Vulnerability

  • CVE-2022-32085: MariaDB DoS Vulnerability

  • CVE-2022-32083: MariaDB Segmentation Fault Vulnerability

  • CVE-2022-27444: MariaDB Server DoS 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