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-2023-29824

CVE-2023-29824: SciPy Use-After-Free Vulnerability

CVE-2023-29824 is a use-after-free flaw in the Py_FindObjects() function in SciPy versions before 1.8.0. This article covers the technical details, affected versions, potential impact, and mitigation strategies.

Published: February 4, 2026

CVE-2023-29824 Overview

A use-after-free vulnerability was discovered in the Py_FindObjects() function in SciPy, a popular open-source Python library used for scientific and technical computing. This memory corruption flaw affects SciPy versions prior to 1.8.0 and could potentially allow attackers to execute arbitrary code or cause denial of service conditions. It is important to note that both the vendor and the original discoverer have indicated that this is not considered a security issue in typical usage scenarios.

Critical Impact

Use-after-free vulnerability in a widely-deployed scientific computing library that could potentially lead to memory corruption, arbitrary code execution, or application crashes in affected environments.

Affected Products

  • SciPy versions prior to 1.8.0
  • Applications and systems utilizing vulnerable SciPy library versions
  • Scientific computing environments with outdated SciPy installations

Discovery Timeline

  • 2023-07-06 - CVE-2023-29824 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-29824

Vulnerability Analysis

This vulnerability is classified as CWE-416 (Use After Free), a type of memory corruption vulnerability that occurs when a program continues to reference memory after it has been freed. In the context of the Py_FindObjects() function within SciPy, this flaw arises from improper memory management where previously deallocated memory is accessed, potentially leading to undefined behavior.

Use-after-free vulnerabilities are particularly dangerous because they can allow attackers to manipulate memory in ways that lead to arbitrary code execution. When memory is freed and then reallocated for a different purpose, accessing the original reference can result in reading or writing to memory that now contains different data or code pointers.

The vulnerability exists in the core functionality of the Py_FindObjects() function, which is part of SciPy's internal operations. While the vendor has disputed the security implications in typical deployment scenarios, the underlying memory safety issue represents a code quality concern that was addressed in version 1.8.0.

Root Cause

The root cause of this vulnerability lies in improper memory lifecycle management within the Py_FindObjects() function. The code fails to properly track memory allocation state, leading to a scenario where a pointer to freed memory is subsequently dereferenced. This type of bug typically occurs when:

  1. Memory is allocated and a pointer is stored
  2. The memory is freed but the pointer is not nullified
  3. The dangling pointer is later accessed, referencing invalid memory

The fix implemented in GitHub Scipy Pull Request #15013 addresses this memory management issue by ensuring proper handling of object references.

Attack Vector

The vulnerability is exploitable via network-based attack vectors. An attacker could potentially craft malicious input that triggers the use-after-free condition in applications utilizing the vulnerable Py_FindObjects() function. The attack requires no user interaction or special privileges to execute.

Exploitation would involve providing specially crafted data to an application that processes it using the vulnerable SciPy function. Upon processing, the use-after-free condition could be triggered, potentially allowing:

  • Memory corruption leading to arbitrary code execution
  • Application crashes resulting in denial of service
  • Information disclosure through memory content exposure

However, as noted by the vendor and discoverer, practical exploitation in real-world scenarios may be limited due to the specific conditions required to trigger the vulnerability.

Detection Methods for CVE-2023-29824

Indicators of Compromise

  • Unexpected application crashes or segmentation faults in applications using SciPy
  • Abnormal memory access patterns in processes utilizing Py_FindObjects() function
  • Memory corruption errors in scientific computing applications

Detection Strategies

  • Implement software composition analysis (SCA) to identify SciPy versions prior to 1.8.0 in your environment
  • Monitor application logs for memory-related errors and crashes in SciPy-dependent applications
  • Use runtime application self-protection (RASP) solutions to detect memory corruption attempts

Monitoring Recommendations

  • Audit and inventory all systems running SciPy to identify vulnerable versions
  • Implement continuous dependency scanning in CI/CD pipelines to flag outdated libraries
  • Monitor for unusual process behavior or crashes in scientific computing workloads

How to Mitigate CVE-2023-29824

Immediate Actions Required

  • Upgrade SciPy to version 1.8.0 or later immediately
  • Audit all applications and environments for SciPy dependencies
  • Prioritize patching in internet-facing applications that process untrusted input

Patch Information

The vulnerability has been addressed in SciPy version 1.8.0. The fix is documented in GitHub Scipy Pull Request #15013, which corrects the memory management issue in the Py_FindObjects() function.

Organizations should update their SciPy installations using their package manager:

bash
# Upgrade SciPy using pip
pip install --upgrade scipy>=1.8.0

# Verify installed version
pip show scipy | grep Version

Workarounds

  • If immediate patching is not possible, consider isolating applications using vulnerable SciPy versions
  • Implement network segmentation to limit exposure of vulnerable systems
  • Monitor affected systems for signs of exploitation while planning upgrade paths
bash
# Check current SciPy version
python -c "import scipy; print(scipy.__version__)"

# Update SciPy to patched version
pip install scipy>=1.8.0

# Verify the update was successful
python -c "import scipy; print(scipy.__version__)"

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechScipy

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.37%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • Square16 CVE-2023-29824 Detail

  • GitHub Scipy Issue #14713

  • GitHub Scipy Issue Comment
  • Vendor Resources
  • GitHub Scipy Pull Request #15013
  • Related CVEs
  • CVE-2023-25399: Scipy Memory Leak 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