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

CVE-2023-42365: BusyBox Use-After-Free Vulnerability

CVE-2023-42365 is a use-after-free flaw in BusyBox v1.36.1 affecting the awk.c copyvar function. Attackers can exploit this via crafted awk patterns. This article covers technical details, impact, and mitigation.

Published: February 11, 2026

CVE-2023-42365 Overview

A use-after-free vulnerability was discovered in BusyBox v.1.36.1 via a crafted awk pattern in the awk.ccopyvar function. This memory corruption flaw allows attackers to potentially cause a denial of service condition by exploiting improper memory handling when processing maliciously crafted awk patterns. The vulnerability requires local access and user interaction to trigger, but successful exploitation can lead to application crashes and system instability.

Critical Impact

Exploitation of this use-after-free vulnerability in BusyBox's awk implementation can cause denial of service through application crashes, affecting embedded systems and Linux distributions that rely on BusyBox utilities.

Affected Products

  • BusyBox version 1.36.1
  • Linux distributions using vulnerable BusyBox packages
  • Embedded systems and IoT devices running BusyBox 1.36.1

Discovery Timeline

  • 2023-11-27 - CVE-2023-42365 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2023-42365

Vulnerability Analysis

This vulnerability is classified as CWE-416 (Use After Free), a memory corruption vulnerability where the application continues to reference memory after it has been freed. In the context of BusyBox's awk implementation, the flaw exists within the copyvar function in awk.c. When processing specially crafted awk patterns, the function improperly handles memory allocation and deallocation, leading to a condition where freed memory is subsequently accessed.

The attack requires local access to the target system and user interaction to process the malicious awk input. While this limits the attack surface compared to remote vulnerabilities, BusyBox's widespread deployment in embedded systems, IoT devices, and minimal Linux environments makes this a significant concern for affected installations.

Root Cause

The root cause of CVE-2023-42365 lies in improper memory management within the copyvar function of BusyBox's awk implementation. The function fails to properly track the lifecycle of memory allocations when copying variable data during awk pattern processing. This results in a scenario where memory is freed prematurely while references to that memory location still exist, creating a use-after-free condition when those dangling references are subsequently accessed.

Attack Vector

The vulnerability is exploited through local access by providing a specially crafted awk pattern to BusyBox's awk applet. An attacker would need to either execute the malicious awk command directly on the target system or convince a user to process a file containing the crafted pattern. The attack does not require elevated privileges but does require user interaction to trigger the vulnerable code path.

The exploitation mechanism involves crafting an awk pattern that triggers specific memory operations within the copyvar function. When the pattern is processed, it causes the function to free memory that is later accessed, resulting in undefined behavior that typically manifests as a crash (denial of service). For detailed technical information about the vulnerability, see the BusyBox Bug Report #15871.

Detection Methods for CVE-2023-42365

Indicators of Compromise

  • Unexpected crashes or segmentation faults in BusyBox awk processes
  • Core dumps generated by awk-related operations
  • Abnormal process termination patterns involving BusyBox utilities
  • System logs indicating memory access violations in awk processing

Detection Strategies

  • Monitor for BusyBox version 1.36.1 installations across your environment using software inventory tools
  • Implement file integrity monitoring for BusyBox binaries to detect unauthorized modifications
  • Deploy endpoint detection solutions that can identify exploitation attempts targeting memory corruption vulnerabilities
  • Scan embedded systems and IoT devices for vulnerable BusyBox versions during routine security assessments

Monitoring Recommendations

  • Configure crash reporting mechanisms to capture and analyze BusyBox-related process failures
  • Implement system-level logging to track awk command executions and their parameters
  • Set up alerts for unusual patterns of process crashes affecting BusyBox utilities
  • Monitor for suspicious awk pattern files or scripts being introduced to systems

How to Mitigate CVE-2023-42365

Immediate Actions Required

  • Identify all systems running BusyBox version 1.36.1 in your environment
  • Prioritize patching embedded systems and IoT devices that may have longer update cycles
  • Consider restricting awk functionality on critical systems where updates cannot be immediately applied
  • Review system access controls to limit local access to affected systems

Patch Information

BusyBox maintainers have addressed this vulnerability in subsequent releases. Organizations should update to the latest available BusyBox version that includes the security fix. For Debian-based systems, security updates are available as documented in the Debian LTS Announcement. Consult the BusyBox Bug Report #15871 for additional patch details and version information.

Workarounds

  • Disable or remove the awk applet from BusyBox if the functionality is not required for your use case
  • Implement strict input validation for any scripts or processes that use BusyBox awk
  • Use alternative awk implementations (GNU awk or mawk) on systems where BusyBox awk can be replaced
  • Apply access controls to limit which users can execute awk commands on affected systems
bash
# Check BusyBox version to determine if vulnerable
busybox --help | head -n 1

# Verify if awk applet is compiled into BusyBox
busybox --list | grep awk

# On Debian-based systems, check for available updates
apt-get update && apt-cache policy busybox

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/TechBusybox

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • Debian LTS Announcement
  • Vendor Resources
  • BusyBox Bug Report #15871
  • Related CVEs
  • CVE-2023-42364: BusyBox Use-After-Free Vulnerability

  • CVE-2021-42385: Busybox Awk Use-After-Free Vulnerability

  • CVE-2021-42378: Busybox Awk Use-After-Free Vulnerability

  • CVE-2023-42363: BusyBox Use-After-Free 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