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

CVE-2026-0965: libssh Configuration Parsing DoS Vulnerability

CVE-2026-0965 is a Denial of Service flaw in libssh that allows local attackers to exploit arbitrary file access during configuration parsing. This post covers technical details, affected versions, impact, and mitigation.

Published: March 26, 2026

CVE-2026-0965 Overview

A flaw was found in libssh where it can attempt to open arbitrary files during configuration parsing. A local attacker can exploit this by providing a malicious configuration file or when the system is misconfigured. This vulnerability could lead to a Denial of Service (DoS) by causing the system to try and access dangerous files, such as block devices or large system files, which can disrupt normal operations.

Critical Impact

Local attackers can cause Denial of Service by forcing libssh to access dangerous files like block devices or large system files during configuration parsing.

Affected Products

  • libssh (all versions using configuration file parsing)

Discovery Timeline

  • 2026-03-26 - CVE CVE-2026-0965 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-0965

Vulnerability Analysis

This vulnerability is classified under CWE-73 (External Control of File Name or Path), which occurs when software allows user input to control or influence file paths used in operations. In the case of libssh, the configuration parsing mechanism fails to properly validate or restrict file paths, allowing attackers to specify arbitrary files for the library to access.

The local attack vector requires an attacker to have some level of access to the system to either supply a malicious configuration file or exploit an existing misconfiguration. While the vulnerability does not lead to information disclosure or integrity violations, it can cause availability issues when libssh attempts to access problematic files.

Root Cause

The root cause lies in libssh's configuration file parsing implementation, which does not adequately sanitize or validate file paths specified within configuration directives. This allows external control over file path operations, enabling attackers to direct the library to attempt access to files that may cause system disruption.

The vulnerability manifests when libssh processes configuration files that contain references to arbitrary file system paths. Without proper path validation, the library will attempt to open and read files such as:

  • Block devices (e.g., /dev/sda)
  • Large system files that could exhaust memory
  • Special files that may block or hang operations
  • Named pipes or FIFOs that could cause indefinite waits

Attack Vector

This is a local attack vector vulnerability requiring the attacker to have the ability to either:

  1. Supply a malicious configuration file - An attacker with write access to configuration file locations or the ability to influence which configuration file libssh loads can craft a configuration containing paths to dangerous files.

  2. Exploit system misconfiguration - In environments where configuration paths are not properly secured, an attacker may be able to modify existing configuration files to include malicious file references.

When libssh processes the malicious configuration, it attempts to access the specified files, potentially causing the application to hang, consume excessive resources, or crash—resulting in a Denial of Service condition.

Detection Methods for CVE-2026-0965

Indicators of Compromise

  • Unexpected file access attempts by processes using libssh to block devices or large system files
  • Unusual configuration file modifications in libssh configuration directories
  • Application crashes or hangs during SSH operations related to configuration parsing
  • Increased resource consumption by libssh-dependent applications

Detection Strategies

  • Monitor file access patterns for libssh processes, alerting on attempts to access block devices or /dev/ paths
  • Implement file integrity monitoring on libssh configuration files to detect unauthorized modifications
  • Configure audit logging for file operations performed by applications using libssh
  • Deploy endpoint detection solutions to identify anomalous file access patterns during SSH operations

Monitoring Recommendations

  • Enable system auditing for file access events on sensitive system files and block devices
  • Implement centralized logging for applications using libssh to correlate configuration changes with operational issues
  • Set up alerts for repeated or failed file access attempts from SSH-related processes
  • Monitor application health metrics for libssh-dependent services to detect DoS conditions early

How to Mitigate CVE-2026-0965

Immediate Actions Required

  • Review and secure file permissions on all libssh configuration files to prevent unauthorized modification
  • Ensure configuration directories are only writable by trusted administrators
  • Audit existing libssh configuration files for suspicious or unexpected file path references
  • Consider implementing application-level restrictions on configuration file locations

Patch Information

Consult the Red Hat CVE-2026-0965 Advisory for the latest patch information and affected versions. Additional technical details are available in Red Hat Bugzilla Report #2436980.

Monitor vendor security channels for updated libssh packages that address this configuration parsing vulnerability.

Workarounds

  • Restrict write access to libssh configuration files and directories to only trusted system administrators
  • Implement mandatory access control (MAC) policies using SELinux or AppArmor to limit file access scope for libssh processes
  • Use configuration management tools to enforce known-good configuration states and detect unauthorized changes
  • Consider running libssh-dependent applications in containerized or sandboxed environments to limit file system exposure
bash
# Configuration example - Secure libssh configuration directory permissions
chmod 755 /etc/ssh
chmod 644 /etc/ssh/ssh_config
chown root:root /etc/ssh/ssh_config

# Enable SELinux enforcement for SSH operations
setenforce 1
setsebool -P ssh_sysadm_login off

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLibssh

  • SeverityLOW

  • CVSS Score3.3

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-73
  • Technical References
  • Red Hat CVE-2026-0965 Advisory

  • Red Hat Bugzilla Report #2436980
  • Related CVEs
  • CVE-2026-0968: libssh SFTP DoS Vulnerability Explained

  • CVE-2026-0967: libssh Denial of Service Vulnerability

  • CVE-2025-5987: Libssh ChaCha20 Cipher DOS Vulnerability

  • CVE-2023-1667: Libssh Denial of Service Vulnerability
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