VDB

ALPINE-CVE-2025-27151

ALPINE-CVE-2025-27151 PUBLISHED CVSS 9.800000190734863 CRITICAL

Record from OSV · Published May 29, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
valkeyAlpine:v3.248.1.1-r1
valkeyAlpine:v3.238.1.1-r1
valkeyAlpine:v3.207.2.9-r1
valkeyAlpine:v3.217.2.9-r1
redisAlpine:v3.197.2.9-r0
valkeyAlpine:v3.228.1.1-r1
redisAlpine:v3.187.0.15-r4

Risk scores

CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
Alpine:v3.24valkey0
Alpine:v3.23valkey7.2.5-r0, 7.2.5-r1, 7.2.5-r2
Alpine:v3.20valkey0, 7.2.9-r0, 7.2.8-r0
Alpine:v3.21valkey0, 7.2.5-r0, 7.2.5-r2
Alpine:v3.19redis6.0.9-r0, 2.4.14-r0, 2.4.14-r1
Alpine:v3.22valkey7.2.9-r0, 7.2.8-r0, 7.2.7-r0
Alpine:v3.18redis2.4.14-r0, 2.4.14-r1, 2.4.14-r2

Timeline

  • May 29, 2025 CVE Published
  • Jul 8, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln ALPINE-CVE-2025-27151
vulnetix vdb fixes ALPINE-CVE-2025-27151

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2025-27151/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›