BSD Ports

redis,valkey -- {redis,valkey}-check-aof may lead to stack overflow and potential RCE

· CVE-2025-27151 · VuXML entry

Simcha Kosman & CyberArk Labs reports: A user can run the {redis,valkeyu}-check-aof cli and pass a long file path to trigger a stack buffer overflow, which may potentially lead to remote code execution.

Affected versions

By system

0 still vulnerable, 5 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
FreeBSDdatabases/redis8.10.2 fixed (382 days after)
NetBSDdatabases/redis8.10.1 not listed
MidnightBSDdatabases/redis8.10.2_2 out of range, by version
DragonFlydatabases/redis7.4.3 fixed
FreeBSDdatabases/redis747.4.11 fixed (382 days after)
MidnightBSDdatabases/redis747.4.11 out of range, by version
FreeBSDdatabases/redis727.2.16 fixed (382 days after)
MidnightBSDdatabases/redis727.2.16 out of range, by version
FreeBSDdatabases/valkey9.1.2 fixed (382 days after)
MidnightBSDdatabases/valkey9.1.0 out of range, by version