# CVE-2021-37404: Heap buffer overflow in libhdfs native library

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-06-13 · Modified: 2024-08-04
- Aliases: CGA-4r66-6vff-42j4, CGA-5j2x-3f24-3jxf, GHSA-rmpj-7c96-mrg8, CGA-qw7f-4rw5-j732, CGA-wx96-vq2q-hcjv
- Record: https://cvemate.com/vulnerability/CVE-2021-37404 · JSON: https://cvemate.com/vulnerability/CVE-2021-37404/json

## Description

```text
There is a potential heap buffer overflow in Apache Hadoop libhdfs native code. Opening a file path provided by user without validation may result in a denial of service or arbitrary code execution. Users should upgrade to Apache Hadoop 2.10.2, 3.2.3, 3.3.2 or higher.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.108%, percentile 88.198%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache hadoop: 2.9.0 to 2.10.1 \| 3.0.0 to 3.1.4 \| 3.2.0 to 3.2.2 \| 3.3.0 to 3.3.1
- apache hadoop: ≥ 2.9.0, \< 2.10.2 \| ≥ 3.0.0, ≤ 3.1.4 \| ≥ 3.2.0, \< 3.2.3 \| ≥ 3.3.0, \< 3.3.2
- chainguard hadoop-fips-3.3.6 (Chainguard): All versions (No fix recorded)
- org.apache.hadoop hadoop-common (Maven): ≥ 3.3.0, \< 3.3.2 \| ≥ 3.0.0, \< 3.2.3 \| \< 2.10.2

## References

- <https://lists.apache.org/thread/2h56ztcj3ojc66qzf1nno88vjw9vd4wo>
- <https://security.netapp.com/advisory/ntap-20220715-0007/>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-37404>
- <https://github.com/apache/hadoop>
- <https://security.netapp.com/advisory/ntap-20220715-0007>

---

Data as of 2026-12-05T04:20:20.001Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
