CVE-2023-42364 is a use-after-free in the evaluate function of the BusyBox awk applet that a crafted awk pattern can trigger to crash the process. NVD scores it 5.5 for BusyBox 1.36.1, and the fix is in the 1.37.0 line. Siemens lists it for RUGGEDCOM and SCALANCE devices on SINEC OS before V3.3, fixed in V3.3.
Vulnerability summary
CVSS base score
5.5
Medium severity
EPSS score (FIRST)
0.4%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2023-42364 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| BusyBox (awk applet, evaluate in editors/awk.c) | cpe:2.3:a:busybox:busybox:1.36.1:*:*:*:*:*:*:* | NVD CPE: 1.36.1; fixed by commits 0256e00 and 38335df in the 1.37.0 line |
| Siemens SINEC OS devices: RUGGEDCOM RST2428P, SCALANCE XCM-/XRM-/XCH-/XRH-300 family, and SCALANCE XC-300/XR-300/XC-400/XR-500 family when migrated to SINEC OS | — | all versions before V3.3; fixed in V3.3 (Siemens ProductCERT SSA-089022, CISA ICSA-26-043-06) |
What does this mean for affected devices?
CVE-2023-42364 is a use-after-free (CWE-416). NVD's description says it "allows attackers to cause a denial of service via a crafted awk pattern in the awk.c evaluate function" of BusyBox 1.36.1. NVD scores it 5.5 (medium), vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H: local, needs user interaction, availability impact only. Its CPE lists 1.36.1 alone (NVD).
The Debian Security Tracker traces the fix for both CVE-2023-42364 and CVE-2023-42365 to BusyBox commit 0256e00, "awk: fix precedence of = relative to ==", dated 2023-05-30, plus commit 38335df, dated 2024-07-09, which repairs a regression the first one caused. Neither commit title names a CVE, and both are in the 1_37_0 line, so the upstream fix arrives with BusyBox 1.37.0 (27 September 2024). Debian fixed bookworm in 1:1.35.0-4+deb12u1 and bullseye in 1:1.30.1-6+deb11u1 through DLA-4019-1, which shows the fix backports to older trees.
Siemens ProductCERT SSA-089022, published 2026-01-28 and updated 2026-02-24, lists it for all SINEC OS versions before V3.3, republished by CISA as ICSA-26-043-06 on 2026-02-12. The affected devices are the RUGGEDCOM RST2428P Layer 2 switch, the SCALANCE XCM-/XRM-/XCH-/XRH-300 family and, since the 2026-02-24 update, the SCALANCE XC-300/XR-300/XC-400/XR-500 family, which Siemens says is affected only when it has been migrated from MSPS to SINEC OS firmware. The fix is SINEC OS V3.3. Siemens scores this CVE 5.5, the same as NVD. The advisory lists it together with CVE-2023-42363, CVE-2023-42365, CVE-2023-42366, the cpio flaw CVE-2023-39810 and the ash flaw CVE-2022-48174.
Exposure depends on how awk is used. The flaw needs an attacker-supplied awk program; fixed one-liners written by the firmware author are low risk, while scripts that build awk programs from received data are what make it reachable. Our BusyBox vulnerabilities in embedded Linux firmware guide rates the 2023 awk CVEs by that test and shows how to drop awk with the AWK config symbol when nothing needs it.
CVE-2023-42364 is not in the CISA KEV catalog as of 2026-11-17 (catalog version 2026.11.13), and FIRST EPSS gives it 0.0043, the 38th percentile, in the 2026-11-16 dataset (CISA KEV, FIRST EPSS).
To fix it, update Siemens SINEC OS devices to V3.3. In your own firmware, move to BusyBox 1.37.0 or later, or backport 0256e00 together with 38335df, or remove awk, then re-scan the image. Our memory corruption fix guide covers use-after-free as a class.
Evidence
- Use-after-free in awk.c evaluate in BusyBox 1.36.1; NVD CVSS 3.1 5.5 (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H), CWE-416; CPE 1.36.1. — NVD
- Fixed by commit 0256e00 with regression fix 38335df (both 1_37_0); bookworm fixed in 1:1.35.0-4+deb12u1; bullseye fixed via DLA-4019-1. — Debian Security Tracker
- Commit 0256e00 (2023-05-30) "awk: fix precedence of = relative to ==" changes editors/awk.c. — BusyBox commit 0256e00 (GitHub mirror)
- Commit 38335df (2024-07-09) "awk: restore assignment precedence to be lower than ternary ?:". — BusyBox commit 38335df (GitHub mirror)
- DLA-4019-1 (19 January 2025) fixes CVE-2023-42364 and CVE-2023-42365 in busybox 1:1.30.1-6+deb11u1. — Debian LTS Advisory DLA-4019-1
- SINEC OS before V3.3 on RUGGEDCOM RST2428P and SCALANCE XC/XR/XCM/XRM/XCH/XRH devices affected; Siemens CVSS 5.5; fixed in V3.3. — Siemens ProductCERT SSA-089022
- Not in the CISA KEV catalog as of 2026-11-17 (catalog version 2026.11.13). — CISA KEV
- EPSS 0.00433 (38th percentile), dataset 2026-11-16, read 2026-11-17. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which devices does Siemens list for CVE-2023-42364?
SSA-089022 lists all SINEC OS versions before V3.3 on the RUGGEDCOM RST2428P, the SCALANCE XCM-/XRM-/XCH-/XRH-300 family and the SCALANCE XC-300/XR-300/XC-400/XR-500 family when migrated to SINEC OS, fixed in V3.3 (per Siemens ProductCERT).
Which BusyBox version fixes CVE-2023-42364?
The fix commits 0256e00 and 38335df are in the 1.37.0 line, released 27 September 2024. Debian backported them to bookworm 1:1.35.0-4+deb12u1 and bullseye 1:1.30.1-6+deb11u1 (per the Debian Security Tracker).
Is CVE-2023-42364 remotely exploitable?
NVD rates it local with user interaction and availability impact only. It becomes reachable when a device runs awk programs built from untrusted input (per NVD).
Is CVE-2023-42364 in the CISA KEV catalog?
No, not as of 2026-11-17 (catalog version 2026.11.13). FIRST EPSS gives it 0.0043, the 38th percentile, in the 2026-11-16 dataset (per CISA KEV and FIRST EPSS).
Questions about this page?