CVE-2025-46394
Low · 3.2CVSS
3.2
EPSS
0.2%
Published
Apr 23, 2025
CISA due date
—
Cloudanix analysis
A common tool used on many devices can be tricked into hiding certain files inside archives, so malicious content might slip past normal checks.
- Exploitation
- Local Privilege
- Attacker needs
- None
- Complexity
- High
- Impact
- Data Tampering
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
BusyBox tar fails to sanitize or escape terminal control sequences in archive member names, allowing filenames to contain sequences that manipulate terminal output during listing operations and conceal selected entries.
Why it matters to the business
Organizations distributing or inspecting software via BusyBox tar may unknowingly process archives containing concealed files, increasing the risk of undetected tampering or inclusion of unwanted content in build pipelines and embedded systems.
How an attack unfolds
An attacker creates a TAR archive containing filenames that embed ANSI escape sequences designed to overwrite or hide subsequent lines when the archive is listed with BusyBox tar; the hidden entries can then carry malicious payloads that remain invisible during routine inspection.
How to fix it
Upgrade BusyBox to a version newer than 1.37.0 once a fix is released; until then, replace BusyBox tar with GNU tar or another implementation that properly handles terminal sequences for archive operations.
How to confirm the fix worked
Test tar listings against archives containing filenames with embedded escape sequences and confirm that all member names remain fully visible; verify BusyBox version and compare output against a reference implementation such as GNU tar.
Typical attack path
- Craft TAR archive with member names containing terminal escape sequences
- Distribute or substitute the archive in a supply chain or download location
- Victim uses BusyBox tar to list or extract contents
- Escape sequences alter terminal rendering to conceal malicious member names
- Hidden files are processed or executed without user awareness
How to detect it
Search logs and forensic images for tar processes invoked with listing options on archives whose member names contain terminal escape sequences; examine package build artifacts and downloaded tarballs for filenames embedding control characters.
What your security team should do
- Identify all systems using BusyBox tar for archive handling and prioritize upgrade
- Introduce policy requiring GNU tar or equivalent for security-sensitive archive inspection
- Add archive scanning steps that detect and flag control characters in filenames before extraction
The record
In tar in BusyBox through 1.37.0, a TAR archive can have filenames hidden from a listing through the use of terminal escape sequences.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Chainguard | busybox | 0 | 1.37.0-r50 |
| Chainguard | busybox-full | 0 | 1.37.0-r50 |
| Debian:11 | busybox | 0 | No fix |
| Debian:12 | busybox | 0 | No fix |
| Debian:13 | busybox | 0 | No fix |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | busybox | 0 | 1.35.0-150400.3.14.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | busybox | 0 | 1.35.0-150400.3.14.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | busybox | 0 | 1.37.0-150500.10.14.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | busybox | 0 | 1.37.0-150500.10.14.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | busybox | 0 | 1.35.0-150400.3.14.1 |
| SUSE:Linux Enterprise Server 15 SP5-LTSS | busybox | 0 | 1.37.0-150500.10.14.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | busybox | 0 | 1.37.0-150500.10.14.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | busybox | 0 | 1.35.0-150400.3.14.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | busybox | 0 | 1.37.0-150500.10.14.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP6 | busybox | 0 | 1.37.0-150500.10.14.1 |
| Wolfi | busybox | 0 | 1.37.0-r50 |
| Wolfi | busybox-full | 0 | 1.37.0-r50 |
| openSUSE:Leap 15.6 | busybox | 0 | 1.37.0-150500.10.14.1 |
| openSUSE:Leap 15.6 | busybox-links | 0 | 1.37.0-150500.7.9.1 |
| openSUSE:Leap 16.0 | busybox | 0 | 1.37.0-160000.4.1 |
| openSUSE:Tumbleweed | busybox | 0 | 1.37.0-8.1 |
Related vulnerabilities
- CVE-2025-60876 BusyBox wget thru 1.3.7 accepted raw CR (0x0D)/LF (0x0A) and other C0 control bytes in… Also affects busybox
- CVE-2024-58251 In netstat in BusyBox through 1.37.0, local users can launch of network application with… Also affects busybox
- CVE-2023-39810 An issue in the CPIO command of Busybox v1.33.2 allows attackers to execute a directory… Also affects busybox
- CVE-2014-4607 Integer overflow in the LZO algorithm variant in Oberhumer liblzo2 and lzo-2 before 2.07… Also affects busybox
- CVE-2011-5325 Directory traversal vulnerability in the BusyBox implementation of tar before 1.22.0 v5… Also affects busybox
- CVE-2016-2148 Heap-based buffer overflow in the DHCP client (udhcpc) in BusyBox before 1.25.0 allows… Also affects busybox
- CVE-2026-26158 A flaw was found in BusyBox. Also affects busybox
- CVE-2026-26157 A flaw was found in BusyBox. Also affects busybox