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
    • 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-2024-6655

CVE-2024-6655: GTK Library RCE Vulnerability

CVE-2024-6655 is a remote code execution flaw in GTK library that allows malicious libraries to be injected into applications from the current working directory. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-6655 Overview

A security flaw was discovered in the GTK library that allows for library injection under certain conditions. This vulnerability enables an attacker to inject a malicious library into a GTK application from the current working directory, potentially leading to arbitrary code execution within the context of the vulnerable application.

Critical Impact

This library injection vulnerability could allow local attackers to execute arbitrary code by placing a malicious library in the current working directory of a GTK application, potentially compromising system integrity and confidentiality.

Affected Products

  • GTK Library (versions prior to security patches)
  • Red Hat Enterprise Linux systems with affected GTK packages
  • Linux distributions utilizing vulnerable GTK library versions

Discovery Timeline

  • July 16, 2024 - CVE-2024-6655 published to NVD
  • March 14, 2025 - Last updated in NVD database

Technical Details for CVE-2024-6655

Vulnerability Analysis

The vulnerability stems from improper handling of library loading paths in the GTK library. Under specific conditions, GTK applications may inadvertently search for and load shared libraries from the current working directory (CWD). This behavior creates a code injection opportunity where an attacker with write access to a directory from which a GTK application is launched can place a specially crafted malicious library that will be loaded and executed within the application's context.

This type of vulnerability, classified under CWE-94 (Improper Control of Generation of Code - Code Injection), is particularly dangerous because it can bypass traditional security controls and execute with the privileges of the targeted application.

Root Cause

The root cause of this vulnerability is the improper sanitization of library search paths within the GTK library. The library loading mechanism fails to adequately restrict the directories from which dynamic libraries can be loaded, allowing the current working directory to be included in the search path. This oversight enables library preloading attacks where a malicious library can be loaded before the legitimate system library.

Attack Vector

The attack requires local access to the system and involves placing a malicious shared library (.so file) in a directory where a user might launch a GTK application. The attack scenario typically involves:

  1. An attacker identifying directories commonly used to run GTK applications
  2. Placing a malicious library with a name that will be searched for by the GTK application
  3. Waiting for or inducing a user to execute a GTK application from that directory
  4. The malicious library is loaded and executed with the application's privileges

This attack requires user interaction (launching the application) and has high complexity due to the specific conditions required for exploitation. However, successful exploitation results in high impact to confidentiality, integrity, and availability.

Detection Methods for CVE-2024-6655

Indicators of Compromise

  • Unexpected shared library files (.so files) appearing in user-writable directories
  • GTK applications loading libraries from non-standard paths such as the current working directory
  • Unusual process behavior following GTK application launches from user directories
  • File system monitoring alerts for library file creation in user home or temp directories

Detection Strategies

  • Monitor library loading behavior using tools like strace or ltrace to identify libraries being loaded from unexpected paths
  • Implement file integrity monitoring (FIM) on directories commonly used to launch applications
  • Configure audit rules to track library file creation events in user-accessible directories
  • Deploy endpoint detection solutions that can identify suspicious library injection patterns

Monitoring Recommendations

  • Enable detailed audit logging for library loading operations on Linux systems
  • Configure SIEM rules to alert on GTK applications loading libraries from current working directories
  • Implement regular scans of user-writable directories for suspicious shared library files
  • Monitor for unusual execution patterns in GTK-based applications

How to Mitigate CVE-2024-6655

Immediate Actions Required

  • Apply security patches from your Linux distribution vendor immediately
  • For Red Hat systems, apply updates from RHSA-2024:6963 and RHSA-2024:9184
  • Audit user-writable directories for suspicious shared library files
  • Restrict write permissions on directories where GTK applications are commonly launched

Patch Information

Red Hat has released security errata addressing this vulnerability. System administrators should update affected packages using their distribution's package manager. For Red Hat Enterprise Linux systems, the following advisories contain the necessary patches:

  • RHSA-2024:6963
  • RHSA-2024:9184

The upstream fix can be reviewed in the GNOME GTK merge request #7361.

Workarounds

  • Avoid launching GTK applications from untrusted or user-writable directories
  • Set the LD_LIBRARY_PATH environment variable explicitly to trusted library paths before running GTK applications
  • Configure the system to use RUNPATH or RPATH settings that exclude the current working directory
  • Implement directory permission restrictions to prevent unauthorized file creation in common application launch directories
bash
# Verify installed GTK packages and check for updates
rpm -qa | grep gtk

# Apply security updates on Red Hat-based systems
sudo dnf update gtk3 gtk4

# Check library loading behavior of a GTK application
LD_DEBUG=libs your_gtk_application 2>&1 | grep "search path"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGtk

  • SeverityHIGH

  • CVSS Score7.0

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • Red Hat Security Errata RHSA-2024:6963

  • Red Hat Security Errata RHSA-2024:9184

  • Red Hat CVE-2024-6655 Details

  • Red Hat Bugzilla Report #2297098

  • GNOME Merge Request Diff Update

  • OpenWall OSS Security Mailing List

  • OpenWall OSS Security Mailing List
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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