Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber

5.1MEDIUM

CVE-2026-140038

Key Information:

Vendor

Red Hat

CVE ID
CVE ID:
CVE-2026-140038
Vendor
CVE Published:
1 December 2026

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • No: Needs local access
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Why it's rated "Monitor"
  • Its CVSS severity is medium (5.1).

What is CVE-2026-140038?

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.

References

Authentication Bypass in FreeIPA Samba Backend

CVE-2026-108122
Red HatRed Hat Enterprise Lin...9.8CRITICAL

Client Management Flaw in Keycloak Server by Red Hat

CVE-2026-120984
Red HatRed Hat Build Of Keycl...πŸ˜„9.1CRITICAL

Arbitrary Command Execution Vulnerability in Ghostscript Software

CVE-2026-101258
Red HatRed Hat Enterprise Lin...7.8HIGH
View more Red Hat vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
5.1
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Credit

This issue was discovered by Found by AISLE in partnership with Red Hat.
.