StackPatch is liveSee product

Back to CVE digest
CVE-2025-27151 · cross-distro fix matrix

CVE-2025-27151: 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 allow

Affects 7 Linux releases across 14 (distro × package) combinations.

Fix per ecosystem

Each block below is a distro release where CVE-2025-27151 has a known fix. Run the listed command on that distro to remediate.

Debian bookworm

Source: Debian Security Tracker

  • redis→ fixed in5:7.0.15-1~deb12u5urgency: not yet assigned
    sudo apt-get install --only-upgrade -y redis

Debian trixie

Source: Debian Security Tracker

  • redis→ fixed in5:8.0.2-2urgency: not yet assigned
    sudo apt-get install --only-upgrade -y redis
  • valkey→ fixed in8.1.1+dfsg1-1.1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y valkey

Alpine v3.20

Source: Alpine secdb

  • valkey→ fixed in7.2.9-r1
    apk update && apk add --upgrade valkey
  • redict→ fixed in7.3.3-r1
    apk update && apk add --upgrade redict
  • redis→ fixed in7.2.9-r0
    apk update && apk add --upgrade redis

Alpine v3.21

Source: Alpine secdb

  • valkey→ fixed in7.2.9-r1
    apk update && apk add --upgrade valkey
  • redict→ fixed in7.3.3-r1
    apk update && apk add --upgrade redict
  • redis→ fixed in7.2.9-r0
    apk update && apk add --upgrade redis

Alpine edge

Source: Alpine secdb

  • valkey→ fixed in8.1.1-r1
    apk update && apk add --upgrade valkey
  • redict→ fixed in7.3.3-r1
    apk update && apk add --upgrade redict
  • redis→ fixed in8.0.2-r0
    apk update && apk add --upgrade redis

Alpine v3.18

Source: Alpine secdb

  • redis→ fixed in7.0.15-r4
    apk update && apk add --upgrade redis

Alpine v3.19

Source: Alpine secdb

  • redis→ fixed in7.2.9-r0
    apk update && apk add --upgrade redis
Are YOU affected by CVE-2025-27151?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2025-27151dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. $99 lifetime, 50 founder seats, 30-day refund.

See StackPatch ($99 lifetime)