BusyBox vulnerabilities pile up in embedded Linux firmware because BusyBox packs the shell, awk, networking tools and dozens of other utilities into one multi-call binary, so every CVE in any compiled-in applet lands on that single component. To handle them, identify the BusyBox version and its enabled applets in the image, check which applets untrusted input can reach, prioritise with EPSS and KEV data, then upgrade or backport the fix commits and re-scan the image.
Key takeaways
- Because one executable contains many programs, and a CVE filed against any of them is a CVE against the whole binary.
- It found 14 CVEs, CVE-2021-42373 to CVE-2021-42386, across five applets, all fixed in BusyBox 1.34.0.
- Extract the root filesystem, find the binary the shell symlinks resolve to, and read its version banner.
- List the applets that are compiled in, then trace which of them untrusted input can actually reach on the running device.
Why does one BusyBox binary carry so many CVEs?
Because one executable contains many programs, and a CVE filed against any of them is a CVE against the whole binary. The BusyBox project's own description is that it "combines tiny versions of many common UNIX utilities into a single small executable," and that it is "extremely modular so you can easily include or exclude commands (or features) at compile time." On a typical router, camera, PLC gateway or industrial switch, /bin/sh, /bin/ls, /usr/bin/awk, /usr/bin/wget and /sbin/udhcpc are all symlinks to the same file. BusyBox reads the name it was called by (argv[0]) and runs the matching applet.
That keeps firmware small, but a software bill of materials then lists one component, busybox, with one version, and every CVE recorded against that version attaches to that one line, whether it sits in the shell, awk, the DHCP client or a decompressor. The five CVEs in the title show the pattern:
| CVE | Applet / code | Weakness | NVD CVSS 3.1 | Upstream status (sources below) |
|---|---|---|---|---|
| CVE-2022-48174 | ash shell (ash.c) |
Stack overflow (CWE-787) | 9.8, AV:N | Fix commit in the 1.37.0 line, per Debian's tracker |
| CVE-2023-42363 | awk (xasprintf) |
Use-after-free (CWE-416) | 5.5, AV:L, UI:R | Listed in the 1.37.0 change log |
| CVE-2023-42364 | awk (evaluate) |
Use-after-free (CWE-416) | 5.5, AV:L, UI:R | Fix commits in the 1.37.0 line |
| CVE-2023-42365 | awk (copyvar) |
Use-after-free (CWE-416) | 5.5, AV:L, UI:R | Fix commits in the 1.37.0 line |
| CVE-2023-42366 | awk (next_token) |
Heap buffer overflow (CWE-787) | 5.5, AV:L, UI:R | Patched downstream only (Debian unstable 1:1.37.0-8) |
These are not lab curiosities that stay in the bug tracker. Siemens ProductCERT's SSA-089022, published 2026-01-28, lists all five among the third-party component vulnerabilities fixed in SINEC OS V3.3 for products such as the RUGGEDCOM RST2428P. Its SSA-585531, published 2026-07-14, lists CVE-2022-48174 for the SIDIS Secured SmartPlug before V7.26.0310.
So the CVE count says little about exposure on its own. An image built without awk does not contain the code behind CVE-2023-42363 to CVE-2023-42366, whatever the version string says; one whose web interface passes request parameters to sh -c hands untrusted input straight to ash.
What did the 2021 JFrog and Claroty research find?
It found 14 CVEs, CVE-2021-42373 to CVE-2021-42386, across five applets, all fixed in BusyBox 1.34.0. The JFrog post and Claroty's Team82 write-up, both dated 9 November 2021, say the bugs were privately disclosed and fixed in 1.34.0 (19 August 2021). The 1.33.2 stable release (30 November 2021) carried "fixes for hush and ash (parsing fixes) and unlzma".
| Applet | CVEs | NVD CVSS 3.1 | What a device maker should note |
|---|---|---|---|
hush shell |
CVE-2021-42376, CVE-2021-42377 | 5.5; 9.8 | 42377 is a pointer free on the string &&& in a crafted shell command |
awk |
CVE-2021-42378 to CVE-2021-42386 (nine) | 7.2 each (PR:H) | Need an attacker-supplied awk program |
ash |
CVE-2021-42375 | 5.5 | Local denial of service |
unlzma |
CVE-2021-42374 | 5.3 | Reachable from any applet that reads LZMA data, such as tar |
man |
CVE-2021-42373 | 5.5 | Rarely compiled into device images |
JFrog's own table scores the awk bugs lower than NVD; this guide uses NVD. The set shows the same lesson as the 2023 awk CVEs: most of the count sits in applets a device may not need.
How do you identify the BusyBox version in a firmware image?
Extract the root filesystem, find the binary the shell symlinks resolve to, and read its version banner. Then confirm whether the vendor backported fixes behind that banner. A practical sequence:
Unpack the imageUse binwalk or the vendor's own tooling to pull out the SquashFS, UBIFS, JFFS2 or ext4 root filesystem. If large regions refuse to unpack, our firmware entropy analysis guide covers telling encrypted blobs from compressed ones. Find the multi-call binaryList symlinks under /bin,/sbin,/usr/binand/usr/sbin. The target that most of them share, usually/bin/busybox, is the binary to inspect. Some images contain more than one BusyBox build, so check every distinct target.Read the bannerBusyBox embeds a banner string beginning BusyBox v1.36.1 (build date), whichstringsandgrepwill find without running anything. If the binary was stripped of that string, the build date and the applet table still narrow the version down.Check the package databaseOpenWrt-based firmware carries opkg metadata in which busyboxhas a version plus a package revision, so there is a second, independent record to compare against the banner.Look for backportsThe banner records the upstream base version, not the patch level. Debian's tracker shows why that matters: CVE-2022-48174 is marked fixed in bookworm's 1:1.35.0-4+deb12u1even though the upstream fix landed in the 1.37.0 line, and Debian LTS advisory DLA-4019-1 fixed CVE-2022-48174, CVE-2023-42364 and CVE-2023-42365 in bullseye's 1.30.1-based package. A device vendor can do the same. GPL source releases, patch directories in the vendor SDK or a vendor advisory are the evidence that a backport exists.
Version data from public records is not always tidy either. NVD's description of CVE-2022-48174 says "before 1.35", while its CPE configuration covers versions up to and including 1.36.1. For CVE-2023-42363, Debian's tracker notes that the proof of concept "triggers on bookworm but not on bullseye" and traces the cause to a change in the 1.34.0 line, which is a narrower range than "every version up to 1.36.1". When records disagree, take the source code and the fix commit as the reference, not the summary text.
How do you tell which BusyBox applets are enabled and reachable?
List the applets that are compiled in, then trace which of them untrusted input can actually reach on the running device. Compiled-in and reachable are two different questions:
| Question | How to answer it from the image | What it changes |
|---|---|---|
| Is the applet compiled in? | Symlink names pointing at the binary; the NUL-separated applet name table inside the binary; busybox --list under QEMU user-mode emulation; the .config in the vendor's GPL source release |
An applet that is not compiled in contains none of the vulnerable code |
| Is it on a path untrusted data takes? | Init scripts, CGI handlers and web UI binaries that call system(), popen() or sh -c; cron jobs and hotplug scripts that run awk on received data |
Reachable applets move up the list; ones only used at build time move down |
| Who controls the input? | Network-facing services, authenticated admin pages, local users only, or the firmware author only | Sets how much NVD's attack vector applies to this device |
| Is there a mitigation in place? | Compiler hardening flags, a read-only root filesystem, no interactive shell for service accounts | Lowers impact; does not remove the flaw |
For the five CVEs above, this check usually splits them into two groups. ash is the system shell on nearly every BusyBox image, so CVE-2022-48174 is almost always compiled in. Whether it is reachable depends on whether attacker-controlled strings reach the shell, the same pattern our command injection in embedded firmware guide describes for web and CLI handlers that shell out. The awk CVEs need a crafted awk program, the "crafted awk pattern" in NVD's descriptions. They matter where a script builds awk programs from received data, and much less where awk only runs fixed one-liners written by the firmware author. Memory-safety bugs like these follow the patterns in our memory corruption in embedded firmware guide.
Which applets carry the most risk, and which config options remove them?
The applets that parse network input or run attacker-influenced text carry most of the risk, and each has its own Kconfig symbol (written CONFIG_<name> in the .config file). Symbols below are from the BusyBox 1.38.0 source in the downloads directory:
| Applet | Config symbol(s) | Example CVEs | Note |
|---|---|---|---|
ash (default sh) |
ASH, SH_IS_ASH |
CVE-2022-48174 | Usually required; protect the input instead |
| hush | HUSH |
CVE-2021-42377 | Drop it if ash is the shell |
| awk | AWK |
CVE-2021-42378 to -42386, CVE-2023-42363 to -42366 | Drop it if no script uses awk |
| udhcpc | UDHCPC |
CVE-2016-2147, CVE-2016-2148, CVE-2018-20679, CVE-2019-5747 | Parses packets from anyone on the LAN |
| wget | WGET, FEATURE_WGET_HTTPS, FEATURE_WGET_OPENSSL |
CVE-2018-1000500 | See the TLS note below |
| httpd, telnetd, ftpd, tftpd, nc | HTTPD, TELNETD, FTPD, TFTPD, NC |
— | Network services; ship only if the product needs them |
| tar, cpio, unlzma | TAR, CPIO, UNLZMA, FEATURE_SEAMLESS_LZMA |
CVE-2021-42374, CVE-2023-39810 | Matter when firmware unpacks received archives |
The wget note matters for update scripts. The FEATURE_WGET_HTTPS help text in wget.c says the internal TLS code "does not check that the peer is who it claims to be", while "FEATURE_WGET_OPENSSL does implement TLS verification using the certificates available to OpenSSL." CVE-2018-1000500 is the missing-validation CVE behind that change. A device that fetches firmware or configuration with BusyBox wget over its internal TLS gets encryption without server authentication. Verify a signature on what it downloads, as our OTA update security guide describes.
How should you prioritise BusyBox CVEs?
Rank by reachability first and exploitation data second, then use the CVSS base score, which describes the flaw rather than your device, to break ties. Public data as of 2026-11-28 gives a clear order for the five CVEs:
| CVE | KEV (catalog 2026.11.27) | FIRST EPSS (2026-11-28) | Typical priority |
|---|---|---|---|
| CVE-2022-48174 | Not listed | 0.0302, ~88th percentile | High where untrusted input reaches ash; fix in the next release |
| CVE-2023-42364 | Not listed | 0.0035, ~21st percentile | Medium if awk processes received data, otherwise low |
| CVE-2023-42363 | Not listed | 0.0036, ~22nd percentile | Same as above |
| CVE-2023-42366 | Not listed | 0.0034, ~20th percentile | Same as above; needs a downstream patch |
| CVE-2023-42365 | Not listed | 0.0034, ~20th percentile | Same as above |
KEV listing would override all of this: a BusyBox CVE added to CISA's catalog is being exploited in the wild and moves to the top of the list regardless of score. Our KEV and EPSS prioritisation guide explains how the two signals combine, and the CVSS v4 vs v3.1 guide covers why a 9.8 base score for a shell bug still needs environmental context on an embedded device.
How do you fix BusyBox vulnerabilities in firmware?
Upgrade or backport the fix commits, trim unneeded applets, rebuild, and re-scan to prove the result.
Choose between upgrade and backport. The BusyBox release page lists 1.36.1 (19 May 2023) as the last release labelled stable; 1.37.0 (27 September 2024) and 1.38.0 (13 May 2026) are labelled unstable. The 1.37.0 change log includes "awk: fix use after free (CVE-2023-42363)" and "awk: fix use-after-realloc (CVE-2021-42380)". A team that requires a "stable" label therefore backports onto 1.36.1. A team that tracks the newest line takes 1.37.0 or 1.38.0 and tests its scripts against the shell changes those releases contain. The 1.38.0 change log adds "archival: disallow path traversals (CVE-2023-39810)". Build systems have moved: OpenWrt main and Buildroot master both carry 1.38.0, while OpenWrt 24.10 stays on 1.36.1. Our Yocto and Buildroot SBOM guide covers reading those versions from the build.
Patch what upstream releases leave open. Debian's tracker for CVE-2023-42366 lists bookworm (1.35.0) and trixie (1.37.0-6) as vulnerable, with the fix only in its unstable 1:1.37.0-8 package. Moving to 1.37.0 alone does not close that heap overflow, so carry the distribution patch or remove awk if nothing needs it.
Trim the applet set. BusyBox's compile-time configuration is the cheapest mitigation available. Turning off the symbols in the table above for applets the product does not use removes their code, and their future CVEs, from the attack surface. Document the configuration in the SBOM or a VEX statement so that "awk not compiled in" is recorded evidence, not just a claim. Our CSAF and VEX for device makers guide shows the format, and the VEX generator drafts one.
Rebuild, re-scan, release. Rebuild the image, regenerate its firmware SBOM, and compare it with the previous release to confirm the new BusyBox version or patch level is what actually shipped. The SBOM diff tool does this for two SBOM files, and our firmware diffing and patch analysis guide covers the binary-level view. Then publish the fix in your advisory. Siemens' notices above show the expected form: affected versions, fixed version and the CVE list.
Worked example: how would you triage a synthetic gateway image?
Synthetic example; the device and findings are invented for illustration. A scan of a gateway image reports BusyBox 1.33.1 with 23 matched CVEs. The engineer checks the applet table and the scripts:
| Finding | Evidence | Decision |
|---|---|---|
| CVE-2021-42378 to -42386 (awk) | awk symlink present; only fixed one-liners in init scripts |
Remove awk in the next build; low priority until then |
| CVE-2021-42377 (hush) | No hush in the applet table |
Not affected; record in the release notes |
| CVE-2018-20679, CVE-2019-5747 (udhcpc) | WAN port runs udhcpc | Fix now: upgrade |
| CVE-2022-48174 (ash) | CGI script passes a form field to sh -c |
Fix now; also fix the CGI injection |
The release moves to 1.36.1 with backported fixes, drops awk and hush, and is re-scanned to confirm the result.
What are the common BusyBox mistakes?
- Trusting the version string when the vendor backported fixes, or trusting a backport claim without a patch to show for it.
- Leaving
telnetd,httpdortftpdcompiled in because the default configuration had them. - Fetching updates with BusyBox wget over internal TLS and assuming the server was authenticated.
- Treating "not in KEV" as "safe": no BusyBox CVE was in CISA's catalog version 2026.11.27, yet the 2021 hush bug had an EPSS score near 0.036 on 2026-11-28.
- Fixing BusyBox once and never re-checking each new release.
AI-assisted analysis: what does SoftWSP actually run?
SoftWSP's automated scan unpacks a firmware image, catalogs the components in the extracted file system and identifies BusyBox by name and version, including the opkg record on OpenWrt-style images with the package revision stripped. Deterministic code matches that version against CVE records, CISA's KEV catalog and FIRST's EPSS scores. AI then writes the explanation, and every sentence cites the component, version and record behind it. An engineer reviews every finding before delivery.
The judgements this guide describes stay with that engineer: which applets are compiled in, which ones untrusted input reaches, and whether a backport closes a version-matched CVE. Version matching flags a backported 1.35.0 build as affected; the review turns backport evidence into a documented "not affected" decision.
For where BusyBox review fits in a full assessment, see the OWASP Firmware Security Testing Methodology guide, or device & firmware security services to have a specific image reviewed.
This guide draws on the BusyBox project's release news, about page and source, the JFrog and Claroty 2021 research, the Debian Security Tracker, Debian LTS advisory DLA-4019-1, Siemens ProductCERT advisories SSA-089022 and SSA-585531, NVD, the OpenWrt and Buildroot package files, CISA's KEV catalog (version 2026.11.27) and FIRST EPSS data dated 2026-11-28, read on 2026-11-10 and 2026-11-14, with KEV and EPSS re-checked on 2026-11-29.
Put this guide to work
Frequently asked questions
Why does a single BusyBox binary show up with so many CVEs in a firmware scan?
BusyBox compiles dozens to hundreds of Unix utilities — the ash shell, awk, wget, udhcpc, tar, unzip, telnetd and more — into one multi-call executable, and every symlink such as /bin/sh or /usr/bin/awk points back at that same file. A scanner that identifies the binary as "busybox 1.36.1" therefore inherits every CVE recorded against any applet in that version: CVE-2022-48174 in the ash shell and CVE-2023-42363 to CVE-2023-42366 in awk all land on the same component even though they live in unrelated code. Whether each one matters depends on which applets were compiled in and which of them untrusted input can actually reach.
How do I find the BusyBox version inside a firmware image?
Extract the root filesystem (binwalk or the vendor's own unpacking tool), locate the binary that /bin/sh and most of /bin and /sbin symlink to, and search its strings for the banner "BusyBox v1.xx.x", which BusyBox prints in its own help output and embeds in the executable. On OpenWrt-based images the opkg package database records the busybox package version as well. Treat both as the upstream base version only: distributions and device vendors backport fixes without changing it, as Debian did with 1:1.35.0-4+deb12u1, which its security tracker marks fixed for CVE-2022-48174 although the upstream fix shipped in 1.37.0.
Which BusyBox CVE should a device maker fix first?
Start with the applets that are both compiled in and reachable by untrusted input, then use public exploitation data to order them. CVE-2022-48174 (ash stack overflow, NVD CVSS 3.1 base 9.8) usually comes first because ash is almost always the system shell and web or CGI handlers that shell out can feed it attacker data; its FIRST EPSS score on 2026-11-28 was 0.0302, around the 88th percentile. The four awk CVEs from 2023 are scored 5.5 by NVD, need a crafted awk program, and had EPSS scores near 0.0035. None of the five was in CISA's Known Exploited Vulnerabilities catalog as of its 2026-11-27 release.
Is upgrading to the latest BusyBox release enough to fix these CVEs?
Not on its own. busybox.net lists 1.36.1 (19 May 2023) as the last release labelled stable; 1.37.0 (September 2024) and 1.38.0 (May 2026) are labelled unstable. The 1.37.0 change log includes "awk: fix use after free (CVE-2023-42363)", and Debian's tracker links the CVE-2022-48174 fix to the 1.37.0 line, but Debian still lists CVE-2023-42366 as unfixed in its stable releases and patched it only in its unstable 1:1.37.0-8 package. A device maker either moves to 1.37.0 or later and applies the remaining patches, or backports the specific fix commits onto its current version, then rebuilds and re-scans the image.
Does SoftWSP detect which BusyBox applets are enabled in my firmware?
SoftWSP's automated scan identifies BusyBox as a component, with its version, from the unpacked firmware file system, and matches that version against CVE, CISA KEV and FIRST EPSS data. AI then writes a plain-language summary that cites the component, version and record behind every finding, and an engineer reviews it. Deciding which applets are compiled in and reachable, and whether a vendor backport already closes a matched CVE, is part of that engineer review rather than an automatic verdict.
Sources
- BusyBox project: News and release announcements (1.36.1 stable, 1.37.0 and 1.38.0 change logs)
- BusyBox project: About BusyBox
- Debian Security Tracker: CVE-2022-48174 (busybox)
- Debian Security Tracker: CVE-2023-42363 (busybox)
- Debian Security Tracker: CVE-2023-42366 (busybox)
- Debian LTS Advisory DLA-4019-1: busybox security update (19 January 2025)
- Siemens ProductCERT SSA-089022: Multiple Vulnerabilities in Third-Party Components in SINEC OS before V3.3
- Siemens ProductCERT SSA-585531: Multiple Vulnerabilities in SIDIS Secured SmartPlug before V7.26.0310
- NIST NVD: CVE-2022-48174
- CISA: Known Exploited Vulnerabilities (KEV) Catalog
- JFrog: Unboxing BusyBox: 14 new vulnerabilities uncovered by Claroty and JFrog (9 November 2021)
- Claroty Team82: Unboxing BusyBox: 14 vulnerabilities uncovered by Claroty, JFrog (9 November 2021)
- BusyBox source: networking/wget.c Kconfig help (FEATURE_WGET_HTTPS, FEATURE_WGET_OPENSSL)
- BusyBox project: source downloads (busybox-1.38.0.tar.bz2)
- NIST NVD: CVE-2021-42377 (hush)
- NIST NVD: CVE-2018-1000500 (wget certificate validation)
- OpenWrt: package/utils/busybox/Makefile (main, PKG_VERSION 1.38.0)
- Buildroot: package/busybox/busybox.mk (master, BUSYBOX_VERSION 1.38.0)
About this guide
SoftWSP Firmware Security Desk
Covers the Firmware vulnerabilities & fixes cluster: 135 guides.

In this cluster
Questions about this page?
