Time-of-check Time-of-use (TOCTOU) Affecting valkey package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.01% (2nd 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 Learn

Learn about Time-of-check Time-of-use (TOCTOU) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL10-VALKEY-12461352
  • published3 Sept 2025
  • disclosed1 Sept 2025

Introduced: 1 Sep 2025

CVE-2025-9810  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 valkey.

NVD Description

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

TOCTOU  in linenoiseHistorySave in linenoise allows local attackers to overwrite arbitrary files and change permissions via a symlink race between fopen("w") on the history path and subsequent chmod() on the same path.

CVSS Base Scores

version 3.1