Arbitrary Code Execution in BusyBox via Heap Buffer Overflow
A heap-based buffer overflow vulnerability (CVE-2022-30065) in BusyBox allows a local attacker to execute arbitrary code and compromise system integrity.
CVE search metadata
CVE search record: CVE-2022-30065. Severity: high. CVSS: 7.8. EPSS: 1.24%. KEV: no. Product: BusyBox (< 1.35.0). Brief: Arbitrary Code Execution in BusyBox via Heap Buffer Overflow. Brief link: https://feed.craftedsignal.io/briefs/2026-09-busybox-rce/
BusyBox, a widely used suite of Unix utilities for embedded Linux systems, contains a heap-based buffer overflow vulnerability identified as CVE-2022-30065. This vulnerability impacts versions of BusyBox prior to 1.35.0. An attacker with local access to a system running an affected version can exploit this flaw to execute arbitrary code. By triggering the buffer overflow during specific command processing operations, an attacker can overwrite memory regions to divert the execution flow of the BusyBox binary. This is particularly critical in embedded environments where BusyBox often runs with elevated privileges or provides essential system administration functions. Defenders should prioritize patching BusyBox in firmware and container images.
Impact
Successful exploitation of this vulnerability allows a local attacker to achieve arbitrary code execution on the target system. This can lead to full system compromise, unauthorized data access, and disruption of service. Given the prevalence of BusyBox in embedded devices, routers, and minimal Linux environments, the scope of potential impact is significant, particularly in IoT and infrastructure sectors.
Recommendation
Update BusyBox to version 1.35.0 or later across all firmware, container images, and embedded Linux systems. Monitor for unauthorized or abnormal local process execution patterns using auditd or similar endpoint monitoring tools to detect exploitation attempts that trigger crashes or abnormal utility behavior.
Immediate actions
Audit firmware and container images for BusyBox versions older than 1.35.0
Mitigations
Upgrade BusyBox to version 1.35.0 or higher
CVE-2022-30065