# CVE-2025-29923: go-redis allows potential out of order responses when `CLIENT SETINFO` times out during connection establishment

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-01)
- Published: 2025-03-20T18:03:14.933Z
- Modified: 2026-09-10T03:50:23.028Z
- Also known as: GHSA-92cp-5422-2mw7, GO-2025-3540
- Related: CGA-rgfh-76wx-p645
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

go-redis is the official Redis client library for the Go programming language. Prior to 9.5.5, 9.6.3, and 9.7.2, go-redis potentially responds out of order when `CLIENT SETINFO` times out during connection establishment. This can happen when the client is configured to transmit its identity, there are network connectivity issues, or the client was configured with aggressive timeouts. The problem occurs for multiple use cases. For sticky connections, you receive persistent out-of-order responses for the lifetime of the connection. All commands in the pipeline receive incorrect responses. When used with the default ConnPool once a connection is returned after use with ConnPool#Put the read buffer will be checked and the connection will be marked as bad due to the unread data. This means that at most one out-of-order response before the connection is discarded. This issue is fixed in 9.5.5, 9.6.3, and 9.7.2; however, 9.7.2 has been yanked and 9.7.3 is the lowest available patched version on the 9.7.x branch. As a workaround, set the flag `DisableIndentity` to `true` when constructing the client instance.

(As written by CVE List.)

## Affected

- redis go-redis: >= 9.7.0-beta.1, < 9.7.2; >= 9.6.0b1, < 9.6.3; >= 9.5.1, < 9.5.5
- github.com/redis/go-redis/v9 (Go): from 9.7.0-beta.1 before 9.7.3; from 9.6.0b1 before 9.6.3; from 9.5.1 before 9.5.5; before 9.6.3
- github.com/redis/go-redis (Go): all versions
- github.com/redis/go-redis/v7 (Go): all versions
- github.com/redis/go-redis/v8 (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/redis/go-redis/security/advisories/GHSA-92cp-5422-2mw7> (advisory, web)
- <https://github.com/redis/go-redis/pull/3295> (fix, web)
- <https://github.com/redis/go-redis/commit/d236865b0cfa1b752ea4b7da666b1fdcd0acebb6> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-29923> (advisory)
- <https://github.com/redis/go-redis> (package)

## Sources

- CVE List: [CVE-2025-29923](https://www.cve.org/CVERecord?id=CVE-2025-29923), CVE Terms of Use, modified 2026-09-02
- GitHub Advisory Database: [GHSA-92cp-5422-2mw7](https://github.com/advisories/GHSA-92cp-5422-2mw7), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3540](https://pkg.go.dev/vuln/GO-2025-3540), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-29923](https://nvd.nist.gov/vuln/detail/CVE-2025-29923), Public domain, modified 2026-09-03

---

Page: https://cve.day/CVE-2025-29923 · Whole record: https://cve.day/CVE-2025-29923.json · Rebuilt by cve.day 2026-11-25T22:58:55.391Z
