UBUNTU-CVE-2026-104874 (CVE-2026-104874)
Vulnerability from osv_ubuntu – Published: 2026-10-02 21:16 – Updated: 2026-10-08 09:54 – Source websiteMultidict 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": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-multidict",
"binary_version": "4.1.0-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "python-multidict",
"purl": "pkg:deb/ubuntu/python-multidict@4.1.0-1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.1.3-1build1",
"3.2.0-1",
"3.3.2-1",
"4.1.0-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-multidict",
"binary_version": "4.7.3-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "python-multidict",
"purl": "pkg:deb/ubuntu/python-multidict@4.7.3-1build1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.5.2-1",
"4.6.1-1",
"4.7.3-1",
"4.7.3-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-multidict",
"binary_version": "5.1.0-1build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "python-multidict",
"purl": "pkg:deb/ubuntu/python-multidict@5.1.0-1build2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.1.0-1",
"5.1.0-1build1",
"5.1.0-1build2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-multidict",
"binary_version": "6.0.4-1.1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "python-multidict",
"purl": "pkg:deb/ubuntu/python-multidict@6.0.4-1.1build1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.0.4-1build1",
"6.0.4-1.1",
"6.0.4-1.1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-multidict",
"binary_version": "6.4.3-1build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "python-multidict",
"purl": "pkg:deb/ubuntu/python-multidict@6.4.3-1build2?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.4.3-1",
"6.4.3-1build1",
"6.4.3-1build2"
]
}
],
"aliases": [],
"details": "Multidict is an implementation of a multidict data structure. From 6.7.0 until 6.9.1, the C extension\u0027s 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.",
"id": "UBUNTU-CVE-2026-104874",
"modified": "2026-10-08T09:54:47Z",
"published": "2026-10-02T21:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-104874"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-104874"
},
{
"type": "REPORT",
"url": "https://github.com/aio-libs/multidict/security/advisories/GHSA-54p9-h82j-f925"
},
{
"type": "REPORT",
"url": "https://github.com/aio-libs/multidict/commit/350b4a07bf8ff851b6d7544e81b1c748bdc74c40"
},
{
"type": "REPORT",
"url": "https://github.com/aio-libs/multidict/releases/tag/v6.9.1"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-104874"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.