- Accueil
- Vulnérabilités
- CVE-2026-140038
CVE-2026-140038
Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Redhat (8 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Hat Enterprise Linux 10 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 6 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 7 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 8 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 9 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Hardened Images | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat OpenShift Container Platform 4 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat OpenShift Container Platform 5 | Versions non précisées | — | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Contournementsource officielle
Isolate execution environments to prevent shared temporary file access, or restrict profiling activities on shared hosts: 1. Execute gprofng workflows within an isolated container (such as via Podman) or a dedicated mount namespace with a private /tmp filesystem, preventing other local users from pre-creating predictable temporary paths. 2. Avoid running gprofng analysis sessions on multi-user systems where untrusted local accounts have access to the shared /tmp directory. Caveats: Running profiling tools inside an isolated container or private namespace may restrict visibility into processes or hardware performance counters on the host system without granting additional container capabilities.
Source : CNA (éditeur ou attributeur)
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://access.redhat.com/security/cve/CVE-2026-140038vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2465392issue-tracking, x_refsource_REDHAT
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L(CVSS 3.1, NVD)- Faiblesse
- CWE-377 · Autre (CWE-377)