High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-3998
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:18 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-3998
Complete source record
{
"id": "f0891e102e855bac6f29fb0a7f036826f90afccb37d5eee0b968b896479f4b11",
"url": "https://osv.dev/vulnerability/CVE-2021-3998",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-3998",
"summary": "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.",
"evidence": "osv:CVE-2021-3998",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-3998",
"aliases": [
"CVE-2021-3998"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/bminor/glibc",
"type": "GIT",
"events": [
{
"introduced": "9826b03b747b841f5fc6de2054bf1ef3f5c4bdf3"
},
{
"fixed": "f94f6d8a3572840d3ba42ab9ace3ea522c99c0c2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.33"
},
{
"fixed": "2.35"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"glibc-2.34",
"glibc-2.34.9000",
"glibc-2.33",
"glibc-2.33.9000"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3998.json"
}
},
{
"ranges": [
{
"repo": "https://sourceware.org/git/glibc.git",
"type": "GIT",
"events": [
{
"introduced": "9826b03b747b841f5fc6de2054bf1ef3f5c4bdf3"
},
{
"fixed": "f94f6d8a3572840d3ba42ab9ace3ea522c99c0c2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.33"
},
{
"fixed": "2.35"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"glibc-2.34",
"glibc-2.34.9000",
"glibc-2.33",
"glibc-2.33.9000"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3998.json"
}
}
],
"modified": "2026-10-24T10:30:16.972449179Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
"https://cert-portal.siemens.com/productcert/html/ssa-831302.html",
"https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=84d2d0fe20bdf94feed82b21b4d7d136db471f03",
"https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=ee8d5e33adb284601c00c94687bc907e10aec9bb",
"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/",
"https://bugzilla.redhat.com/show_bug.cgi?id=2024633",
"https://sourceware.org/bugzilla/show_bug.cgi?id=28770",
"https://www.openwall.com/lists/oss-security/2022/01/24/4"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-3998",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 429454,
"published_at": "2022-08-24T16:15:09.01+00:00"
}