Skip to content
DoS Write-up Beginner

Redis Has a Memory Problem and It’s Not Funny

Redis versions 2.6 through 7.4.2 allow unauthenticated clients to cause unlimited output buffer growth, exhausting server memory and crashing the server. Even with authentication enabled, NOAUTH responses can still trigger buffer growth.

medium.com

Published on medium.com

Redis, the popular in-memory database, apparently forgot to implement a memory diet. A new vulnerability (CVE-2025–21605) lets anyone — authentication optional — crash your servers by making Redis gorge itself on RAM until it collapses.

Brendan Smith, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a missing limit on how much output buffer an unauthenticated client can cause Redis to allocate, including during authentication error responses.

Impact

An attacker could crash Redis servers, causing outages such as e-commerce platforms going down during sales, users being logged out, and monitoring systems disappearing; firewalls, TLS client certificates, network isolation and monitoring are suggested as temporary mitigations.

What the attacker needed

Network access to a Redis instance; no authentication required

The fix

Upgrade to Redis 7.4.3 or later; if that is not possible, block unauthenticated access, enable TLS with client certificates, isolate instances, and monitor memory.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Redis is a database that keeps data in memory to be fast. A flaw lets anyone send requests that make Redis use more and more memory until it runs out and crashes, even if a password is set. This is a denial-of-service attack: the goal is to take the service down, not to steal data.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.