Description
redis-parser through 3.0.0 fails to validate the multi-bulk length value in RESP protocol parsing, allowing attackers to trigger an uncaught RangeError by supplying an excessively large declared length. A malicious or compromised Redis endpoint can deliver a crafted RESP header with a length above 2^32-1 to crash the Node.js client process.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-1284 — Improper Validation of Specified Quantity in Input
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NodeRedis | redis-parser | 0 to <=3.0.0 |
References
- https://github.com/NodeRedis/node-redis-parser/issues/65 (issue-tracking)
- https://github.com/NodeRedis/node-redis-parser/blob/4c2d31c8717f05dea1ffd91a0e45d68f452c73bd/lib/parser.js#L212 (technical-description)
- https://github.com/NodeRedis/node-redis-parser/blob/4c2d31c8717f05dea1ffd91a0e45d68f452c73bd/lib/parser.js#L108-L122 (technical-description)
- https://github.com/NodeRedis/node-redis-parser/blob/4c2d31c8717f05dea1ffd91a0e45d68f452c73bd/lib/parser.js#L492-L550 (technical-description)
- https://github.com/NodeRedis/node-redis-parser/issues/47 (issue-tracking)
- https://github.com/NodeRedis/node-redis-parser (product)
- https://www.vulncheck.com/advisories/redis-parser-through-3.0.0-denial-of-service-via-invalid-array-length (third-party-advisory)
Generated from the official CVE List on 25 Sep 2026 07:05 UTC.