Insecure Temporary File Affecting gdb package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.24% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-GDB-23127658
  • published1 Dec 2026
  • disclosed30 Nov 2026

Introduced: 30 Nov 2026

NewCVE-2026-140038  (opens in a new tab)
CWE-377  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 gdb.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gdb package and not the gdb package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1