# CVE-2021-42374: An out-of-bounds heap read in Busybox's unlzma applet leads to information leak and denial of service when crafted LZMA…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.63% (percentile 44, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2021-11-15T00:00:00.000Z
- **Modified:** 2026-06-17T04:09:42.950Z

## Who should check

- Anyone running busybox \>= unspecified, \< 1.34.0

## Description

An out-of-bounds heap read in Busybox's unlzma applet leads to information leak and denial of service when crafted LZMA-compressed input is decompressed. This can be triggered by any applet/format that

## Affected and fixed versions

- busybox: \>= unspecified, \< 1.34.0 (cvelist)

## Mitigation

- Upgrade busybox to 1.34.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-42374. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-42374.md
Affected: busybox >= unspecified, < 1.34.0
Fixed in: busybox 1.34.0

Steps:
1. Search this machine and project for busybox: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-42374 being exploited?

There is no confirmed exploitation: CVE-2021-42374 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.63% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-42374?

Medium: CVSS 5.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2021-42374?

busybox \>= unspecified, \< 1.34.0.

### Is there a fix for CVE-2021-42374?

Yes. Fixed in busybox 1.34.0. Upgrade busybox to 1.34.0 or later.

### How do I check if I'm affected by CVE-2021-42374?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/>
- exploit: <https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/>
- other: <https://security.netapp.com/advisory/ntap-20211223-0002/>
- other: <https://claroty.com/team82/research/unboxing-busybox-14-vulnerabilities-uncovered-by-claroty-jfrog>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00012.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-42374>

HTML: <https://flawdb.com/CVE-2021-42374> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-42374>
