Skip to main content
VulnerabilityPublished Updated

CVE-2026-64785: swift-nio-http2 · Missing CR/LF/NUL validation in header values

Affects github.com/apple/swift-nio-http2Source GCVE Database

0
Compare
Authoritative record:CVE-2026-64785· Medium 5.3

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

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
SwiftURLgithub.com/apple/swift-nio-http2Affected
  • <1.45.0
Fixed in
  • 1.45.0
SwiftURLswift-nio-http2pkg:swift/swift-nio-http2Other threatsAffected
  • <1.45.0
Fixed in
  • 1.45.0

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

Community reviews

Loading reviews…