Memory Leak Affecting ujson package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (13th 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 Learn

Learn about Memory Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-UJSON-17099487
  • published30 May 2026
  • disclosed27 May 2026

Introduced: 27 May 2026

NewCVE-2026-44660  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 ujson.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ujson package and not the ujson package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Prior to 5.12.1, when ujson.dump() writes to a file-like object and the write operation raises an exception, the serialized JSON string object is not decremented, leaking memory. Each failed write operation leaks the full size of the serialized payload. This vulnerability is fixed in 5.12.1.