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-2020-29573

CVE-2020-29573: GNU Glibc Buffer Overflow Vulnerability

CVE-2020-29573 is a stack-based buffer overflow in GNU Glibc affecting x86 systems before version 2.23. It impacts printf family functions with non-canonical long double values. This article covers technical details.

Published: March 4, 2026

CVE-2020-29573 Overview

CVE-2020-29573 is a stack-based buffer overflow vulnerability affecting the GNU C Library (glibc) on x86 targets. The flaw exists in sysdeps/i386/ldbl2mpn.c and can be triggered when input to any of the printf family of functions contains an 80-bit long double with a non-canonical bit pattern. This vulnerability affects glibc versions prior to 2.23, though the issue was effectively mitigated in 2015 through commits that enabled inlining of C99 math functions via GCC built-ins.

Critical Impact

A remote attacker can cause a denial of service condition by supplying specially crafted input to printf family functions, leading to application crashes due to stack-based buffer overflow.

Affected Products

  • GNU glibc (versions before 2.23 on x86 targets)
  • Red Hat Enterprise Linux 7.0
  • NetApp Cloud Backup
  • NetApp SolidFire Baseboard Management Controller

Discovery Timeline

  • 2020-12-06 - CVE-2020-29573 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-29573

Vulnerability Analysis

This vulnerability is classified as CWE-787 (Out-of-bounds Write), specifically a stack-based buffer overflow. The flaw resides in the ldbl2mpn.c file within the i386 system-dependent code of glibc. When processing 80-bit long double floating-point values with non-canonical bit patterns through printf family functions (printf, sprintf, fprintf, etc.), the library fails to properly validate the input boundaries.

The vulnerability can be exploited remotely since network-accessible applications that process user-supplied floating-point data through printf functions are potential targets. The attack requires no authentication or user interaction, making it particularly concerning for server applications that format numerical output based on external input.

Root Cause

The root cause stems from improper bounds checking in the ldbl2mpn.c conversion routines. When an 80-bit extended precision floating-point number contains a non-canonical bit pattern (such as the specific byte sequence \\x00\\x04\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x04), the conversion code writes beyond the allocated stack buffer boundaries. This occurs because the code assumes well-formed floating-point representations and does not account for malformed or intentionally crafted non-canonical values.

The fix involved inlining C99 math functions through GCC built-ins in 2015, which changed the code path and prevented the vulnerable conversion routine from being triggered under normal circumstances.

Attack Vector

The attack vector is network-based, requiring an attacker to supply specially crafted input that eventually gets processed by one of the printf family functions. The specific attack involves passing a non-canonical 80-bit long double value to functions like sprintf.

When a vulnerable application receives this malformed floating-point data and attempts to format it for output, the stack buffer overflow occurs. This can result in application termination (denial of service) and potentially more severe consequences depending on the specific memory layout and exploitation technique.

The vulnerability is exploitable by crafting input containing specific byte patterns that represent non-canonical long double values. When this input is processed by sprintf or similar functions, the overflow occurs in the stack buffer used for the conversion.

Detection Methods for CVE-2020-29573

Indicators of Compromise

  • Application crashes or unexpected terminations in services using glibc printf functions
  • Core dumps showing stack corruption in ldbl2mpn.c or related floating-point conversion routines
  • Anomalous input patterns containing non-standard floating-point byte sequences in application logs
  • Segmentation faults originating from glibc string formatting functions

Detection Strategies

  • Monitor for segmentation faults and core dumps in applications that process floating-point data from external sources
  • Implement application-level input validation for floating-point values before passing to printf functions
  • Deploy runtime memory protection tools (such as AddressSanitizer) in development environments to detect buffer overflows
  • Review system logs for abnormal application behavior related to string formatting operations

Monitoring Recommendations

  • Enable core dump collection and analysis for applications processing external numerical data
  • Configure system monitoring to alert on repeated application crashes in services using glibc
  • Implement centralized logging for applications that format floating-point output based on user input
  • Monitor for patterns of malformed floating-point inputs in network traffic analysis tools

How to Mitigate CVE-2020-29573

Immediate Actions Required

  • Verify glibc version across all x86 systems and prioritize upgrades for systems running versions prior to 2.23
  • Review applications that process external floating-point data through printf functions for potential exposure
  • Apply vendor-specific patches from Red Hat, Gentoo, or NetApp as applicable to your environment
  • Implement input validation to reject malformed floating-point values before they reach printf functions

Patch Information

GNU glibc versions 2.23 and later include mitigations that prevent this vulnerability from being exploited under default configurations. The fix was implemented through commits made in 2015 that enabled inlining of C99 math functions using GCC built-ins.

For specific vendor patches and advisories:

  • Sourceware Bug Report #26649 - Official bug tracking for this vulnerability
  • Sourceware libc-alpha Mailing List Post - Technical discussion and patch details
  • Gentoo GLSA 2021-20 - Gentoo Linux security advisory
  • NetApp Security Advisory NTAP-20210122-0004 - NetApp affected products and remediation

Workarounds

  • Upgrade glibc to version 2.23 or later, which includes the protective inlining of C99 math functions
  • Implement application-level input validation to sanitize floating-point values before formatting operations
  • Consider using alternative formatting functions that do not rely on the vulnerable code path
  • Isolate applications processing untrusted floating-point input in containerized or sandboxed environments
bash
# Check current glibc version on the system
ldd --version

# Verify the specific glibc package version (RPM-based systems)
rpm -qa | grep glibc

# Verify the specific glibc package version (Debian-based systems)
dpkg -l | grep libc6

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechGnu Glibc

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.16%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • Gentoo GLSA 2021-20

  • NetApp Security Advisory NTAP-20210122-0004
  • Vendor Resources
  • Sourceware Bug Report #26649

  • Sourceware libc-alpha Mailing List Post
  • Related CVEs
  • CVE-2021-3999: Gnu Glibc Buffer Overflow Vulnerability

  • CVE-2024-33599: GNU Glibc Buffer Overflow Vulnerability

  • CVE-2024-33602: GNU Glibc Buffer Overflow Vulnerability

  • CVE-2022-23219: GNU Glibc Buffer Overflow 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