cve.bz

CVE-2021-28831

7.5 highEPSS 2.7%Fix available

High (7.5). EPSS 2.7% estimated probability of exploitation activity in the next 30 days.

On this page
decompress_gunzip.c in BusyBox through 1.32.1 mishandles the error bit on the huft_build result pointer, with a resultant invalid free or segmentation fault, via malformed gzip data.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.7% (unchanged from 2.7% a week ago; 2.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-12-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-755 Improper Handling of Exceptional Conditions
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-28831 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-28831?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-28831?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-28831 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
busybox:busyboxfrom 1.32.0 through 1.32.1
fedoraproject:fedora32
fedoraproject:fedora33
fedoraproject:fedora34
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9busybox1:1.22.0-19+deb9u2DLA-2614-1
Debian11busybox1:1.30.1-6+deb11u1DLA-4019-1
Debian12, 13, 14busybox1:1.35.0-1DEBIAN-CVE-2021-28831
Ubuntu18.04:LTSbusybox1:1.27.2-2ubuntu3.4UBUNTU-CVE-2021-28831 USN-5179-1
Ubuntu20.04:LTSbusybox1:1.30.1-4ubuntu6.4UBUNTU-CVE-2021-28831 USN-5179-1
Ubuntu22.04:LTSbusybox1:1.30.1-7ubuntu2UBUNTU-CVE-2021-28831
UbuntuPro:14.04:LTSbusybox1:1.21.0-1ubuntu1.4+esm1UBUNTU-CVE-2021-28831 USN-6335-1
UbuntuPro:16.04:LTSbusybox1:1.22.0-15ubuntu1.4+esm1UBUNTU-CVE-2021-28831 USN-5179-2 USN-6335-1
UbuntuPro:18.04:LTSbusybox1:1.27.2-2ubuntu3.4+esm1USN-6335-1
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 17 morebusybox1.34.1-4.9.1SUSE-SU-2022:0135-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 5 morebusybox, busybox-static1.26.2-4.5.1SUSE-SU-2021:3531-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morebusybox1.26.2-4.5.1SUSE-SU-2021:3531-1
SUSELinux Enterprise Module for Basesystem 15 SP4busybox1.35.0-150400.3.3.1SUSE-SU-2022:3959-1
SUSELinux Enterprise Real Time 15 SP2busybox1.34.1-4.9.1SUSE-SU-2022:0135-2
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 5 morebusybox1.35.0-4.3.1SUSE-SU-2022:4253-1
openSUSELeap 15.2busybox, busybox-static1.26.2-lp152.5.3.1openSUSE-SU-2021:1408-1
openSUSELeap 15.3busybox1.34.1-4.9.1openSUSE-SU-2022:0135-1
openSUSELeap 15.3busybox, busybox-static1.26.2-4.5.1openSUSE-SU-2021:3531-1
openSUSELeap 15.3virtualbox6.1.34-lp153.2.27.2openSUSE-SU-2022:0135-1
openSUSELeap 15.3virtualbox-kmp6.1.34-lp153.2.27.1openSUSE-SU-2022:0135-1
openSUSELeap 15.4busybox1.35.0-150400.3.3.1SUSE-SU-2022:3959-1
openSUSETumbleweedbusybox1.35.0-1.1openSUSE-SU-2024:11738-1
Alpinev3.10busybox1.30.1-r5ALPINE-CVE-2021-28831
Alpinev3.11busybox1.31.1-r10ALPINE-CVE-2021-28831
Alpinev3.12busybox1.31.1-r20ALPINE-CVE-2021-28831
Alpinev3.13busybox1.32.1-r4ALPINE-CVE-2021-28831
Alpinev3.14, v3.15, v3.16 and 8 morebusybox1.33.0-r5ALPINE-CVE-2021-28831
Azure Linux2busybox1.32.0-2AZL-6342

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Support for gunzip was introduced in busybox-1.20, therefore version of busybox shipped with Red Hat Enterprise Linux 6 is not affected by this flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6busyboxNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-28831.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-166-10Siemens SIMATIC S7-1500 TM MFP BIOS2023-06-13MultipleSIMATIC S7-1500 TM MFP - BIOSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON