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

State
Published
Severity
5.1 Medium
Published
Dec 1, 2026
Updated
Dec 1, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Red Hat Enterprise Linux 10 Red Hat
Red Hat Enterprise Linux 10 Red Hat
Red Hat Enterprise Linux 10 Red Hat
Red Hat Enterprise Linux 10 Red Hat
Red Hat Enterprise Linux 10 Red Hat
Red Hat Enterprise Linux 6 Red Hat
Red Hat Enterprise Linux 7 Red Hat
Red Hat Enterprise Linux 7 Red Hat
Red Hat Enterprise Linux 8 Red Hat
Red Hat Enterprise Linux 8 Red Hat
Red Hat Enterprise Linux 8 Red Hat
Red Hat Enterprise Linux 8 Red Hat
Red Hat Enterprise Linux 8 Red Hat
Red Hat Enterprise Linux 8 Red Hat
Red Hat Enterprise Linux 8 Red Hat
Red Hat Enterprise Linux 9 Red Hat
Red Hat Enterprise Linux 9 Red Hat
Red Hat Enterprise Linux 9 Red Hat
Red Hat Enterprise Linux 9 Red Hat
Red Hat Enterprise Linux 9 Red Hat
Red Hat Hardened Images Red Hat
Red Hat OpenShift Container Platform 4 Red Hat
Red Hat OpenShift Container Platform 4 Red Hat
Red Hat OpenShift Container Platform 5 Red Hat
Red Hat OpenShift Container Platform 5 Red Hat

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.