Stack-based Buffer Overflow Affecting antirez/redis package, versions [7.0.0,8.0.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th 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-UNMANAGED-ANTIREZREDIS-10288916
  • published1 Jun 2025
  • disclosed29 May 2025
  • creditSimcha Kosman, CyberArk Labs

Introduced: 29 May 2025

NewCVE-2025-27151  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade antirez/redis to version 8.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow in the redis_check_aof_main() function in redis-check-aof.c. An attacker can cause a disruption of service that may be subsequently exploitable to execute code, by supplying a long file path that exceeds the PATH_MAX buffer.

CVSS Base Scores

version 4.0
version 3.1