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

Medium 5.3 Published Updated

Attackers can smuggle HTTP requests or split responses by exploiting missing control character validation in SwiftNIO HTTP/2 headers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-64785?

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.

Official 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.

Weakness: CWE-444

Which versions are affected by CVE-2026-64785?

2 open source packages ship an affected version, including swift-nio-http2. It affects 1 product.

PackageAffectedFixed in
swift-nio-http2 SwiftURLAll versions1.45.0
swift-nio-http2 SwiftURLAll versions1.45.0

Products include Apple Swiftnio Http\/2.

How do I fix CVE-2026-64785?

Upgrade swift-nio-http2 to 1.45.0 or later.

Is CVE-2026-64785 being exploited?

There is no known exploitation of CVE-2026-64785 in the wild and no public exploit code.

Sources

Also known as GHSA-q3g2-m552-3r9c.

Is CVE-2026-64785 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free