Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber
CVE-2026-140038
Key Information:
- Vendor
Red Hat
- Status
- 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
More Red Hat Vulnerabilities
Authentication Bypass in FreeIPA Samba Backend
Client Management Flaw in Keycloak Server by Red Hat
Arbitrary Command Execution Vulnerability in Ghostscript Software
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction