Description
Multidict is an implementation of a multidict data structure. From 6.7.0 until 6.9.1, the C extension's items-view reflected union operation, operand | d.items(), in multidict_itemsview_or2_impl and subtraction operation, d.items() - operand, in multidict_itemsview_sub1_impl fail to release new key-identity and value references returned for each operand element. Applications that perform these operations over attacker-influenced sequences can leak two strong references per element, and garbage collection cannot reclaim them, so repeated operations can cause unbounded process memory growth and denial of service. Forward union, intersection, non-tuple operand elements, and pure-Python builds are not affected by this reference leak. This issue is fixed in version 6.9.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| aio-libs | multidict | >= 6.7.0, < 6.9.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-multidict | No fix yet | — |
| Ubuntu 26.04 LTS | python-multidict | No fix yet | — |
| Ubuntu 20.04 LTS | python-multidict | No fix yet | — |
| Ubuntu 18.04 LTS | python-multidict | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-multidict | 7.0.0-1.1 | openSUSE-SU-2026:12117-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | python39-oci-sdk +1 | 2.187.0-1.0.5.el9 | ELSA-2026-604898 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | py3-cassandra-medusa | 0.30.1-r4 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | multidict | >= 6.7.0, < 6.9.1 | 6.9.1 | GHSA-54p9-h82j-f925 |
Advisories 2
- ELSA-2026-604898 Important: python-oci-sdk security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Oct 21, 2026
- openSUSE-SU-2026:12117-1 python313-multidict-7.0.0-1.1 on GA media SUSE / openSUSE Security Updates · Oct 14, 2026