Missing Release of Memory after Effective Lifetime Affecting multidict package, versions [6.7.0,6.9.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.45% (39th 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 Missing Release of Memory after Effective Lifetime vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-MULTIDICT-20510280
  • published5 Oct 2026
  • disclosed2 Oct 2026
  • creditUnknown

Introduced: 2 Oct 2026

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

How to fix?

Upgrade multidict to version 6.9.1 or higher.

Overview

Affected versions of this package are vulnerable to Missing Release of Memory after Effective Lifetime via a reference leak in the C extension's items view operations multidict_itemsview_or2_impl() and multidict_itemsview_sub1_impl(), which handle the operand | md.items() and md.items() - operand set operations respectively. For every element of the operand, the key identity and value references are not released after processing, causing memory to grow without bound when a large operand is used. An attacker can trigger unbounded memory growth by repeatedly invoking these operations with large operands, resulting in a denial of service.

CVSS Base Scores

version 4.0
version 3.1