CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber
MediumCVSS 5.1
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Red Hat
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.
Upgrade path
29 packages: 0 fixed, 29 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat enterprise linux | All versions | No fix listed | No fix yet |
| redhat hummingbird | All versions | No fix listed | No fix yet |
| redhat openshift | All versions | No fix listed | No fix yet |
| redhat rhel els | All versions | No fix listed | No fix yet |
| redhat/binutils(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/binutils(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/binutils(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/binutils(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| redhat/binutils(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat/binutils(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/gcc-toolset-15-binutils(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/gcc-toolset-15-binutils(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/gcc-toolset-15-binutils(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/gcc-toolset-15-gdb(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/gcc-toolset-16-binutils(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/gcc-toolset-16-binutils(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/gcc-toolset-16-binutils(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/gcc-toolset-16-gdb(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/gdb(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/gdb(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/gdb(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/gdb(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/mingw-binutils(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/mingw-binutils(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/mingw-binutils(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-10(Red Hat openshift 5) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 5) | All versions | No fix listed | No fix yet |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/binutils(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/gcc-toolset-15-binutils(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/gcc-toolset-16-binutils(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/gdb(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/mingw-binutils(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/binutils(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/binutils(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/gdb(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/binutils(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/gcc-toolset-15-binutils(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/gcc-toolset-15-gdb(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/gcc-toolset-16-binutils(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/gcc-toolset-16-gdb(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/gdb(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/mingw-binutils(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/binutils(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/gcc-toolset-15-binutils(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/gcc-toolset-16-binutils(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/gdb(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/mingw-binutils(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/binutils(Red Hat:hummingbird:1) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-10(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) | All versions | No fix listed |
Show 4 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux | All versions | No fix listed |
| redhat rhel els | All versions | No fix listed |
| redhat hummingbird | All versions | No fix listed |
| redhat openshift | All versions | No fix listed |
References
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- Red Hat Bugzilla 2465392 issue-tracking
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-139826 third-party-advisory