{"answers":{"affected":"3 open source packages ship an affected version, including multidict.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-104874 exists.","fix":"Upgrade multidict to 6.9.1 or later.","what":"CVE-2026-104874 is a medium-severity denial of service vulnerability in aio-libs multidict, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-104874 and fix it if it is affected.\n\nWhat it is: CVE-2026-104874 is a medium-severity denial of service vulnerability in aio-libs multidict, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-104874 exists.\n\nAffected packages and fixed versions:\n- multidict (PyPI): affected from 6.7.0; fixed in 6.9.1\n- multidict (PyPI): affected from 6.7.0; fixed in 6.9.1\n- multidict (PyPI): affected from 6.7.0; fixed in 6.9.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-104874/ (Markdown: https://insights.sbomify.com/CVE-2026-104874/index.md)","id":"CVE-2026-104874","markdown":"https://insights.sbomify.com/CVE-2026-104874/index.md","name":"CVE-2026-104874","record":{"aliases":["CLEANSTART-2026-YA90278","ECHO-4642-8da4-6164","GHSA-54p9-h82j-f925","MINI-2mj5-v592-8p4f","MINI-498w-x5rh-23jf","MINI-4gjq-gmvh-7fmv","MINI-5cx6-rwvj-hfhr","MINI-7296-2pgw-g76v","MINI-74qr-5m45-m9gq","MINI-76f7-xrjc-3r5r","MINI-8xp6-qp9j-9fc7","MINI-935h-8cgp-vghf","MINI-cppc-43x8-q7p4","MINI-crcf-j2c9-58hh","MINI-f4rg-9qxq-3jvf","MINI-f5qj-2g9v-pp8v","MINI-fm4p-v852-j3w2","MINI-grrj-5mrr-3hv2","MINI-h62g-fv2g-rph3","MINI-h86v-h4r7-98hr","MINI-j32h-7wc2-vc7f","MINI-jh6v-mcx9-cr2w","MINI-jpx8-ggjx-6p4q","MINI-jq75-xfhw-hgjq","MINI-m8j3-j2g8-5mc8","MINI-pcm2-fv77-9g5p","MINI-pfgw-8x25-22wf","MINI-qq95-52vw-582r","MINI-r86r-c4r3-934f","MINI-v628-x2f3-w95h","MINI-vh4j-q67c-6vmg","MINI-xh3p-jjg8-rpp5","PYSEC-2026-4244","UBUNTU-CVE-2026-104874","openSUSE-SU-2026:12117-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python multidict library","requires_auth":"none","summary":"Attackers can cause unbounded memory growth and denial of service by triggering reference leaks in specific multidict operations.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"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.","ecosystems":["PyPI","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction","id":"CVE-2026-104874","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":4,"n_references":3,"next":{"headline":"Ente: Accepted emergency contact can bypass the recovery notice period","id":"CVE-2026-104875"},"packages":[{"ecosystem":"PyPI","fixed":["6.9.1"],"introduced":["6.7.0"],"last_affected":[],"package":"multidict","purl":null,"source":"GHSA-54p9-h82j-f925"},{"ecosystem":"PyPI","fixed":["6.9.1"],"introduced":["6.7.0"],"last_affected":[],"package":"multidict","purl":"pkg:pypi/multidict","source":"GHSA-54p9-h82j-f925"},{"ecosystem":"PyPI","fixed":["6.9.1"],"introduced":["6.7.0"],"last_affected":[],"package":"multidict","purl":"pkg:pypi/multidict","source":"PYSEC-2026-4244"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["7.0.0-1.1"],"introduced":["0"],"last_affected":[],"package":"python-multidict","purl":"pkg:rpm/opensuse/python-multidict\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:12117-1"}],"prev":{"headline":"LangGraph SDK custom auth silently ignores actions= on resource decorators","id":"CVE-2026-104873"},"products":["multidict"],"published":"2026-10-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-05","vendors":["aio-libs"]},"summary":"Attackers can cause unbounded memory growth and denial of service by triggering reference leaks in specific multidict operations.","url":"https://insights.sbomify.com/CVE-2026-104874/"}