CVE-2026-104874 Details
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.
A reference leak vulnerability has been identified in the C extension of aio-libs Multidict, affecting versions 6.7.0 through 6.9.0. The issue arises in the items-view union and subtraction operations, where each operand element leaks one key-identity and one value reference. This leak occurs because the operations fail to properly release the references for each element, leading to unbounded memory growth in applications that process attacker-influenced sequences. The leaked references are not reclaimed by garbage collection, causing a denial-of-service condition due to increased memory usage. The vulnerability is present in the union operation reflected by 'operand | d.items()' and the subtraction operation 'd.items() - operand'.
Users can upgrade to aio-libs Multidict version 6.9.1, which addresses the reference leak by ensuring that all key-identity and value references are properly released during union and subtraction operations. Alternatively, the vulnerability can be avoided by using the pure-Python build of Multidict, which is not affected by this issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 2, 2026CISA-ADP
Assessed Oct 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/aio-libs/multidict/security/advisories/GHSA-54p9-h82j-f925 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/aio-libs/multidict/commit/350b4a07bf8ff851b6d7544e81b1c748bdc74c40 | [email protected] | Source CodeVendor |
| https://github.com/aio-libs/multidict/releases/tag/v6.9.1 | [email protected] | Release NotesVendor |
| https://github.com/aio-libs/multidict/security/advisories/GHSA-54p9-h82j-f925 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| aio-libs multidict | >= 6.7.0, <= 6.9.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 5, 2026 | CVE Modified | CISA-ADP |
| Oct 2, 2026 | New CVE Received | [email protected] |
Volerion