{"answers":{"affected":"3 open source packages ship an affected version, including jwcrypto. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-39373 exists.","fix":"Upgrade jwcrypto to 1.5.7 or later.","what":"CVE-2026-39373 is a medium-severity denial of service vulnerability in latchset jwcrypto, published on 7 Apr 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-39373 and fix it if it is affected.\n\nWhat it is: CVE-2026-39373 is a medium-severity denial of service vulnerability in latchset jwcrypto, published on 7 Apr 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-39373 exists.\n\nAffected packages and fixed versions:\n- jwcrypto (PyPI): affected all versions; fixed in 1.5.7\n- jwcrypto (PyPI): affected all versions; fixed in 1.5.7\n- jwcrypto (PyPI): affected all versions; fixed in 1.5.7\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-39373/ (Markdown: https://insights.sbomify.com/CVE-2026-39373/index.md)","id":"CVE-2026-39373","markdown":"https://insights.sbomify.com/CVE-2026-39373/index.md","name":"CVE-2026-39373","record":{"aliases":["ALSA-2026:19042","ALSA-2026:19197","AZL-82055","DEBIAN-CVE-2026-39373","GHSA-fjrm-76x2-c4q4","OESA-2026-1923","OESA-2026-1924","OESA-2026-1925","OESA-2026-1926","OESA-2026-3636","PYSEC-2026-70","RHSA-2026:19042","RHSA-2026:19197","RLSA-2026:19042","RLSA-2026:19197","SUSE-SU-2026:21425-1","UBUNTU-CVE-2026-39373","openSUSE-SU-2026:10576-1","openSUSE-SU-2026:20644-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python JWE library","requires_auth":"none","summary":"An unauthenticated attacker can cause memory exhaustion and denial of service by sending crafted JWE tokens with ZIP compression.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"jwcrypto","vendor":"latchset"}],"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-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"description":"JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. Prior to 1.5.7, an unauthenticated attacker can exhaust server memory by sending crafted JWE tokens with ZIP compression. The existing patch for CVE-2024-28102  limits input token size to 250KB but does not validate the decompressed output size. An unauthenticated attacker can cause memory exhaustion on memory-constrained systems. A token under the 250KB input limit can decompress to approximately 100MB. This vulnerability is fixed in 1.5.7.","ecosystems":["AlmaLinux:10","AlmaLinux:9","PyPI","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:9::appstream","Rocky Linux:10","Rocky Linux:9","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":"JWCrypto: JWE ZIP decompression bomb","id":"CVE-2026-39373","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":12,"n_references":1,"next":{"headline":"Plane IDOR: Cross-Project Issue Date Modification via Bulk Update Endpoint","id":"CVE-2026-39374"},"packages":[{"ecosystem":"PyPI","fixed":["1.5.7"],"introduced":["0"],"last_affected":[],"package":"jwcrypto","purl":null,"source":"GHSA-fjrm-76x2-c4q4"},{"ecosystem":"PyPI","fixed":["1.5.7"],"introduced":["0"],"last_affected":[],"package":"jwcrypto","purl":"pkg:pypi/jwcrypto","source":"GHSA-fjrm-76x2-c4q4"},{"ecosystem":"PyPI","fixed":["1.5.7"],"introduced":["0"],"last_affected":[],"package":"jwcrypto","purl":"pkg:pypi/jwcrypto","source":"PYSEC-2026-70"},{"ecosystem":"AlmaLinux:10","fixed":["1.5.6-5.el10_2"],"introduced":["0"],"last_affected":[],"package":"python3-jwcrypto","purl":"pkg:rpm/almalinux/python3-jwcrypto","source":"ALSA-2026:19042"},{"ecosystem":"AlmaLinux:9","fixed":["1.5.6-3.el9_8"],"introduced":["0"],"last_affected":[],"package":"python3-jwcrypto","purl":"pkg:rpm/almalinux/python3-jwcrypto","source":"ALSA-2026:19197"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.5.6-5.el10_2"],"introduced":["0"],"last_affected":[],"package":"python-jwcrypto","purl":"pkg:rpm/redhat/python-jwcrypto","source":"RHSA-2026:19042"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.5.6-5.el10_2"],"introduced":["0"],"last_affected":[],"package":"python3-jwcrypto","purl":"pkg:rpm/redhat/python3-jwcrypto","source":"RHSA-2026:19042"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.5.6-3.el9_8"],"introduced":["0"],"last_affected":[],"package":"python-jwcrypto","purl":"pkg:rpm/redhat/python-jwcrypto","source":"RHSA-2026:19197"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.5.6-3.el9_8"],"introduced":["0"],"last_affected":[],"package":"python3-jwcrypto","purl":"pkg:rpm/redhat/python3-jwcrypto","source":"RHSA-2026:19197"},{"ecosystem":"Rocky Linux:10","fixed":["0:1.5.6-5.el10_2"],"introduced":["0"],"last_affected":[],"package":"python-jwcrypto","purl":"pkg:rpm/rocky-linux/python-jwcrypto?distro=rocky-linux-10-aarch64\u0026epoch=0","source":"RLSA-2026:19042"},{"ecosystem":"Rocky Linux:9","fixed":["0:1.5.6-3.el9_8"],"introduced":["0"],"last_affected":[],"package":"python-jwcrypto","purl":"pkg:rpm/rocky-linux/python-jwcrypto?distro=rocky-linux-9-x86-64\u0026epoch=0","source":"RLSA-2026:19197"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.5.7-2.1"],"introduced":["0"],"last_affected":[],"package":"python-jwcrypto","purl":"pkg:rpm/opensuse/python-jwcrypto\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10576-1"}],"prev":{"headline":"InvoicePlane: Sensitive Information Disclosure via Unstripped EXIF Metadata in Attachments","id":"CVE-2026-39372"},"products":["jwcrypto"],"published":"2026-04-07","related":[{"cvss_score":5.3,"headline":"jwcrypto lacks the Random Filling protection mechanism","id":"CVE-2016-6298","kev_date_added":null,"published":"2016-09-01"}],"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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-04-07","vendors":["latchset"]},"summary":"An unauthenticated attacker can cause memory exhaustion and denial of service by sending crafted JWE tokens with ZIP compression.","url":"https://insights.sbomify.com/CVE-2026-39373/"}