Buffer Access with Incorrect Length Value Affecting valkey-devel package, versions <0:8.0.4-1.el10_0


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.27% (51st 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-VALKEYDEVEL-10872115
  • published21 Jul 2025
  • disclosed29 May 2025

Introduced: 29 May 2025

CVE-2025-27151  (opens in a new tab)
CWE-805  (opens in a new tab)

How to fix?

Upgrade RHEL:10 valkey-devel to version 0:8.0.4-1.el10_0 or higher.
This issue was patched in RHSA-2025:11401.

NVD Description

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

Redis is an open source, in-memory database that persists on disk. In versions starting from 7.0.0 to before 8.0.2, a stack-based buffer overflow exists in redis-check-aof due to the use of memcpy with strlen(filepath) when copying a user-supplied file path into a fixed-size stack buffer. This allows an attacker to overflow the stack and potentially achieve code execution. This issue has been patched in version 8.0.2.

CVSS Base Scores

version 3.1