Categories
CVE-2025-27151

redis-check-aof may lead to stack overflow and potential RCE

Summary

redis-check-aof may lead to stack overflow and potential RCE

Original description

The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

Affected packages

Bitnami keydb
[{"type":"SEMVER","events":[{"introduced":"7.0.0"}]}]
Bitnami redis
[{"type":"SEMVER","events":[{"introduced":"7.0.0"},{"fixed":"7.2.9"},{"introduced":"7.3.0"},{"fixed":"7.4.4"},{"introduced":"8.0.0"},{"fixed":"8.0.2"}]}]
Bitnami valkey
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.2.10"},{"introduced":"7.3.0"},{"fixed":"8.0.5"},{"introduced":"8.1.0"},{"fixed":"8.1.2"}]}]

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details