Home / Red Hat / Red Hat Enterprise Linux 10 / CVE-2026-140038
CVE-2026-140038: is it exploited, and which versions of Red Hat Enterprise Linux 10 are affected and fixed?
CVE-2026-140038 is an insecure temporary file vulnerability in Red Hat Enterprise Linux 10. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: Red Hat Enterprise Linux 10 all versions (the record names no range), Red Hat Enterprise Linux 6 all versions (the record names no range), Red Hat Enterprise Linux 7 all versions (the record names no range) and 5 more (CVE record by redhat). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.1, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record December 1, 2026, 14:04 UTC and NVD December 1, 2026, 15:09 UTC.
What is CVE-2026-140038?
Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber
A flaw was found in the gprofng component of binutils. The utility creates temporary directories in shared locations using predictable names based on user and process identifiers without verifying whether the directory already exists. A local attacker can exploit this flaw by pre-creating the expected directory and placing symbolic links inside it, causing a victim's process to overwrite or truncate arbitrary files writable by that victim.
From the CVE record by redhat, last updated December 1, 2026, 13:53 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 binutils | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 10 gcc-toolset-15-binutils | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 10 gcc-toolset-16-binutils | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 10 gdb | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 10 mingw-binutils | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 6 binutils | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 7 binutils | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 7 gdb | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 8 binutils | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 8 gcc-toolset-15-binutils | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 8 gcc-toolset-15-gdb | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 8 gcc-toolset-16-binutils | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 8 gcc-toolset-16-gdb | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 8 gdb | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 8 mingw-binutils | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 9 binutils | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 9 gcc-toolset-15-binutils | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 9 gcc-toolset-16-binutils | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 9 gdb | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 9 mingw-binutils | all versions (the record names no range) | |
| Red Hat | Red Hat Hardened Images binutils | all versions (the record names no range) | |
| Red Hat | Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8 | all versions (the record names no range) | |
| Red Hat | Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-9 | all versions (the record names no range) | |
| Red Hat | Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-10 | all versions (the record names no range) | |
| Red Hat | Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9 | all versions (the record names no range) |
As the CVE record by redhat states it, last updated December 1, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-140038?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-140038 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 1, 2026)
- EPSS
- 0.24% probability of exploitation activity in the next 30 days, percentile 16.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-377 insecure temporary file
Is there a workaround? (from the CVE record)
Isolate execution environments to prevent shared temporary file access, or restrict profiling activities on shared hosts: 1. Execute gprofng workflows within an isolated container (such as via Podman) or a dedicated mount namespace with a private /tmp filesystem, preventing other local users from pre-creating predictable temporary paths. 2. Avoid running gprofng analysis sessions on multi-user systems where untrusted local accounts have access to the shared /tmp directory. Caveats: Running profiling tools inside an isolated container or private namespace may restrict visibility into processes or hardware performance counters on the host system without granting additional container capabilities.
Where are the vendor advisories and references?
- https://access.redhat.com/security/cve/CVE-2026-140038 vdb-entry, x_refsource_REDHAT
- RHBZ#2465392 issue-tracking, x_refsource_REDHAT
Who found and reported it?
- This issue was discovered by Found by AISLE in partnership with Red Hat. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 30, 2026
- Published
- December 1, 2026, 02:09 UTC
- CVE record updated
- December 1, 2026, 13:53 UTC by redhat
- NVD
- Awaiting Analysis, last modified December 1, 2026, 14:18 UTC
- Last checked
- CVE list December 1, 2026, 14:04 UTC; NVD December 1, 2026, 15:09 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat Enterprise Linux 10?
- Dec 3, 2026CVE-2026-121847 Red Hat Directory Server 11: incorrect authorization
- Dec 3, 2026CVE-2026-118474 Red Hat Directory Server 11: missing authorization
- Dec 3, 2026CVE-2026-102498 Red Hat Enterprise Linux 10: improper access control
- Dec 3, 2026CVE-2026-137818 Red Hat Enterprise Linux 10: denial of service (uncontrolled resource consumption)
- Dec 2, 2026CVE-2026-142107 Red Hat Enterprise Linux 10: out-of-bounds write (memory corruption)
- Dec 2, 2026CVE-2026-142105 Red Hat Enterprise Linux 10: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-15268 Red Hat Enterprise Linux 10: missing authorization
- Dec 1, 2026CVE-2026-135901 Red Hat Hardened Images: link following (a symlink lets an attacker reach other files)
Every CVE in Red Hat Enterprise Linux 10
Questions about CVE-2026-140038
Is CVE-2026-140038 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Red Hat Enterprise Linux 10 are affected by CVE-2026-140038?
Red Hat Enterprise Linux 10 all versions (the record names no range), Red Hat Enterprise Linux 6 all versions (the record names no range), Red Hat Enterprise Linux 7 all versions (the record names no range), Red Hat Enterprise Linux 8 all versions (the record names no range), Red Hat Enterprise Linux 9 all versions (the record names no range), Red Hat Hardened Images all versions (the record names no range) and 2 more, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2026-140038?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-140038?
Medium (5.1, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2026-140038?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.