Intel

AIKIDO-2026-56796

dd-trace is vulnerable to Denial of Service (DoS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 22, 2026
July 22, 2026

59

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The tracer's resizable msgpack write buffer grows its backing allocation without any upper bound while serializing trace payloads. A single pathological span, such as a multi-megabyte stack trace or an oversized unsanitized meta tag, can force the buffer to grow until the allocation fails and crashes the host process. Because span data can be derived from attacker-influenced input, an instrumented application can be driven to out-of-memory termination. The fix caps buffer growth at the 50 MiB agent intake limit and throws a tagged ERR_MSGPACK_CHUNK_OVERFLOW overflow error so oversized payloads are dropped instead of exhausting memory.

How do I fix this?

Upgrade the dd-trace library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

5.29.0 - 5.112.0

Fixed in 5.113.0

Background info

dd-trace is vulnerable to Denial of Service (DoS) in versions 5.29.0 - 5.112.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