CVE-2026-140038: Red Hat Enterprise Linux 10 · Insecure Temporary File
Affects Red Hat Enterprise Linux 10Source CVE Database V5
Not known to be exploited · CVSS 5.1 Medium.
Data as of 1 Dec 2026, 02:33 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 5.1 |
|---|
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 10binutils | Affected– | Fixed in– |
| Red Hat Enterprise Linux 10gcc-toolset-15-binutils | Affected– | Fixed in– |
| Red Hat Enterprise Linux 10gcc-toolset-16-binutils | Affected– | Fixed in– |
| Red Hat Enterprise Linux 10gdb | Affected– | Fixed in– |
| Red Hat Enterprise Linux 10mingw-binutils | Affected– | Fixed in– |
| Red Hat Enterprise Linux 6binutils | Affected– | Fixed in– |
AI-suggested
Red Hat advises isolating gprofng execution environments to prevent shared temporary file access. This can be done by running gprofng workflows inside isolated containers (e.g., Podman) or dedicated mount namespaces with private /tmp filesystems. Additionally, avoid running gprofng profiling sessions on multi-user systems where untrusted local users have access to shared /tmp directories. These mitigations prevent attackers from pre-creating predictable temporary directories.
Description
CVE-2026-140038 is a moderate severity vulnerability in the gprofng component of binutils on Red Hat Enterprise Linux 10. The flaw involves the creation of temporary directories in shared locations with predictable names without verifying their existence. A local attacker can exploit this by pre-creating these directories and placing symbolic links to cause arbitrary file overwrite or truncation by the victim process. Exploitation requires local access and precise process ID prediction, limiting impact to files writable by the victim user without privilege escalation. The vulnerability does not allow remote compromise or direct administrative privilege escalation. Mitigations include isolating execution environments or avoiding profiling on multi-user systems with shared /tmp directories.