CVE-2026-84372

NameCVE-2026-84372
DescriptionPredis is a flexible and feature-complete Redis and Valkey client for PHP. From version 3.0.0-RC1 until version 3.3.0, pipeline handling on aggregate cluster and replication connections reparses an already serialized RESP buffer in AbstractAggregateConnection::write() by splitting it with explode("\r\n") instead of honoring RESP length prefixes. Attacker-controlled keys or values containing CRLF sequences can therefore be interpreted by Command::deserializeCommand() as additional commands. On cluster connections, ClusterStrategy::getFakeKey() can route injected keyless commands using the literal fake key value "key", permitting operations such as shard-wide cache deletion, targeted data modification, data reads, or node disruption. On replication connections, malformed reparsing can throw an uncaught exception and repeatedly terminate affected requests. Only pipeline() reaches this vulnerable path; transaction() and MULTI are not affected. This issue is fixed in version 3.3.0.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php-nrk-predis (PTS)bookworm1.1.10-2fixed
trixie2.4.0-1fixed
forky, sid2.4.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php-nrk-predissource(unstable)(not affected)

Notes

- php-nrk-predis <not-affected> (Vulnerable code not present)
https://github.com/predis/predis/security/advisories/GHSA-w6f5-v2h6-g786
https://github.com/predis/predis/issues/1574
https://github.com/predis/predis/pull/1586
Fixed by: https://github.com/predis/predis/commit/053cb4b6ac7fb1f469ead96a78d059bc0458e408 (v3.3.0)

Search for package or bug name: Reporting problems