{"answers":{"affected":"3 open source packages ship an affected version, including httplib2. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59939 exists.","fix":"Upgrade httplib2 to 0.32.0 or later.","what":"CVE-2026-59939 is a high-severity vulnerability in httplib2, published on 8 Jul 2026."},"fix_prompt":"Check this codebase for CVE-2026-59939 and fix it if it is affected.\n\nWhat it is: CVE-2026-59939 is a high-severity vulnerability in httplib2, published on 8 Jul 2026. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59939 exists.\n\nAffected packages and fixed versions:\n- httplib2 (PyPI): affected all versions; fixed in 0.32.0\n- httplib2 (PyPI): affected all versions; fixed in 0.32.0\n- httplib2 (PyPI): affected all versions; fixed in 0.32.0\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-59939/ (Markdown: https://insights.sbomify.com/CVE-2026-59939/index.md)","id":"CVE-2026-59939","markdown":"https://insights.sbomify.com/CVE-2026-59939/index.md","name":"CVE-2026-59939","record":{"aliases":["ALSA-2026:47736","ALSA-2026:48585","ALSA-2026:50317","AZL-92295","CLEANSTART-2026-HU27522","DEBIAN-CVE-2026-59939","ECHO-ccad-6619-0a54","GHSA-j5g9-f88f-gfj3","MGASA-2026-0419","MINI-g3pf-2cvf-pv8r","MINI-gg23-jx47-35mf","MINI-j74f-4p54-jgpv","MINI-wjpq-9w9v-x65p","PYSEC-2026-3444","RHSA-2026:47736","RHSA-2026:48585","RHSA-2026:48604","RHSA-2026:48605","RHSA-2026:48615","RHSA-2026:49911","RHSA-2026:50317","RHSA-2026:50653","RHSA-2026:50654","RHSA-2026:50655","RLSA-2026:47736","RLSA-2026:48585","RLSA-2026:50317","ROOT-APP-PYPI-CVE-2026-59939","SUSE-SU-2026:23120-1","SUSE-SU-2026:23142-1","SUSE-SU-2026:3898-1","UBUNTU-CVE-2026-59939","USN-8537-1","openSUSE-SU-2026:21526-1"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"httplib2","vendor":"httplib2_project"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"description":"httplib2 is a comprehensive HTTP client library for Python. Prior to 0.32.0, httplib2 performs unbounded decompression of HTTP response bodies encoded with Content-Encoding: gzip or deflate in _decompressContent in httplib2/init.py, allowing a malicious or compromised HTTP server to return a small compressed payload that expands to an arbitrarily large size in memory and causes MemoryError or OOM-kill in the client process. This issue is fixed in version 0.32.0.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","PyPI","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::highavailability","Red Hat:enterprise_linux:8::resilientstorage","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.4::highavailability","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.8::appstream","Red Hat:rhel_e4s:8.8::highavailability","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.2::highavailability","Red Hat:rhel_e4s:9.2::resilientstorage","Red Hat:rhel_e4s:9.4::appstream","Red Hat:rhel_e4s:9.4::highavailability","Red Hat:rhel_e4s:9.4::resilientstorage","Red Hat:rhel_eus:9.6::appstream","Red Hat:rhel_eus_long_life:8.4::appstream","Red Hat:rhel_eus_long_life:8.4::highavailability","Red Hat:rhel_eus_long_life:8.6::appstream","Red Hat:rhel_eus_long_life:8.6::highavailability","Red Hat:rhel_tus:8.8::appstream","Red Hat:rhel_tus:8.8::highavailability","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Public Cloud 15 SP5","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 16.0"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"httplib2: Decompression Bomb Denial of Service via Unbounded gzip/deflate Response Handling","id":"CVE-2026-59939","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2026"},"n_packages":1118,"n_references":3,"next":{"headline":"seroval: `seroval.fromJSON()` Promise resolver type confusion invokes attacker-controlled methods during deserialization","id":"CVE-2026-59940"},"packages":[{"ecosystem":"PyPI","fixed":["0.32.0"],"introduced":["0"],"last_affected":[],"package":"httplib2","purl":null,"source":"GHSA-j5g9-f88f-gfj3"},{"ecosystem":"PyPI","fixed":["0.32.0"],"introduced":["0"],"last_affected":[],"package":"httplib2","purl":"pkg:pypi/httplib2","source":"GHSA-j5g9-f88f-gfj3"},{"ecosystem":"PyPI","fixed":["0.32.0"],"introduced":["0"],"last_affected":[],"package":"httplib2","purl":"pkg:pypi/httplib2","source":"PYSEC-2026-3444"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-aliyun","purl":"pkg:rpm/almalinux/fence-agents-aliyun","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-all","purl":"pkg:rpm/almalinux/fence-agents-all","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-amt-ws","purl":"pkg:rpm/almalinux/fence-agents-amt-ws","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-apc","purl":"pkg:rpm/almalinux/fence-agents-apc","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-apc-snmp","purl":"pkg:rpm/almalinux/fence-agents-apc-snmp","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-aws","purl":"pkg:rpm/almalinux/fence-agents-aws","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-azure-arm","purl":"pkg:rpm/almalinux/fence-agents-azure-arm","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-bladecenter","purl":"pkg:rpm/almalinux/fence-agents-bladecenter","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-brocade","purl":"pkg:rpm/almalinux/fence-agents-brocade","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-cisco-mds","purl":"pkg:rpm/almalinux/fence-agents-cisco-mds","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-cisco-ucs","purl":"pkg:rpm/almalinux/fence-agents-cisco-ucs","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-common","purl":"pkg:rpm/almalinux/fence-agents-common","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-drac5","purl":"pkg:rpm/almalinux/fence-agents-drac5","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-eaton-snmp","purl":"pkg:rpm/almalinux/fence-agents-eaton-snmp","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-emerson","purl":"pkg:rpm/almalinux/fence-agents-emerson","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-eps","purl":"pkg:rpm/almalinux/fence-agents-eps","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-gce","purl":"pkg:rpm/almalinux/fence-agents-gce","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-heuristics-ping","purl":"pkg:rpm/almalinux/fence-agents-heuristics-ping","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-hpblade","purl":"pkg:rpm/almalinux/fence-agents-hpblade","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibm-powervs","purl":"pkg:rpm/almalinux/fence-agents-ibm-powervs","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibm-vpc","purl":"pkg:rpm/almalinux/fence-agents-ibm-vpc","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibmblade","purl":"pkg:rpm/almalinux/fence-agents-ibmblade","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ifmib","purl":"pkg:rpm/almalinux/fence-agents-ifmib","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-moonshot","purl":"pkg:rpm/almalinux/fence-agents-ilo-moonshot","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-mp","purl":"pkg:rpm/almalinux/fence-agents-ilo-mp","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-ssh","purl":"pkg:rpm/almalinux/fence-agents-ilo-ssh","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo2","purl":"pkg:rpm/almalinux/fence-agents-ilo2","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-intelmodular","purl":"pkg:rpm/almalinux/fence-agents-intelmodular","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ipdu","purl":"pkg:rpm/almalinux/fence-agents-ipdu","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ipmilan","purl":"pkg:rpm/almalinux/fence-agents-ipmilan","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-kdump","purl":"pkg:rpm/almalinux/fence-agents-kdump","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-kubevirt","purl":"pkg:rpm/almalinux/fence-agents-kubevirt","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-lpar","purl":"pkg:rpm/almalinux/fence-agents-lpar","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-mpath","purl":"pkg:rpm/almalinux/fence-agents-mpath","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-nutanix-ahv","purl":"pkg:rpm/almalinux/fence-agents-nutanix-ahv","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-openstack","purl":"pkg:rpm/almalinux/fence-agents-openstack","source":"ALSA-2026:48585"},{"ecosystem":"AlmaLinux:10","fixed":["4.16.0-21.el10_2.5"],"introduced":["0"],"last_affected":[],"package":"fence-agents-redfish","purl":"pkg:rpm/almalinux/fence-agents-redfish","source":"ALSA-2026:48585"}],"prev":{"headline":"pypdf: Possible large memory usage for wrong image dimensions","id":"CVE-2026-59938"},"products":["httplib2"],"published":"2026-07-08","related":[{"cvss_score":7.5,"headline":"Regular Expression Denial of Service in httplib2","id":"CVE-2021-21240","kev_date_added":null,"published":"2021-02-08"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"US public information, NVD API terms","name":"NVD"},{"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-08-20","vendors":["httplib2"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-59939/"}