# CVE-2021-3997

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-08-23 · Modified: 2026-11-02
- Aliases: MGASA-2022-0016, SUSE-SU-2022:0043-1, SUSE-SU-2022:0539-1, openSUSE-SU-2022:0043-1, UBUNTU-CVE-2021-3997, USN-5226-1, DEBIAN-CVE-2021-3997, openSUSE-SU-2022:0539-1, openSUSE-SU-2024:11731-1
- Record: https://cvemate.com/vulnerability/CVE-2021-3997 · JSON: https://cvemate.com/vulnerability/CVE-2021-3997/json

## Description

```text
A flaw was found in systemd. An uncontrolled recursion in systemd-tmpfiles may lead to a denial of service at boot time when too many nested directories are created in /tmp.
```

## Signals

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

## Affected

- debian systemd (Debian): \< 250.2-1
- ubuntu systemd (Ubuntu): All versions (No fix recorded) \| \< 245.4-4ubuntu3.15
- fedoraproject fedora: 34 \| 35
- mageia systemd (Mageia): \< 246.16-2.mga8
- redhat enterprise\_linux: 7.0 \| 8.0 \| 9.0
- opensuse htmldoc&distro=openSUSE Leap 15.3 (openSUSE): \< 1.9.12-bp153.2.6.1
- opensuse systemd&distro=openSUSE Leap 15.3 (openSUSE): \< 246.16-7.33.1 \| \< 246.16-150300.7.39.1
- opensuse systemd&distro=openSUSE Tumbleweed (openSUSE): \< 249.7-3.1
- suse htmldoc&distro=SUSE Package Hub 15 SP3 (SUSE Linux Enterprise): \< 1.9.12-bp153.2.6.1
- suse systemd&distro=SUSE Linux Enterprise Micro 5.1 (SUSE Linux Enterprise): \< 246.16-7.33.1 \| \< 246.16-150300.7.39.1
- suse systemd&distro=SUSE Linux Enterprise Module for Basesystem 15 SP3 (SUSE Linux Enterprise): \< 246.16-7.33.1 \| \< 246.16-150300.7.39.1
- systemd\_project systemd: ≥ 240, \< 250.2

## References (first 20 of 24)

- <https://bugzilla.redhat.com/show_bug.cgi?id=2024639>
- <https://www.openwall.com/lists/oss-security/2022/01/10/2>
- <https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1>
- <https://access.redhat.com/security/cve/CVE-2021-3997>
- <https://security.gentoo.org/glsa/202305-15>
- <https://advisories.mageia.org/MGASA-2022-0016.html>
- <https://bugs.mageia.org/show_bug.cgi?id=29864>
- <https://vulners.com/redhatcve/RH:CVE-2021-3997>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/BMN5QRPEKDGOKDHBMC6SXHPA733I43MV/>
- <https://ubuntu.com/security/notices/USN-5226-1>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20220043-1/>
- <https://bugzilla.suse.com/1178561>
- <https://bugzilla.suse.com/1190515>
- <https://bugzilla.suse.com/1194178>
- <https://www.suse.com/security/cve/CVE-2021-3997>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20220539-1/>
- <https://bugzilla.suse.com/1191826>
- <https://bugzilla.suse.com/1192637>
- <https://ubuntu.com/security/CVE-2021-3997>
- <https://www.cve.org/CVERecord?id=CVE-2021-3997>

---

Data as of 2026-12-05T05:32:29.030Z. 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
