Skip to main content
VulnerabilityPublished

CVE-2026-140038: Red Hat Enterprise Linux 10 · Insecure Temporary File

Affects Red Hat Enterprise Linux 10Source CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.1 Medium.

Data as of 1 Dec 2026, 02:33 UTC

CVSS 3.1 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.15.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Red Hat Enterprise Linux 10binutilsAffected–Fixed in–
Red Hat Enterprise Linux 10gcc-toolset-15-binutilsAffected–Fixed in–
Red Hat Enterprise Linux 10gcc-toolset-16-binutilsAffected–Fixed in–
Red Hat Enterprise Linux 10gdbAffected–Fixed in–
Red Hat Enterprise Linux 10mingw-binutilsAffected–Fixed in–
Red Hat Enterprise Linux 6binutilsAffected–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.

References

Community reviews

Loading reviews…