{"answers":{"affected":"3 open source packages ship an affected version, including aiohttp.","exploited":"There is no known exploitation of CVE-2026-59881 in the wild and no public exploit code.","fix":"Upgrade aiohttp to 3.14.2 or later.","what":"CVE-2026-59881 is a medium-severity denial of service vulnerability in aio-libs aiohttp, published on 30 Jul 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-59881 and fix it if it is affected.\n\nWhat it is: CVE-2026-59881 is a medium-severity denial of service vulnerability in aio-libs aiohttp, published on 30 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-59881 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- aiohttp (PyPI): affected all versions; fixed in 3.14.2\n- aiohttp (PyPI): affected all versions; fixed in 3.14.2\n- aiohttp (PyPI): affected all versions; fixed in 3.14.2\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-59881/ (Markdown: https://insights.sbomify.com/CVE-2026-59881/index.md)","id":"CVE-2026-59881","markdown":"https://insights.sbomify.com/CVE-2026-59881/index.md","name":"CVE-2026-59881","record":{"aliases":["AZL-94397","CLEANSTART-2026-UK19001","CLSA-2026-1788442611","DEBIAN-CVE-2026-59881","ECHO-331a-abdb-db3b","GHSA-mq44-7p77-q5h7","MINI-274m-6vw4-fqm4","MINI-32j6-999w-cc63","MINI-3jgp-v6q9-h76m","MINI-3xxm-xh57-v9ch","MINI-4h4c-vhjh-2mpm","MINI-792v-pwp8-76gg","MINI-82v6-rh6v-7j6h","MINI-8g28-vmv8-966g","MINI-8qhc-92m3-w5vc","MINI-9ggq-64gr-xv8h","MINI-g945-28mg-78m2","MINI-gx95-gvrw-r249","MINI-h595-vrvq-qjc5","MINI-j96f-fvrx-g8pw","MINI-jvx6-m3w8-mjc4","MINI-m7r7-4v42-6989","MINI-px7f-3c4f-4fq8","MINI-qh47-r63q-r35r","MINI-qx2v-cj6j-7jj3","MINI-r2fr-63fc-m9gj","MINI-rc62-x55g-f2vv","MINI-rxgw-gwvr-6362","MINI-v7mc-mwcj-h55f","MINI-vgqx-8vcc-xcfr","MINI-vpcq-4hx5-qqfj","MINI-vv72-6g77-3xqr","MINI-w2w4-6gxp-vcfj","MINI-xr2p-4pp8-vq8w","OESA-2026-3277","OESA-2026-3278","OESA-2026-3279","PYSEC-2026-3547","UBUNTU-CVE-2026-59881"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python HTTP library","requires_auth":"none","summary":"A malicious server can cause excessive CPU and memory consumption in the aiohttp WebSocket client by sending compressed frames without proper negotiation.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.2, the WebSocket client accepts and decompresses frames with the RSV1 bit set even when the permessage-deflate extension was not negotiated, allowing a malicious server to cause unexpected CPU and memory consumption. This issue is fixed in version 3.14.2.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate","id":"CVE-2026-59881","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"guzzlehttp/psr7: Host Confusion via Weak URI Host Validation","id":"CVE-2026-59882"},"packages":[{"ecosystem":"PyPI","fixed":["3.14.2"],"introduced":["0"],"last_affected":[],"package":"aiohttp","purl":null,"source":"GHSA-mq44-7p77-q5h7"},{"ecosystem":"PyPI","fixed":["3.14.2"],"introduced":["0"],"last_affected":[],"package":"aiohttp","purl":"pkg:pypi/aiohttp","source":"GHSA-mq44-7p77-q5h7"},{"ecosystem":"PyPI","fixed":["3.14.2"],"introduced":["0"],"last_affected":[],"package":"aiohttp","purl":"pkg:pypi/aiohttp","source":"PYSEC-2026-3547"}],"prev":{"headline":"Immutable.js: Hash-collision algorithmic complexity denial of service in Immutable.Map/Set","id":"CVE-2026-59880"},"products":["aiohttp"],"published":"2026-07-30","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-30","vendors":["aio-libs"]},"summary":"A malicious server can cause excessive CPU and memory consumption in the aiohttp WebSocket client by sending compressed frames without proper negotiation.","url":"https://insights.sbomify.com/CVE-2026-59881/"}