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-2026-2641

CVE-2026-2641: Universal-ctags DoS Vulnerability

CVE-2026-2641 is a denial of service flaw in universal-ctags up to 6.2.1 caused by uncontrolled recursion in the V Language Parser. This article covers the technical details, affected versions, and mitigation strategies.

Published: February 20, 2026

CVE-2026-2641 Overview

A vulnerability has been identified in universal-ctags ctags up to version 6.2.1. The affected element is the parseExpression/parseExprList function within the file parsers/v.c of the V Language Parser component. This weakness allows an attacker to trigger uncontrolled recursion through manipulation of crafted input, leading to a denial of service condition. The vulnerability requires local access to exploit and a proof-of-concept has been made publicly available.

Critical Impact

Local attackers can cause denial of service through uncontrolled recursion in the V Language Parser, potentially crashing the ctags process when processing maliciously crafted V language files.

Affected Products

  • Universal Ctags up to version 6.2.1
  • V Language Parser component (parsers/v.c)
  • Systems using ctags for code indexing and navigation

Discovery Timeline

  • 2026-02-18 - CVE-2026-2641 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2026-2641

Vulnerability Analysis

This vulnerability is classified under CWE-404 (Improper Resource Shutdown or Release) and manifests as an uncontrolled recursion issue within the V Language Parser of universal-ctags. When processing specially crafted V language source files, the parseExpression and parseExprList functions in parsers/v.c fail to properly limit recursion depth, allowing deep or infinite recursive calls that exhaust the call stack.

The vulnerability has a local attack vector, requiring an attacker to either place a malicious V language file in a location where ctags will process it, or convince a user to run ctags against a malicious file. While the impact is limited to availability (denial of service), this could affect development workflows that rely on ctags for code navigation and indexing.

Root Cause

The root cause lies in insufficient recursion depth checks within the expression parsing routines of the V Language Parser. The parseExpression and parseExprList functions recursively parse nested expressions without implementing proper depth limiting or tail-call optimization, making them susceptible to stack exhaustion attacks when processing deeply nested or malformed expression structures in V language source files.

Attack Vector

The attack requires local access to the target system. An attacker would craft a V language source file (.v extension) containing deeply nested or specially structured expressions designed to trigger excessive recursion in the parsing functions. When a user or automated system runs ctags against this malicious file, the parser enters an uncontrolled recursive loop, eventually exhausting stack space and causing the process to crash.

The attack could be delivered through:

  • Placing malicious .v files in project directories where automated code indexing occurs
  • Submitting malicious files to code repositories where ctags runs as part of the build or indexing pipeline
  • Social engineering users to process the malicious file

A proof-of-concept demonstrating this vulnerability is available at the GitHub PoC Repository. The vulnerability was reported to the ctags project via GitHub Issue #4369, but no response has been received as of the publication date.

Detection Methods for CVE-2026-2641

Indicators of Compromise

  • Unexpected ctags process crashes or terminations when processing V language files
  • High CPU utilization by ctags processes followed by sudden termination
  • Segmentation fault errors in system logs related to ctags execution
  • Presence of unusually structured or deeply nested .v files in project directories

Detection Strategies

  • Monitor for ctags process crashes and segmentation faults in system logs
  • Implement file integrity monitoring on code repositories to detect suspicious .v file additions
  • Use resource monitoring to detect processes consuming excessive stack memory before crashing
  • Review recently added or modified V language files for unusual nesting patterns

Monitoring Recommendations

  • Configure process monitoring to alert on repeated ctags failures
  • Set up log aggregation to correlate ctags crashes with file processing events
  • Implement automated scanning of incoming code submissions for potentially malicious constructs
  • Monitor system resource utilization patterns for anomalous stack consumption

How to Mitigate CVE-2026-2641

Immediate Actions Required

  • Restrict ctags processing of V language files from untrusted sources
  • Implement resource limits (e.g., ulimit stack size) when running ctags
  • Review and validate V language files before processing in automated pipelines
  • Consider temporarily disabling V language parsing if not required

Patch Information

As of the last update on 2026-02-18, no official patch has been released by the universal-ctags project. The vulnerability was reported via GitHub Issue #4369, but the project has not yet responded. Users should monitor the universal-ctags GitHub repository for updates and apply patches as soon as they become available.

Workarounds

  • Apply resource limits to ctags processes to contain potential denial of service impact
  • Exclude V language files from ctags processing using --languages=-V flag when V parsing is not needed
  • Implement file validation or sandboxing for ctags processing of untrusted input
  • Use container isolation when running ctags on potentially untrusted codebases
bash
# Configuration example: Limit stack size and exclude V language parsing
ulimit -s 8192  # Limit stack size to 8MB
ctags --languages=-V --recurse /path/to/project

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechUniversal Ctags

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/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
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-404
  • Technical References
  • GitHub PoC Repository

  • GitHub Ctags Project

  • GitHub Issue #4369

  • VulDB #346397 (CTI)

  • VulDB #346397

  • VulDB Submission #752768
  • Latest CVEs
  • CVE-2025-52793: Esselink.nu Settings CSRF Vulnerability

  • CVE-2025-52772: Virtual Moderator CSRF Vulnerability

  • CVE-2025-48279: WC MyParcel Belgium XSS Vulnerability

  • CVE-2025-39381: KiotViet Sync CSRF 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