Stack-based Buffer Overflow Affecting nvidia-pytriton package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.56% (84th 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-NVIDIAPYTRITON-13720954
  • published30 Dec 2025
  • disclosed6 Aug 2025
  • creditWill Vandevanter

Introduced: 6 Aug 2025

CVE-2025-23311  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

There is no fixed version for nvidia-pytriton.

Overview

nvidia-pytriton is a PyTriton - Flask/FastAPI-like interface to simplify Triton's deployment in Python environments.

Affected versions of this package are vulnerable to Stack-based Buffer Overflow via the HTTP request handling code where alloca() is used to allocate memory on the stack. An attacker can cause a stack overflow by sending an HTTP request with chunked transfer encoding containing a large number of chunks.

Note: This vulnerability is only exploitable when using the default bundled Triton Server /pytriton/tritonserver/bin/tritonserver.

Workaround

It is possible to update the Triton Server binary to a patched version independently of PyTriton; See Building binaries from source.

CVSS Base Scores

version 4.0
version 3.1