Skip to content

[Security] CVE-2025-21605: Unauthenticated output buffer DoS (memory exhaustion) #961

@vulgraph

Description

@vulgraph

Vulnerability

KeyDB inherits CVE-2025-21605 from Redis — unauthenticated clients can cause unbounded output buffer growth leading to memory exhaustion (DoS).

Details

Default client-output-buffer-limit for normal clients is 0 0 0 (unlimited). A client that subscribes and never reads will cause unbounded memory growth.

Dynamic verification: memory grew from 3.46MB to 4.66GB (1,346x) in Docker testing.

Tested Version

KeyDB latest master (git sha 603ebb27).

Suggested Fix

Set default output buffer limits for normal clients.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions