Intel

AIKIDO-2026-56796

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

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 5 days ago

59

Medium Risk

This Affects:

JSdd-trace
5.29.0 - 5.112.0
Fixed in 5.113.0
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.

Who does this affect?

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

Background info

dd-trace is vulnerable to Denial of Service (DoS) in versions 5.29.0 - 5.112.0.

How to fix this

Upgrade the dd-trace library to the patch version.