cve.bz

CVE-2021-38604 NULL Pointer Dereference

7.5 highExploit referenceEPSS 3.7%Fix available

High (7.5). EPSS 3.7% estimated probability of exploitation activity in the next 30 days.

On this page
In librt in the GNU C Library (aka glibc) through 2.34, sysdeps/unix/sysv/linux/mq_notify.c mishandles certain NOTIFY_REMOVED data, leading to a NULL pointer dereference. NOTE: this vulnerability was introduced as a side effect of the CVE-2021-33574 fix.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.7% (unchanged from 3.7% a week ago; 3.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-05-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-38604 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-38604?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-38604?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-38604 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2021-38604

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-38604](https://cve.bz/cve/badge/CVE-2021-38604.svg)](https://cve.bz/cve/CVE-2021-38604)

HTML:

<a href="https://cve.bz/cve/CVE-2021-38604"><img src="https://cve.bz/cve/badge/CVE-2021-38604.svg" alt="CVE-2021-38604"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:glibcthrough 2.34
fedoraproject:fedora35
oracle:communications_cloud_native_core_binding_support_function22.1.3
oracle:communications_cloud_native_core_network_function_cloud_native_environment22.1.0
oracle:communications_cloud_native_core_network_repository_function22.1.2
oracle:communications_cloud_native_core_network_repository_function22.2.0
oracle:communications_cloud_native_core_security_edge_protection_proxy22.1.1
oracle:communications_cloud_native_core_unified_data_repository22.2.0
oracle:enterprise_operations_monitor4.3
oracle:enterprise_operations_monitor4.4
oracle:enterprise_operations_monitor5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Azure Linux2glibc2.35-1AZL-6442

From the distributions' data via OSV.dev: Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability was introduced as a side effect of the fix for CVE-2021-33574. No version of Red Hat Enterprise Linux included the version of the fix for CVE-2021-33574 introducing this issue and are therefore not affected by this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6compat-glibcNot affected
Red Hat Enterprise Linux 6glibcNot affected
Red Hat Enterprise Linux 7compat-glibcNot affected
Red Hat Enterprise Linux 7glibcNot affected
Red Hat Enterprise Linux 8glibcNot affected
Red Hat Enterprise Linux 9glibcNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-38604.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-23-166-10Siemens SIMATIC S7-1500 TM MFP BIOS2023-06-13MultipleSIMATIC S7-1500 TM MFP - BIOSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON