Every CVE Search/ Get API key

CVE-2023-42366

A heap-buffer-overflow was discovered in BusyBox v.1.36.1 in the next_token function at awk.c:1159.

5.5 MediumFix available

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

0.42%Up 0.4 points since Nov 28, 2023
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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_token function of editors/awk.c (bsc#1217586).
  • CVE-2026-38752: stack buffer overflow in the evaluate() function of editors/awk.c (bsc#1271544).
  • CVE-2026-38753: use-after-free in the awk_sub() function of editors/awk.c (bsc#1271545).
  • CVE-2026-38754: heap buffer overflow in ifsbreakup() function of shell/ash.c (bsc#1271547).
  • CVE-2026-38755: heap buffer overflow in evalcommand() function of shell/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_token function of editors/awk.c (bsc#1217586).
  • CVE-2026-38752: stack buffer overflow in the evaluate() function of editors/awk.c (bsc#1271544).
  • CVE-2026-38753: use-after-free in the awk_sub() function of editors/awk.c (bsc#1271545).
  • CVE-2026-38754: heap buffer overflow in ifsbreakup() function of shell/ash.c (bsc#1271547).
  • CVE-2026-38755: heap buffer overflow in evalcommand() function of shell/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_token function of editors/awk.c (bsc#1217586).
  • CVE-2026-38752: stack buffer overflow in the evaluate() function of editors/awk.c (bsc#1271544).
  • CVE-2026-38753: use-after-free in the awk_sub() function of editors/awk.c (bsc#1271545).
  • CVE-2026-38754: heap buffer overflow in ifsbreakup() function of shell/ash.c (bsc#1271547).
  • CVE-2026-38755: heap buffer overflow in evalcommand() function of shell/ash.c (bsc#1271548).
Record
SUSE-SU-2026:3933-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
busybox
Alpine:v3.16
before 1.35.0-r18
1.35.0-r18
busybox
Alpine:v3.17
before 1.35.0-r30
1.35.0-r30
busybox
Alpine:v3.18
before 1.36.1-r6
1.36.1-r6
busybox
Alpine:v3.19
before 1.36.1-r16
1.36.1-r16
busybox
Alpine:v3.20
before 1.36.1-r25
1.36.1-r25
busybox
Alpine:v3.21
before 1.36.1-r25
1.36.1-r25
busybox
Alpine:v3.22
before 1.36.1-r25
1.36.1-r25
busybox
Alpine:v3.23
before 1.36.1-r25
1.36.1-r25
busybox
Alpine:v3.24
before 1.36.1-r25
1.36.1-r25
busybox
Azure Linux:2
before 1.35.0-12
1.35.0-12
Show 29 moreShow less
Affected packages
PackageAffectedFixed
busybox
Azure Linux:3
before 1.36.1-9
1.36.1-9
busybox
Alpaquita:23
1.35.0-r29 up to 1.35.0-r31
1.35.0-r31
busybox
Alpaquita:stream
1.36.1-r16 up to 1.36.1-r26
1.36.1-r26
busybox
BellSoft Hardened Containers:23
1.35.0-r29 up to 1.35.0-r31
1.35.0-r31
busybox
BellSoft Hardened Containers:stream
1.36.1-r16 up to 1.36.1-r26
1.36.1-r26
busybox
Debian: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 less
1: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
busybox
Debian: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 less
1:1.37.0-91:1.38.0-11:1.38.0-21:1.38.0-3
None known
busybox
Debian:14
before 1:1.37.0-8, plus listed versions
1:1.37.0-61:1.37.0-7
1:1.37.0-8
busybox
openEuler:22.03-LTS-SP1
From an advisory covering 4 CVEs
before 1.34.1-20.oe2203sp1
1.34.1-20.oe2203sp1
busybox
openEuler:20.03-LTS-SP4
before 1.31.1-22.oe2003sp4
1.31.1-22.oe2003sp4
busybox
openEuler:22.03-LTS-SP3
before 1.34.1-22.oe2203sp3
1.34.1-22.oe2203sp3
busybox
openEuler:24.03-LTS
From an advisory covering 3 CVEs
before 1.36.1-8.oe2403
1.36.1-8.oe2403
busybox
openEuler:22.03-LTS-SP4
From an advisory covering 3 CVEs
before 1.34.1-23.oe2203sp4
1.34.1-23.oe2203sp4
busybox
SUSE:Linux Micro 6.0
From an advisory covering 5 CVEs
before 1.36.1-5.1
1.36.1-5.1
busybox
SUSE:Linux Enterprise Server 16.0
From an advisory covering 5 CVEs
before 1.37.0-160000.7.1
1.37.0-160000.7.1
busybox
SUSE: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
busybox
SUSE: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
busybox
SUSE: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
busybox
Ubuntu: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
busybox
Ubuntu: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
busybox
Ubuntu: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 less
1: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
busybox
Ubuntu: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
busybox
Ubuntu: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
busybox
Ubuntu: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
busybox
Ubuntu:25.10
All versions, plus listed versions
1:1.37.0-4ubuntu1
None known
busybox
Ubuntu: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
busybox
Ubuntu:26.04:LTS
All versions, plus listed versions
1:1.37.0-4ubuntu11:1.37.0-7ubuntu1
None known
busybox
openSUSE:Tumbleweed
From an advisory covering 5 CVEs
before 1.38.0-2.1
1.38.0-2.1
busybox
openSUSE:Leap 16.0
From an advisory covering 5 CVEs
before 1.37.0-160000.7.1
1.37.0-160000.7.1

History

History
RecordedChangedSources
affected
factsOSV
first indexedCVE 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

Show 27 moreShow less
MoveEnter Open