CVE-2022-48174 is a stack overflow in the BusyBox ash shell, the default /bin/sh on most BusyBox-based firmware. NVD scores it 9.8 and lists BusyBox up to 1.36.1; the fix is in the 1.37.0 line. Siemens lists it for RUGGEDCOM and SCALANCE devices on SINEC OS before V3.3 and for the SIDIS Secured SmartPlug before V7.26.0310.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
3.2%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2022-48174 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| BusyBox (ash shell, shell/math.c) | cpe:2.3:a:busybox:busybox:*:*:*:*:*:*:*:* | NVD CPE: up to and including 1.36.1 (NVD description says "before 1.35"); fix commit d417193 is in the 1.37.0 line |
| Siemens SINEC OS devices: RUGGEDCOM RST2428P, SCALANCE XCM-/XRM-/XCH-/XRH-300 and XC-300/XR-300/XC-400/XR-500 families | — | all versions before V3.3; fixed in V3.3 (Siemens ProductCERT SSA-089022) |
| Siemens SIDIS Secured SmartPlug | — | all versions before V7.26.0310; fixed in V7.26.0310 (Siemens ProductCERT SSA-585531) |
What does this mean for affected devices?
CVE-2022-48174 is a stack-based out-of-bounds write (CWE-787) in BusyBox's ash shell. NVD's description places it at "ash.c:6030 in busybox before 1.35" and says it "can be executed from command to arbitrary code execution". NVD scores it 9.8 (critical), vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, and its CPE configuration covers BusyBox versions up to and including 1.36.1, a wider range than the description's text (NVD).
The upstream fix is commit d417193, dated 2023-06-12, titled "shell: avoid segfault" and closing BusyBox bug 15216. Its test case is a substring expansion of $0 whose length field is a malformed arithmetic expression (a division by zero followed by an invalid number). The commit changes shell/math.c, the arithmetic evaluator that ash calls for such expressions. The Debian Security Tracker assigns the commit to the 1_37_0 line and lists backports: 1:1.30.1-6+deb11u1 for bullseye (DLA-4019-1) and 1:1.35.0-4+deb12u1 for bookworm. A firmware banner reading 1.35.0 or 1.36.1 therefore says nothing on its own about whether this fix is present.
The device angle comes from Siemens ProductCERT. SSA-089022, published 2026-01-28 and updated 2026-02-24, lists CVE-2022-48174 for all SINEC OS versions before V3.3 on the RUGGEDCOM RST2428P, the SCALANCE XCM-/XRM-/XCH-/XRH-300 family (XCM324, XCM328, XCM332, XCH328, XRM334, XRH334) and the SCALANCE XC-300/XR-300/XC-400/XR-500 family running SINEC OS, and recommends V3.3. SSA-585531, published 2026-07-14, lists it for the SIDIS Secured SmartPlug before V7.26.0310. Both advisories score it for their products at 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H: on these devices the shell input has to arrive locally or through user interaction, not straight from the network.
That difference is the practical question for any device maker. ash is compiled into almost every BusyBox image, so the code is present; it becomes remotely reachable when a web handler, CGI script or CLI wrapper passes attacker-controlled text to sh -c. Our BusyBox vulnerabilities in embedded Linux firmware guide shows how to find the version, the applets and those call paths in an image, and our command injection fix guide covers removing the shell-out pattern itself.
CVE-2022-48174 is not in the CISA KEV catalog as of 2026-11-16 (catalog version 2026.11.13), and FIRST EPSS gives it 0.0316, the 88th percentile, in the 2026-11-15 dataset (CISA KEV, FIRST EPSS).
To fix it, update affected Siemens devices to SINEC OS V3.3 or the SmartPlug to V7.26.0310. In your own firmware, move to BusyBox 1.37.0 or later or backport d417193, then rebuild and re-scan. The same Siemens advisory also lists the BusyBox awk flaw CVE-2023-42363, and our memory corruption fix guide covers this weakness class.
Evidence
- Stack overflow in ash.c in BusyBox; NVD CVSS 3.1 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), CWE-787; CPE up to and including 1.36.1. — NVD
- Fix commit d417193 (2023-06-12) "shell: avoid segfault" closes bug 15216; test case is a substring expansion with a malformed arithmetic length; changes shell/math.c. — BusyBox commit d417193 (GitHub mirror)
- Fix in the 1_37_0 line; backported to bullseye 1:1.30.1-6+deb11u1 (DLA-4019-1) and bookworm 1:1.35.0-4+deb12u1. — Debian Security Tracker
- SINEC OS before V3.3 on RUGGEDCOM RST2428P and SCALANCE XC/XR/XCM/XRM/XCH/XRH devices affected; fixed in V3.3; Siemens CVSS 7.8 (AV:L/UI:R). — Siemens ProductCERT SSA-089022
- SIDIS Secured SmartPlug before V7.26.0310 affected; fixed in V7.26.0310. — Siemens ProductCERT SSA-585531
- Not in the CISA KEV catalog as of 2026-11-16 (catalog version 2026.11.13). — CISA KEV
- EPSS 0.03158 (88th percentile), dataset 2026-11-15, read 2026-11-16. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which Siemens devices are affected by CVE-2022-48174?
SSA-089022 lists all SINEC OS versions before V3.3 on the RUGGEDCOM RST2428P and on SCALANCE XCM-/XRM-/XCH-/XRH-300 and XC-300/XR-300/XC-400/XR-500 devices running SINEC OS; V3.3 fixes it. SSA-585531 lists the SIDIS Secured SmartPlug before V7.26.0310 (per Siemens ProductCERT).
Why does NVD score CVE-2022-48174 at 9.8 while Siemens scores it 7.8?
NVD uses a network attack vector with no user interaction. Siemens scores its own products with a local attack vector and user interaction required (AV:L/UI:R), because on those devices the shell input does not arrive directly from the network (per NVD and Siemens ProductCERT).
Which BusyBox version fixes CVE-2022-48174?
The fix commit d417193 is in the 1.37.0 line, although NVD's CPE range ends at 1.36.1. Debian backported it to 1:1.30.1-6+deb11u1 and 1:1.35.0-4+deb12u1, so the version banner alone does not show whether a build is fixed (per the Debian Security Tracker).
Is CVE-2022-48174 in the CISA KEV catalog?
No, not as of 2026-11-16 (catalog version 2026.11.13). FIRST EPSS gives it 0.0316, the 88th percentile, in the 2026-11-15 dataset (per CISA KEV and FIRST EPSS).
Questions about this page?