{"answers":{"affected":"3 open source packages ship an affected version, including h2.","exploited":"There is no known exploitation of CVE-2025-57804 in the wild and no public exploit code.","fix":"Upgrade h2 to 4.3.0 or later.","what":"CVE-2025-57804 is a medium-severity vulnerability in python-hyper h2, published on 25 Aug 2025."},"fix_prompt":"Check this codebase for CVE-2025-57804 and fix it if it is affected.\n\nWhat it is: CVE-2025-57804 is a medium-severity vulnerability in python-hyper h2, published on 25 Aug 2025. \nExploitation: There is no known exploitation of CVE-2025-57804 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- h2 (PyPI): affected all versions; fixed in 4.3.0\n- h2 (PyPI): affected all versions; fixed in 4.3.0\n- h2 (PyPI): affected all versions; fixed in 4.3.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-2025-57804/ (Markdown: https://insights.sbomify.com/CVE-2025-57804/index.md)","id":"CVE-2025-57804","markdown":"https://insights.sbomify.com/CVE-2025-57804/index.md","name":"CVE-2025-57804","record":{"aliases":["BELL-CVE-2025-57804","CLEANSTART-2026-HH25957","CLEANSTART-2026-HI28272","DEBIAN-CVE-2025-57804","DLA-4290-1","ECHO-a060-6ee9-114c","GHSA-847f-9342-265h","OESA-2025-2250","PYSEC-2026-1435","ROOT-APP-PYPI-CVE-2025-57804","SUSE-SU-2025:03199-1","SUSE-SU-2025:03273-1","SUSE-SU-2026:20187-1","UBUNTU-CVE-2025-57804","openSUSE-SU-2025:15496-1","openSUSE-SU-2026:20122-1"],"analysis":null,"analysis_generated_by":null,"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:N/SC:N/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"description":"h2 is a pure-Python implementation of a HTTP/2 protocol stack. Prior to version 4.3.0, an HTTP/2 request splitting vulnerability allows attackers to perform request smuggling attacks by injecting CRLF characters into headers. This occurs when servers downgrade HTTP/2 requests to HTTP/1.1 without properly validating header names/values, enabling attackers to manipulate request boundaries and bypass security controls. This issue has been patched in version 4.3.0.","ecosystems":["PyPI","SUSE:Linux Enterprise Module for Python 3 15 SP6","SUSE:Linux Enterprise Module for Python 3 15 SP7","SUSE:Linux Enterprise Module for Server Applications 15 SP6","SUSE:Linux Enterprise Module for Server Applications 15 SP7","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 15.6","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"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":"h2 allows HTTP Request Smuggling due to illegal characters in headers","id":"CVE-2025-57804","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2025"},"n_packages":12,"n_references":2,"next":{"headline":"The Scratch Channel's Publish Articles POST Request Can Upload Articles Without Validation","id":"CVE-2025-57805"},"packages":[{"ecosystem":"PyPI","fixed":["4.3.0"],"introduced":["0"],"last_affected":[],"package":"h2","purl":null,"source":"GHSA-847f-9342-265h"},{"ecosystem":"PyPI","fixed":["4.3.0"],"introduced":["0"],"last_affected":[],"package":"h2","purl":"pkg:pypi/h2","source":"GHSA-847f-9342-265h"},{"ecosystem":"PyPI","fixed":["4.3.0"],"introduced":["0"],"last_affected":[],"package":"h2","purl":"pkg:pypi/h2","source":"PYSEC-2026-1435"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP6","fixed":["4.1.0-150400.8.6.1"],"introduced":["0"],"last_affected":[],"package":"python-h2","purl":"pkg:rpm/suse/python-h2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP6","source":"SUSE-SU-2025:03199-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP7","fixed":["4.1.0-150400.8.6.1"],"introduced":["0"],"last_affected":[],"package":"python-h2","purl":"pkg:rpm/suse/python-h2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP7","source":"SUSE-SU-2025:03199-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP6","fixed":["3.2.0-150200.3.5.1"],"introduced":["0"],"last_affected":[],"package":"python-h2","purl":"pkg:rpm/suse/python-h2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP6","source":"SUSE-SU-2025:03273-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP7","fixed":["3.2.0-150200.3.5.1"],"introduced":["0"],"last_affected":[],"package":"python-h2","purl":"pkg:rpm/suse/python-h2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP7","source":"SUSE-SU-2025:03273-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["4.2.0-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-h2","purl":"pkg:rpm/suse/python-h2\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:20187-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["4.2.0-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-h2","purl":"pkg:rpm/suse/python-h2\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:20187-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["4.1.0-150400.8.6.1"],"introduced":["0"],"last_affected":[],"package":"python-h2","purl":"pkg:rpm/opensuse/python-h2\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:03199-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["4.2.0-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-h2","purl":"pkg:rpm/opensuse/python-h2\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20122-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.3.0-1.1"],"introduced":["0"],"last_affected":[],"package":"python-h2","purl":"pkg:rpm/opensuse/python-h2\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15496-1"}],"prev":{"headline":"ImageMagick (WriteBMPImage): 32-bit integer overflow when writing BMP scanline stride → heap buffer overflow","id":"CVE-2025-57803"},"products":["h2"],"published":"2025-08-25","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":"SUSE"},{"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["python-hyper"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2025-57804/"}