Missing Release of Memory after Effective Lifetime Affecting ujson package, versions [5.4.0,5.12.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Missing Release of Memory after Effective Lifetime vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-UJSON-15682606
  • published18 Mar 2026
  • disclosed18 Mar 2026
  • creditCameron Criswell

Introduced: 18 Mar 2026

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

How to fix?

Upgrade ujson to version 5.12.0 or higher.

Overview

ujson is an Ultra fast JSON encoder and decoder for Python

Affected versions of this package are vulnerable to Missing Release of Memory after Effective Lifetime in the ujson.load(), ujson.loads(), or ujson.decode() functions when parsing large integers outside the range [-2^63, 2^64 - 1]. An attacker can cause excessive memory consumption leading to denial of service by submitting specially crafted JSON payloads containing such large integers.

CVSS Base Scores

version 4.0
version 3.1