Intel

AIKIDO-2026-484713

dalli is vulnerable to Denial of Service (DoS)

GHSA-3553-vcg5-72jwPublished Oct 8, 2026
October 8, 2026

55

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

Dalli inflated any value flagged as compressed with no size limit, so a roughly 130 KB stored item could expand to 128 MB on read regardless of client settings. It also used the size reported in a reply, such as a meta VA <size> or binary body length, to allocate or buffer that many bytes before validating it, so a hostile or compromised memcached server or proxy could make the client allocate gigabytes. With the fix, decompression is capped by a new decompressed_max_bytes option, 128 MiB by default, and reply sizes over memcached's 1 GiB item limit are rejected before they are read.

How do I fix this?

Upgrade the dalli 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 you store compressed values, or an untrusted or compromised memcached server or proxy can send replies to your client.

Package

Versions

0.0.1 - 3.2.11

Fixed in 3.2.12

4.0.0 - 4.3.5

Fixed in 4.3.6

5.0.0 - 5.0.8

Fixed in 5.0.9

5.1.0 - 5.1.2

Fixed in 5.1.3

5.2.0 - 5.2.0

Fixed in 5.2.1

Background info

dalli is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 3.2.11, 4.0.0 - 4.3.5, 5.0.0 - 5.0.8, 5.1.0 - 5.1.2 and 5.2.0 - 5.2.0.

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