{"answers":{"affected":"2 open source packages ship an affected version, including swift-nio-http2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-64785 in the wild and no public exploit code.","fix":"Upgrade swift-nio-http2 to 1.45.0 or later.","what":"CVE-2026-64785 is a medium-severity vulnerability in Apple swift-nio-http2, published on 23 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-64785 and fix it if it is affected.\n\nWhat it is: CVE-2026-64785 is a medium-severity vulnerability in Apple swift-nio-http2, published on 23 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-64785 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- swift-nio-http2 (SwiftURL): affected all versions; fixed in 1.45.0\n- swift-nio-http2 (SwiftURL): affected all versions; fixed in 1.45.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-64785/ (Markdown: https://insights.sbomify.com/CVE-2026-64785/index.md)","id":"CVE-2026-64785","markdown":"https://insights.sbomify.com/CVE-2026-64785/index.md","name":"CVE-2026-64785","record":{"aliases":["GHSA-q3g2-m552-3r9c"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"SwiftNIO HTTP/2 library","requires_auth":"none","summary":"Attackers can smuggle HTTP requests or split responses by exploiting missing control character validation in SwiftNIO HTTP/2 headers.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apple","cpe":[{"product":"swiftnio_http\\/2","vendor":"apple"}],"cvss":{"score":5.3,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"description":"SwiftNIO HTTP/2 was missing validation on inbound HEADERS frames that let CR, LF, NUL, SP and other control characters reach an HTTP/1.1 backend through NIOHTTP2's HTTP/2-to-HTTP/1 codec, enabling HTTP request smuggling or response splitting. This vulnerability is addressed in swift-nio-http2 version 1.45.0.","ecosystems":["SwiftURL"],"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":"swift-nio-http2: Missing CR/LF/NUL validation in header values","id":"CVE-2026-64785","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"SwiftURL","product":null,"products":[],"type":"other","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Use after free in Safari","id":"CVE-2026-64787"},"packages":[{"ecosystem":"SwiftURL","fixed":["1.45.0"],"introduced":["0"],"last_affected":[],"package":"swift-nio-http2","purl":null,"source":"GHSA-q3g2-m552-3r9c"},{"ecosystem":"SwiftURL","fixed":["1.45.0"],"introduced":["0"],"last_affected":[],"package":"swift-nio-http2","purl":"pkg:swift/swift-nio-http2","source":"GHSA-q3g2-m552-3r9c"}],"prev":{"headline":"Memory corruption in Safari","id":"CVE-2026-64784"},"products":["swift-nio-http2"],"published":"2026-07-23","related":[{"cvss_score":7.5,"headline":"Denial of service via HTTP/2 HEADERS frames padding","id":"CVE-2022-0618","kev_date_added":null,"published":"2022-03-09"},{"cvss_score":7.5,"headline":"swift-nio-http2 vulnerable to denial of service via invalid HTTP/2 HEADERS frame length","id":"CVE-2022-24666","kev_date_added":null,"published":"2022-02-09"},{"cvss_score":7.5,"headline":"swift-nio-http2 vulnerable to denial of service via mishandled HPACK variable length integer encoding","id":"CVE-2022-24667","kev_date_added":null,"published":"2022-02-09"},{"cvss_score":7.5,"headline":"swift-nio-http2 vulnerable to denial of service via ALTSVC or ORIGIN frames","id":"CVE-2022-24668","kev_date_added":null,"published":"2022-02-09"},{"cvss_score":5.3,"headline":"SwiftNIO HTTP/2: HTTP/2-to-HTTP/1 Request Smuggling via unvalidated :path pseudo-header in HTTP2ToHTTP1Codec","id":"CVE-2026-28898","kev_date_added":null,"published":"2026-06-25"}],"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":"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-24","vendors":["Apple"]},"summary":"Attackers can smuggle HTTP requests or split responses by exploiting missing control character validation in SwiftNIO HTTP/2 headers.","url":"https://insights.sbomify.com/CVE-2026-64785/"}