Intel

AIKIDO-2026-967850

ioredis is vulnerable to Denial of Service (DoS)

CVE-2026-93435Published Oct 24, 2026
October 24, 2026

75

CVE Score

High

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

ioredis passes each socket chunk to a RESP parser that decodes nested arrays by calling back into the same array decoder, with no depth limit. A deeply nested array reply throws RangeError: Maximum call stack size exceeded out of parser.execute, and nothing catches it, so the Node.js process exits. That error never reaches returnFatalError, so application error handlers do not run. The fix catches errors from decoder.write and passes them to the fatal parser path, so the process stays up.

How do I fix this?

Upgrade the ioredis library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the Redis endpoint or the network path to it is not fully trusted.

Package

Versions

3.0.0 - 5.11.1

Fixed in 6.0.0

Background info

ioredis is vulnerable to Denial of Service (DoS) in versions 3.0.0 - 5.11.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea