CVE-2021-42386: Use After Free

Published Nov 15, 2021
·
Updated

A use-after-free in Busybox's awk applet leads to denial of service and possibly code execution when processing a crafted awk pattern in the nvalloc function

Affected Software

4 affected componentsFixes available
debian/busybox<=1:1.30.1-6
1:1.35.0-41:1.36.1-9
BusyBox BusyBox>=1.16.0<=1.33.1
Fedoraproject Fedora=33
Fedoraproject Fedora=34

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/busybox to a version that resolves this vulnerability.

    Fixed in 1:1.35.0-4Fixed in 1:1.36.1-9

Event History

Nov 15, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
Apr 25, 2023
Data Sourced
10:15 PM
Weakness
Nov 7, 2023
Data Sourced
via NVD·03:39 AM
DescriptionSeverityWeaknessAffected Software
Updated
03:39 AM
Affected Software
Apr 23, 2025
Updated
via NVD·08:15 PM
SeverityAffected Software
Nov 3, 2025
Updated
via NVD·09:15 PM
Affected Software
Jun 17, 2026
Updated
via NVD·04:09 AM
SeverityAffected Software

Frequently Asked Questions

1

What is CVE-2021-42386?

CVE-2021-42386 is a vulnerability that exists in Busybox's awk applet and can lead to denial of service and possibly code execution.

2

How does CVE-2021-42386 work?

CVE-2021-42386 is a use-after-free vulnerability that occurs when processing a crafted awk pattern in the nvalloc function of Busybox's awk applet.

3

What is the severity of CVE-2021-42386?

The severity of CVE-2021-42386 is not specified in the provided information.

4

Which software is affected by CVE-2021-42386?

Busybox versions 1.30.1-7ubuntu2, 1.34.0, 1.27.2-2ubuntu3.4, 1.30.1-4ubuntu6.4, 1.30.1-6ubuntu2.1, 1.30.1-6ubuntu3.1, and 1.35.0-4 to 1.36.1-3.1 are affected by CVE-2021-42386.

5

How can I fix CVE-2021-42386?

Apply the recommended updates provided by the relevant software vendors (e.g., Ubuntu, Debian) to ensure you are using a fixed version of Busybox.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203