CVE-2023-42366
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.
- Record
CVE-2023-42366- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.
- Record
CVE-2023-42366- Updated
- 2026-11-02
EUVDEUVD-2023-46819 No score
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.
- Record
EUVD-2023-46819- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-2vjj-r39q-gvxr
5.5
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.
- Record
GHSA-2vjj-r39q-gvxr- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2023-42366
5.5
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.
- Record
ALPINE-CVE-2023-42366- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVAZL-33492
5.5
CVE-2023-42366 affecting package busybox for versions less than 1.35.0-12
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.
- Record
AZL-33492- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 16 moreShow less
OSVAZL-34577
5.5
CVE-2023-42366 affecting package busybox for versions less than 1.36.1-9
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.
- Record
AZL-34577- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-05
OSVBELL-CVE-2023-42366
5.5
- Record
BELL-CVE-2023-42366- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-42366
5.5
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.
- Record
DEBIAN-CVE-2023-42366- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2024-1740
5.5
busybox security update
BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. It provides a fairly complete environment for any small or embedded system.
Security Fix(es):
A use-after-free vulnerability was discovered in xasprintf function in xfuncs_printf.c:344 in BusyBox v.1.36.1.(CVE-2023-42363)
A use-after-free vulnerability in BusyBox v.1.36.1 allows attackers to cause a denial of service via a crafted awk pattern in the awk.c evaluate function.(CVE-2023-42364)
A use-after-free vulnerability was discovered in BusyBox v.1.36.1 via a crafted awk pattern in the awk.c copyvar function.(CVE-2023-42365)
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.(CVE-2023-42366)
- Record
OESA-2024-1740- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2024-2127
5.5
busybox security update
BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. It provides a fairly complete environment for any small or embedded system.
Security Fix(es):
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.(CVE-2023-42366)
- Record
OESA-2024-2127- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2024-2128
5.5
busybox security update
BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. It provides a fairly complete environment for any small or embedded system.
Security Fix(es):
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.(CVE-2023-42366)
- Record
OESA-2024-2128- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2024-2438
5.5
busybox security update
BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. It provides a fairly complete environment for any small or embedded system.
Security Fix(es):
A use-after-free vulnerability in BusyBox v.1.36.1 allows attackers to cause a denial of service via a crafted awk pattern in the awk.c evaluate function.(CVE-2023-42364)
A use-after-free vulnerability was discovered in BusyBox v.1.36.1 via a crafted awk pattern in the awk.c copyvar function.(CVE-2023-42365)
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.(CVE-2023-42366)
- Record
OESA-2024-2438- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2024-2439
5.5
busybox security update
BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. It provides a fairly complete environment for any small or embedded system.
Security Fix(es):
A use-after-free vulnerability in BusyBox v.1.36.1 allows attackers to cause a denial of service via a crafted awk pattern in the awk.c evaluate function.(CVE-2023-42364)
A use-after-free vulnerability was discovered in BusyBox v.1.36.1 via a crafted awk pattern in the awk.c copyvar function.(CVE-2023-42365)
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.(CVE-2023-42366)
- Record
OESA-2024-2439- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-42366
5.5
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.
- Record
UBUNTU-CVE-2023-42366- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV No score
A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.
- Record
CVE-2023-42366- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:11605-1 No score
busybox-1.38.0-2.1 on GA media
These are all security issues fixed in the busybox-1.38.0-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11605-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:22040-1 No score
Security update for busybox
This update for busybox fixes the following issues:
- CVE-2023-42366: heap-buffer-overflow in the next_token function (bsc#1217586).
- CVE-2026-38752: Denial of Service via crafted AWK script (bsc#1271544).
- CVE-2026-38753: use-after-free in awk_sub() (bsc#1271545).
- CVE-2026-38754: heap overflow in ifsbreakup() (bsc#1271547).
- CVE-2026-38755: heap overflow in evalcommand() (bsc#1271548).
- Record
openSUSE-SU-2026:22040-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:23446-1 No score
Security update for busybox
This update for busybox fixes the following issues:
- CVE-2023-42366: heap buffer overflow in the
next_tokenfunction ofeditors/awk.c(bsc#1217586). - CVE-2026-38752: stack buffer overflow in the
evaluate()function ofeditors/awk.c(bsc#1271544). - CVE-2026-38753: use-after-free in the
awk_sub()function ofeditors/awk.c(bsc#1271545). - CVE-2026-38754: heap buffer overflow in
ifsbreakup()function ofshell/ash.c(bsc#1271547). - CVE-2026-38755: heap buffer overflow in
evalcommand()function ofshell/ash.c(bsc#1271548).
- Record
SUSE-SU-2026:23446-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:24154-1 No score
Security update for busybox
This update for busybox fixes the following issues:
- CVE-2023-42366: heap-buffer-overflow in the next_token function (bsc#1217586).
- CVE-2026-38752: Denial of Service via crafted AWK script (bsc#1271544).
- CVE-2026-38753: use-after-free in awk_sub() (bsc#1271545).
- CVE-2026-38754: heap overflow in ifsbreakup() (bsc#1271547).
- CVE-2026-38755: heap overflow in evalcommand() (bsc#1271548).
- Record
SUSE-SU-2026:24154-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:3900-1 No score
Security update for busybox
This update for busybox fixes the following issues:
- CVE-2023-42366: heap buffer overflow in the
next_tokenfunction ofeditors/awk.c(bsc#1217586). - CVE-2026-38752: stack buffer overflow in the
evaluate()function ofeditors/awk.c(bsc#1271544). - CVE-2026-38753: use-after-free in the
awk_sub()function ofeditors/awk.c(bsc#1271545). - CVE-2026-38754: heap buffer overflow in
ifsbreakup()function ofshell/ash.c(bsc#1271547). - CVE-2026-38755: heap buffer overflow in
evalcommand()function ofshell/ash.c(bsc#1271548).
- Record
SUSE-SU-2026:3900-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:3933-1 No score
Security update for busybox
This update for busybox fixes the following issues:
- CVE-2023-42366: heap buffer overflow in the
next_tokenfunction ofeditors/awk.c(bsc#1217586). - CVE-2026-38752: stack buffer overflow in the
evaluate()function ofeditors/awk.c(bsc#1271544). - CVE-2026-38753: use-after-free in the
awk_sub()function ofeditors/awk.c(bsc#1271545). - CVE-2026-38754: heap buffer overflow in
ifsbreakup()function ofshell/ash.c(bsc#1271547). - CVE-2026-38755: heap buffer overflow in
evalcommand()function ofshell/ash.c(bsc#1271548).
- Record
SUSE-SU-2026:3933-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
busyboxAlpine:v3.16 |
before 1.35.0-r18 | 1.35.0-r18 |
busyboxAlpine:v3.17 |
before 1.35.0-r30 | 1.35.0-r30 |
busyboxAlpine:v3.18 |
before 1.36.1-r6 | 1.36.1-r6 |
busyboxAlpine:v3.19 |
before 1.36.1-r16 | 1.36.1-r16 |
busyboxAlpine:v3.20 |
before 1.36.1-r25 | 1.36.1-r25 |
busyboxAlpine:v3.21 |
before 1.36.1-r25 | 1.36.1-r25 |
busyboxAlpine:v3.22 |
before 1.36.1-r25 | 1.36.1-r25 |
busyboxAlpine:v3.23 |
before 1.36.1-r25 | 1.36.1-r25 |
busyboxAlpine:v3.24 |
before 1.36.1-r25 | 1.36.1-r25 |
busyboxAzure Linux:2 |
before 1.35.0-12 | 1.35.0-12 |
Show 29 moreShow less
| Package | Affected | Fixed |
|---|---|---|
busyboxAzure Linux:3 |
before 1.36.1-9 | 1.36.1-9 |
busyboxAlpaquita:23 |
1.35.0-r29 up to 1.35.0-r31 | 1.35.0-r31 |
busyboxAlpaquita:stream |
1.36.1-r16 up to 1.36.1-r26 | 1.36.1-r26 |
busyboxBellSoft Hardened Containers:23 |
1.35.0-r29 up to 1.35.0-r31 | 1.35.0-r31 |
busyboxBellSoft Hardened Containers:stream |
1.36.1-r16 up to 1.36.1-r26 | 1.36.1-r26 |
busyboxDebian:12 |
All versions, plus listed versions 1:1.35.0-41:1.35.0-4+deb12u11:1.36.0-1~exp11:1.36.1-11:1.36.1-2 Show 23 moreShow less1:1.36.1-31:1.36.1-3.11:1.36.1-41:1.36.1-51:1.36.1-61:1.36.1-6~exp.11:1.36.1-71:1.36.1-81:1.36.1-91:1.37.0-11:1.37.0-101:1.37.0-10.11:1.37.0-21:1.37.0-31:1.37.0-41:1.37.0-51:1.37.0-61:1.37.0-71:1.37.0-81:1.37.0-91:1.38.0-11:1.38.0-21:1.38.0-3 |
None known |
busyboxDebian:13 |
All versions, plus listed versions 1:1.37.0-101:1.37.0-10.11:1.37.0-61:1.37.0-71:1.37.0-8 Show 4 moreShow less1:1.37.0-91:1.38.0-11:1.38.0-21:1.38.0-3 |
None known |
busyboxDebian:14 |
before 1:1.37.0-8, plus listed versions 1:1.37.0-61:1.37.0-7 |
1:1.37.0-8 |
busyboxopenEuler:22.03-LTS-SP1 From an advisory covering 4 CVEs |
before 1.34.1-20.oe2203sp1 | 1.34.1-20.oe2203sp1 |
busyboxopenEuler:20.03-LTS-SP4 |
before 1.31.1-22.oe2003sp4 | 1.31.1-22.oe2003sp4 |
busyboxopenEuler:22.03-LTS-SP3 |
before 1.34.1-22.oe2203sp3 | 1.34.1-22.oe2203sp3 |
busyboxopenEuler:24.03-LTS From an advisory covering 3 CVEs |
before 1.36.1-8.oe2403 | 1.36.1-8.oe2403 |
busyboxopenEuler:22.03-LTS-SP4 From an advisory covering 3 CVEs |
before 1.34.1-23.oe2203sp4 | 1.34.1-23.oe2203sp4 |
busyboxSUSE:Linux Micro 6.0 From an advisory covering 5 CVEs |
before 1.36.1-5.1 | 1.36.1-5.1 |
busyboxSUSE:Linux Enterprise Server 16.0 From an advisory covering 5 CVEs |
before 1.37.0-160000.7.1 | 1.37.0-160000.7.1 |
busyboxSUSE:Linux Enterprise Server for SAP applications 16.0 From an advisory covering 5 CVEs |
before 1.37.0-160000.7.1 | 1.37.0-160000.7.1 |
busyboxSUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 From an advisory covering 5 CVEs |
before 1.35.0-10.9.1 | 1.35.0-10.9.1 |
busyboxSUSE:Linux Enterprise Module for Basesystem 15 SP7 From an advisory covering 5 CVEs |
before 1.37.0-150700.18.21.1 | 1.37.0-150700.18.21.1 |
busyboxUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 1:1.20.0-8.1ubuntu11:1.20.0-9ubuntu11:1.20.0-9ubuntu21:1.21.0-1ubuntu11:1.21.0-1ubuntu1.41:1.21.0-1ubuntu1.4+esm1 |
None known |
busyboxUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1:1.22.0-15ubuntu11:1.22.0-15ubuntu1.41:1.22.0-15ubuntu1.4+esm11:1.22.0-15ubuntu1.4+esm2 |
None known |
busyboxUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 1:1.22.0-19ubuntu21:1.27.2-1ubuntu31:1.27.2-1ubuntu41:1.27.2-2ubuntu21:1.27.2-2ubuntu3 Show 5 moreShow less1:1.27.2-2ubuntu3.11:1.27.2-2ubuntu3.21:1.27.2-2ubuntu3.31:1.27.2-2ubuntu3.41:1.27.2-2ubuntu3.4+esm1 |
None known |
busyboxUbuntu:20.04:LTS |
All versions, plus listed versions 1:1.30.1-4ubuntu41:1.30.1-4ubuntu51:1.30.1-4ubuntu61:1.30.1-4ubuntu6.11:1.30.1-4ubuntu6.21:1.30.1-4ubuntu6.31:1.30.1-4ubuntu6.41:1.30.1-4ubuntu6.5 |
None known |
busyboxUbuntu:22.04:LTS |
All versions, plus listed versions 1:1.30.1-6ubuntu31:1.30.1-7ubuntu11:1.30.1-7ubuntu21:1.30.1-7ubuntu31:1.30.1-7ubuntu3.1 |
None known |
busyboxUbuntu:24.04:LTS |
All versions, plus listed versions 1:1.36.1-3ubuntu11:1.36.1-6ubuntu11:1.36.1-6ubuntu31:1.36.1-6ubuntu3.1 |
None known |
busyboxUbuntu:25.10 |
All versions, plus listed versions 1:1.37.0-4ubuntu1 |
None known |
busyboxUbuntu:26.10 |
All versions, plus listed versions 1:1.37.0-7ubuntu11:1.37.0-10.1ubuntu21:1.37.0-10.1ubuntu31:1.38.0-3ubuntu11:1.38.0-3ubuntu31:1.38.0-3ubuntu4 |
None known |
busyboxUbuntu:26.04:LTS |
All versions, plus listed versions 1:1.37.0-4ubuntu11:1.37.0-7ubuntu1 |
None known |
busyboxopenSUSE:Tumbleweed From an advisory covering 5 CVEs |
before 1.38.0-2.1 | 1.38.0-2.1 |
busyboxopenSUSE:Leap 16.0 From an advisory covering 5 CVEs |
before 1.37.0-160000.7.1 | 1.37.0-160000.7.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-42366 is a medium vulnerability (CVSS 5.5) in Busybox, published November 27, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.42%, the 36th percentile. Fixed in busybox 1.35.0-r18.
References
bugs.busybox.net/show_bug.cgi?id=15874
security.netapp.com/advisory/ntap-20241206-0007
nvd.nist.gov/vuln/detail/CVE-2023-42366
github.com/advisories/GHSA-2vjj-r39q-gvxr
security.alpinelinux.org/vuln/CVE-2023-42366
docs.bell-sw.com/security/cves/CVE-2023-42366
Show 27 moreShow less
docs.bell-sw.com/security/advisories/BELL-SA-2024-41
github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42366.json
security-tracker.debian.org/tracker/CVE-2023-42366
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1740
nvd.nist.gov/vuln/detail/CVE-2023-42363
nvd.nist.gov/vuln/detail/CVE-2023-42364
nvd.nist.gov/vuln/detail/CVE-2023-42365
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2024-2127
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2024-2128
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2024-2438
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2024-2439
suse.com/support/update/announcement/2026/suse-su-202623446-1
bugzilla.suse.com/1217586
bugzilla.suse.com/1271544
bugzilla.suse.com/1271545
bugzilla.suse.com/1271547
bugzilla.suse.com/1271548
suse.com/security/cve/CVE-2023-42366
suse.com/security/cve/CVE-2026-38752
suse.com/security/cve/CVE-2026-38753
suse.com/security/cve/CVE-2026-38754
suse.com/security/cve/CVE-2026-38755
suse.com/support/update/announcement/2026/suse-su-202624154-1
suse.com/support/update/announcement/2026/suse-su-20263900-1
suse.com/support/update/announcement/2026/suse-su-20263933-1
ubuntu.com/security/CVE-2023-42366
cve.org/CVERecord?id=CVE-2023-42366