Uncaught Exception Affecting ddtrace package, versions [3.13.0,4.15.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.33% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-DDTRACE-21756794
  • published27 Oct 2026
  • disclosed27 Oct 2026
  • creditUnknown

Introduced: 27 Oct 2026

NewCVE-2026-116589  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade ddtrace to version 4.15.5 or higher.

Overview

ddtrace is a Datadog APM client library

Affected versions of this package are vulnerable to Uncaught Exception via modulo_aspect in the IAST taint-tracking C++ extension, when a lone surrogate character is passed as a format argument to the % (modulo) string operator. The unhandled surrogate causes a process abort, crashing the entire Python process.

Note: This is only exploitable if the IAST feature is explicitly enabled, as it is disabled by default.

PoC

Detailed triggering inputs and reproduction steps are omitted from this advisory. The linked fix (#20786) includes regression coverage for the affected behavior.

Note: The source PoC section states no specific environment, runtime version, or operating system.

CVSS Base Scores

version 4.0
version 3.1