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.
History

Wed, 02 Dec 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Red Hat
Red Hat enterprise Linux
Red Hat red Hat Openshift Container Platform 5
Redhat hardened Images
Redhat openshift Container Platform
Redhat red Hat Openshift Container Platform 5
Vendors & Products Red Hat
Red Hat enterprise Linux
Red Hat red Hat Openshift Container Platform 5
Redhat hardened Images
Redhat openshift Container Platform
Redhat red Hat Openshift Container Platform 5

Wed, 02 Dec 2026 10:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 01 Dec 2026 02:30:00 +0000

Type Values Removed Values Added
Title binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Redhat rhel Els
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/a:redhat:openshift:5
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Redhat rhel Els
References

Tue, 01 Dec 2026 00:15:00 +0000

Type Values Removed Values Added
Description 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.
Title binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber
Weaknesses CWE-377
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L'}

threat_severity

Moderate


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2026-12-01T02:09:55.152Z

Updated: 2026-12-01T13:53:33.129Z

Reserved: 2026-11-30T18:43:46.960Z

Link: CVE-2026-140038

cve-icon Vulnrichment

Updated: 2026-12-01T13:30:21.407Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-01T03:17:14.417

Modified: 2026-12-01T14:18:19.720

Link: CVE-2026-140038

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-11-30T19:22:31Z

Links: CVE-2026-140038 - Bugzilla