CVE-2026-97057 Details
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.
A denial-of-service vulnerability has been identified in redis-parser versions through 3.0.0. The issue arises from improper validation of the multi-bulk length in the Redis Serialization Protocol (RESP) parsing. This flaw allows attackers to send a crafted RESP header with an excessively large length, exceeding the maximum allowable array size. When the parser attempts to allocate an array with this invalid length, it triggers an uncaught RangeError, causing the Node.js client process to crash. The vulnerability can be exploited by delivering a maliciously crafted RESP header from a Redis endpoint, leading to an unhandled exception that terminates the client process.
Users can update to redis-parser version 4.0.0 or later, where this vulnerability has been addressed. If an immediate update is not possible, the vulnerability can be mitigated by manually handling errors from the parser to prevent uncaught exceptions from terminating the Node.js process.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 24, 2026CISA-ADP
Assessed Sep 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/NodeRedis/node-redis-parser | [email protected] | Source CodeVendor |
| https://github.com/NodeRedis/node-redis-parser/blob/4c2d31c8717f05dea1ffd91a0e45d68f452c73bd/lib/parser.js#L108-L122 | [email protected] | Source CodeVendor |
| https://github.com/NodeRedis/node-redis-parser/blob/4c2d31c8717f05dea1ffd91a0e45d68f452c73bd/lib/parser.js#L212 | [email protected] | |
| https://github.com/NodeRedis/node-redis-parser/blob/4c2d31c8717f05dea1ffd91a0e45d68f452c73bd/lib/parser.js#L492-L550 | [email protected] | Source CodeVendor |
| https://github.com/NodeRedis/node-redis-parser/issues/47 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/NodeRedis/node-redis-parser/issues/65 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/redis-parser-through-3.0.0-denial-of-service-via-invalid-array-length | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1284 | Improper Validation of Specified Quantity in Input | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| NodeRedis node-redis-parser | <= 3.0.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 24, 2026 | CVE Modified | CISA-ADP |
| Sep 24, 2026 | New CVE Received | [email protected] |
Volerion