CVE-2021-38604
No exploitation reported by the sources we read.
- Published2021-08-12
- WeaknessCWE-476
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2021-08-1216:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.3 | = 4.3 | no fix published | NVD |
| 4.4 | = 4.4 | no fix published | NVD |
| 5.0 | = 5.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 22.1 | = 22.1.2 | no fix published | NVD |
| 22.2 | = 22.2.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 35.x | = 35 | no fix published | NVD |
5 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- glibcTuxCare:OracleLinux:6all versions · fixed in 2.12-2.213.el6.cloudlinux.elsand 6 other packages
- glibcTuxCare:CentOS:6all versions · fixed in 2.12-2.213.el6.cloudlinux.elsand 6 other packages
- glibcopenEuler:20.03-LTS-SP2all versions · fixed in 2.28-77.oe1
- glibcopenEuler:20.03-LTS-SP1all versions · fixed in 2.28-77.oe1
- glibcMageia:8all versions · fixed in 2.32-18.mga8
- glibcAzure Linux:2all versions · fixed in 2.35-1
- glibc-2.34MinimOSall versions · fixed in 0and 16 other packages
- libc6TuxCare:Ubuntu:16.04all versions · fixed in 2.23-0ubuntu11.4and 14 other packages
Vendor advisories
- CVE-2021-38604 Red Hat Product Security
glibc: NULL pointer dereference in helper_thread() in mq_notify.c while handling NOTIFY_REMOVED messages
Siemens SIMATIC S7-1500
SIMATIC 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) · +2 more
SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more
Siemens SIMATIC S7-1500 TM MFP BIOS
SIMATIC S7-1500 TM MFP - BIOS
SSA-831302: Vulnerabilities in the BIOS of the SIMATIC S7-1500 TM MFP before V1.3.0
SIMATIC S7-1500 TM MFP - BIOS
Fix
- Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
- Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
- Vendor fix Siemens ProductCERT SSA-831302 · 1 productUpdate to V1.3.0 or later version
- Vendor fix CISA ICSA-23-166-10 · 1 productUpdate to V1.3.0 or later version
- Workaround from the vendor Siemens ProductCERT SSA-831302 · 1 productOnly build and run applications from trusted sources
- Workaround from the vendor CISA ICSA-23-166-10 · 1 productOnly build and run applications from trusted sources
Advisories and patches
- sourceware.orgPatch
- www.oracle.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2025-05-30
- CISA-ADPCVSS 3.17.52025-05-30
- NVDCVSS 3.17.5read 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- CISA-ADPweakness (CWE)CWE-4762025-05-30
- NVDweakness (CWE)CWE-476read 2026-10-23
- FIRST EPSSEPSS score3.7 %2026-11-09
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-6442same flawAzure Linux · MIT
- EUVD-2021-25044same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-p3v7-wjmc-7fh8same flawGitHub Advisory Database · CC-BY-4.0
- MINI-2x36-mg47-wp3psame flawMinimOS · LicenseRef-unstated
- MGASA-2021-0404advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2021-1328advisory covering several CVEsopenEuler · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2021-08-12
- Last Modified
- 2026-10-14
- NVD status
- Modified
- GitHub Advisory
- GHSA-p3v7-wjmc-7fh8
Frequently asked questions
What is CVE-2021-38604?
Is CVE-2021-38604 actively exploited?
What is the CVSS score for CVE-2021-38604?
Running glibc? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-p3v7-wjmc-7fh8
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0