CVE-2026-64785

swift-nio-http2: SwiftNIO HTTP/2: HTTP Request Smuggling and Response Splitting via Incomplete Header Validation

Published Jul 23, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

SwiftNIO HTTP/2 lacked validation on inbound HEADERS frames, allowing control characters such as CR, LF, NUL, and SPACE to pass through the HTTP/2-to-HTTP/1 codec and reach an HTTP/1.1 backend. This flaw can enable HTTP request smuggling or response splitting attacks, potentially bypassing security controls or hijacking sessions by manipulating the request/response stream.

Affected Systems

Apple SwiftNIO HTTP/2 implementations with a version earlier than 1.45.0 are affected. The vulnerability applies to all environments that use the SwiftNIO HTTP/2 library without the patch released in version 1.45.0.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, while the EPSS score of less than 1% suggests a very low likelihood of exploitation at this time. The flaw is not listed in the CISA KEV catalog. Attacks would require an attacker to control the inbound traffic to the targeted H2/HTTP service, making the attack vector primarily network-based and potentially constrained to environments with exposed HTTP/2 interfaces.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apple swift-nio-http2 to version 1.45.0 or later.
  • Configure reverse proxies or firewalls to reject or sanitize CR, LF, NUL, and SPACE characters in inbound HEADERS frames before they are forwarded to the backend.
  • Deploy a strict HTTP/2 validation layer that enforces RFC compliance to prevent request smuggling and response splitting at the front‑end.

Generated by OpenCVE AI on August 2, 2026 at 15:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-q3g2-m552-3r9c swift-nio-http2: Missing CR/LF/NUL validation in header values
History
Type Values Removed Values Added
First Time appeared Apple swiftnio Http\/2
CPEs cpe:2.3:a:apple:swiftnio_http\/2:*:*:*:*:*:swift:*:*
Vendors & Products Apple swiftnio Http\/2
Type Values Removed Values Added
Title Missing Validation on HTTP/2 HEADERS Enables Request Smuggling swift-nio-http2: SwiftNIO HTTP/2: HTTP Request Smuggling and Response Splitting via Incomplete Header Validation
Weaknesses CWE-93
References
Metrics threat_severity

None

threat_severity

Low

Type Values Removed Values Added
First Time appeared Apple
Apple swiftnio Http/2
Vendors & Products Apple
Apple swiftnio Http/2
Type Values Removed Values Added
Title Missing Validation on HTTP/2 HEADERS Enables Request Smuggling
Type Values Removed Values Added
Weaknesses CWE-444
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
References
Weaknesses
  • CWE-444

    Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')

Sources

Status
PUBLISHED
Assigner
apple
Published
Updated
Jul 24, 2026, 8:06 PM
Reserved
Jul 20, 2026, 6:11 PM
Status
Analyzed
Published
Jul 23, 2026, 8:17 PM
Modified
Oct 24, 2026, 1:10 PM
Severity
Low
Public date
Jul 23, 2026, 6:50 PM