CVE-2026-64785: swift-nio-http2 · Missing CR/LF/NUL validation in header values
Affects github.com/apple/swift-nio-http2Source GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.45.0 when convenient.
Data as of 4 Dec 2026, 17:31 UTC
- Patch
- Available – fixed in 1.45.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade github.com/apple/swift-nio-http2 and swift-nio-http2 to 1.45.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SwiftURLgithub.com/apple/swift-nio-http2 | Affected
| Fixed in
|
SwiftURLswift-nio-http2pkg:swift/swift-nio-http2Other threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to swift-nio-http2 version 1.45.0 or later, where the vulnerability is fixed. Ensure that outbound header validation is enabled in the HTTP/1.1 codec to prevent control characters from being serialized into HTTP/1.1 messages. If upgrading is not immediately possible, verify that no pipeline components skip outbound header validation.
Description
SwiftNIO HTTP/2 had insufficient validation on inbound HEADERS frames, allowing control characters such as CR, LF, NUL, and SP to pass into HTTP/1.1 backends via the HTTP/2-to-HTTP/1 codec. This flaw enables HTTP request smuggling or response splitting attacks when using HTTP2ToHTTP1Codec or HTTP2FramePayloadToHTTP1Codec. The issue affects versions prior to 1.45.0 and is fixed in version 1.45.0.
References
- github.com/apple/swift-nio-http2/security/advisories/GHSA-q3g2-m552-3r9c (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-64785 (opens in a new tab)
- github.com/apple/swift-nio-http2/commit/45bdf670248be5f16ec0340e125dca285536f0fb (opens in a new tab)
- github.com/apple/swift-nio-http2/commit/48bfd9067d7d1d15c4789440127a0cf36222ea43 (opens in a new tab)
- github.com/apple/swift-nio-http2 (opens in a new tab)
- github.com/apple/swift-nio-http2/releases/tag/1.45.0 (opens in a new tab)