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

CVE-2025-13601: Redhat Codeready Buffer Overflow Flaw

CVE-2025-13601 is a heap-based buffer overflow in Redhat Codeready Linux Builder affecting the glib g_escape_uri_string() function. This article covers technical details, affected versions, security impact, and mitigation.

Published: April 15, 2026

CVE-2025-13601 Overview

A heap-based buffer overflow vulnerability has been identified in GLib, the low-level core library that forms the foundation of GNOME and many Linux applications. The flaw exists in the g_escape_uri_string() function, where an incorrect calculation of buffer size can lead to an integer overflow when processing strings containing a very large number of characters requiring URI escaping.

When a specially crafted string with excessive unacceptable characters is passed to the vulnerable function, the length calculation for the escaped output string can overflow, resulting in an undersized buffer allocation. Subsequent write operations then extend beyond the allocated heap memory, potentially leading to memory corruption, application crashes, or in some scenarios, arbitrary code execution.

Critical Impact

This heap-based buffer overflow affects the widely-deployed GLib library, impacting numerous Red Hat Enterprise Linux distributions, OpenShift Container Platform deployments, and any application utilizing the vulnerable g_escape_uri_string() function for URI processing.

Affected Products

  • GNOME GLib (core library)
  • Red Hat Enterprise Linux for x86_64, ARM64, IBM z Systems, and Power (versions 8.x, 9.x, 10.x)
  • Red Hat OpenShift Container Platform (versions 4.12, 4.16, 4.17, 4.18, 4.19)
  • Red Hat CodeReady Linux Builder (multiple architectures and versions)
  • Red Hat Ceph Storage 8.0
  • Red Hat Discovery 2.0

Discovery Timeline

  • November 26, 2025 - CVE-2025-13601 published to NVD
  • March 19, 2026 - Last updated in NVD database

Technical Details for CVE-2025-13601

Vulnerability Analysis

The vulnerability resides in the g_escape_uri_string() function within GLib, which is responsible for escaping special characters in URI strings. The function calculates the required buffer size by counting characters that need escaping (each unacceptable character expands to three characters in the escaped form, e.g., a space becomes %20).

The integer overflow vulnerability is classified under CWE-190 (Integer Overflow or Wraparound). When the input string contains an exceptionally large number of characters requiring escape sequences, the multiplication operation used to calculate the output buffer size can wrap around, resulting in a much smaller value than actually needed. The subsequent memory allocation uses this corrupted size value, creating an undersized buffer on the heap.

As the function proceeds to write the escaped URI string, it writes beyond the allocated buffer boundaries, corrupting adjacent heap metadata or other heap-allocated data structures. This heap corruption can manifest as application crashes, denial of service, or potentially exploitable memory corruption scenarios.

Root Cause

The root cause is an integer overflow vulnerability in the buffer size calculation within g_escape_uri_string(). The function fails to properly validate that the calculated size for the escaped string will not exceed the maximum representable integer value. When multiplying the count of characters requiring escaping by the expansion factor, the result can exceed integer bounds and wrap to a small positive value, leading to insufficient memory allocation.

Attack Vector

Exploitation requires local access to the system. An attacker must be able to provide a malicious input string to an application that processes it through the vulnerable g_escape_uri_string() function. The attack string would need to contain an extremely large number of characters that require URI escaping, carefully calculated to trigger the integer overflow condition.

The attack flow involves:

  1. Crafting a string with a calculated number of characters requiring URI escaping
  2. Ensuring the total escaped length calculation overflows to a small positive integer
  3. Triggering the application to process this string through g_escape_uri_string()
  4. The undersized buffer is allocated on the heap
  5. The escape operation writes beyond buffer boundaries, corrupting heap memory

Applications that accept user-controlled URI strings and process them through GLib's URI escaping functions are potential attack surfaces.

Detection Methods for CVE-2025-13601

Indicators of Compromise

  • Unexpected application crashes or segmentation faults in applications using GLib for URI processing
  • Memory corruption errors reported by system memory debugging tools (e.g., AddressSanitizer, Valgrind)
  • Abnormal heap allocation patterns showing very small allocations followed by large write operations
  • Core dumps from GLib-dependent applications showing corruption near g_escape_uri_string() call sites

Detection Strategies

  • Monitor system logs for segmentation faults or SIGABRT signals from applications known to use GLib URI functions
  • Deploy memory sanitizer tools in development and testing environments to catch buffer overflows early
  • Implement application-level input validation to reject excessively large URI strings before processing
  • Use runtime protection mechanisms that detect heap buffer overflows

Monitoring Recommendations

  • Enable heap canary detection and stack smashing protection in production builds
  • Configure core dump collection and analysis for GLib-dependent services
  • Monitor for unusual memory allocation patterns in critical applications
  • Set up alerts for application restart loops that may indicate exploitation attempts

How to Mitigate CVE-2025-13601

Immediate Actions Required

  • Update GLib to the patched version provided by your Linux distribution
  • Apply Red Hat security errata for affected Enterprise Linux and OpenShift deployments
  • Implement input validation to limit URI string lengths before passing to GLib functions
  • Consider temporary workarounds for systems that cannot be immediately patched

Patch Information

Red Hat has released multiple security advisories addressing this vulnerability across their product portfolio. Administrators should consult the appropriate advisory for their specific platform:

  • Red Hat Security Advisory RHSA-2026:0936 - Initial patch release
  • Red Hat Security Advisory RHSA-2026:1323 through RHSA-2026:1327 - Extended platform coverage
  • Red Hat CVE Page for CVE-2025-13601 - Official vendor CVE information

The upstream fix is tracked in GNOME GitLab Merge Request #4914, which addresses the integer overflow in the buffer size calculation.

For technical details about the vulnerability, see GNOME GitLab Issue #3827.

Workarounds

  • Implement application-level input validation to reject URI strings exceeding a safe maximum length before processing
  • Deploy runtime memory protection tools such as AddressSanitizer in non-production environments for early detection
  • Use application sandboxing or containerization to limit the impact of potential exploitation
  • Consider temporary restrictions on user-supplied URI input in exposed services until patches can be applied
bash
# Check installed GLib version on RHEL-based systems
rpm -qa | grep glib2

# Verify available security updates
yum check-update glib2

# Apply security updates
sudo yum update glib2

# For systems using dnf
sudo dnf update glib2

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechRedhat

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-190
  • Technical References
  • Red Hat Security Advisory RHSA-2026:2974

  • Red Hat Security Advisory RHSA-2026:3415

  • Red Hat Security Advisory RHSA-2026:4419

  • GNOME GitLab Issue #3827

  • GNOME GitLab Merge Request #4914
  • Vendor Resources
  • Red Hat Security Advisory RHSA-2026:0936

  • Red Hat Security Advisory RHSA-2026:0975

  • Red Hat Security Advisory RHSA-2026:0991

  • Red Hat Security Advisory RHSA-2026:1323

  • Red Hat Security Advisory RHSA-2026:1324

  • Red Hat Security Advisory RHSA-2026:1326

  • Red Hat Security Advisory RHSA-2026:1327

  • Red Hat Security Advisory RHSA-2026:1465

  • Red Hat Security Advisory RHSA-2026:1608

  • Red Hat Security Advisory RHSA-2026:1624

  • Red Hat Security Advisory RHSA-2026:1625

  • Red Hat Security Advisory RHSA-2026:1626

  • Red Hat Security Advisory RHSA-2026:1627

  • Red Hat Security Advisory RHSA-2026:1652

  • Red Hat Security Advisory RHSA-2026:1736

  • Red Hat Security Advisory RHSA-2026:2064

  • Red Hat Security Advisory RHSA-2026:2072

  • Red Hat Security Advisory RHSA-2026:2485

  • Red Hat Security Advisory RHSA-2026:2563

  • Red Hat Security Advisory RHSA-2026:2633

  • Red Hat Security Advisory RHSA-2026:2659

  • Red Hat Security Advisory RHSA-2026:2671

  • Red Hat CVE CVE-2025-13601

  • Red Hat Bug Report #2416741
  • Related CVEs
  • CVE-2025-9784: Apache Camel Spring Boot DoS Vulnerability

  • CVE-2025-5318: OpenShift Information Disclosure Bug

  • CVE-2022-0996: 389 Directory Server Auth Bypass Flaw

  • CVE-2022-3787: Red Hat Device-mapper-multipath Escalation
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