CVEBrief

Home / Swift Project / SwiftNIO / CVE-2022-3215

CVE-2022-3215: is it exploited, and which versions of Swift Project SwiftNIO are affected and fixed?

CVE-2022-3215 is a HTTP response splitting vulnerability in Swift Project SwiftNIO. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: github.com/apple/swift-nio from 2.41.0 before 2.42.0, github.com/apple/swift-nio from 2.39.0 before 2.39.1 and github.com/apple/swift-nio before 2.29.1 (GitHub advisory GHSA-7fj7-39wj-c64f). Fixed in 2.42.0, 2.39.1 and 2.29.1 (GitHub advisory GHSA-7fj7-39wj-c64f). Severity: High (7.5, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 28, 2026, 19:52 UTC and NVD November 19, 2026, 07:45 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:08 UTC
Affected
github.com/apple/swift-nio from 2.41.0 before 2.42.0, github.com/apple/swift-nio from 2.39.0 before 2.39.1 and github.com/apple/swift-nio before 2.29.1
GitHub advisory GHSA-7fj7-39wj-c64f
Fixed in
2.42.0, 2.39.1 and 2.29.1
GitHub advisory GHSA-7fj7-39wj-c64f
Severity
High 7.5
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
0.68% in 30 days
higher than 54% of CVEs; FIRST, December 2, 2026

What is CVE-2022-3215?

NIOHTTP1 and projects using it for generating HTTP responses can be subject to a HTTP Response Injection attack. This occurs when a HTTP/1.1 server accepts user generated input from an incoming request and reflects it into a HTTP/1.1 response header in some form. A malicious user can add newlines to their input (usually in encoded form) and "inject" those newlines into the returned HTTP response. This capability allows users to work around security headers and HTTP/1.1 framing headers by injecting entirely false responses or other new headers. The injected false responses may also be treated as the response to subsequent requests, which can lead to XSS, cache poisoning, and a number of other flaws. This issue was resolved by adding validation to the HTTPHeaders type, ensuring that there's no whitespace incorrectly present in the HTTP headers provided by users. As the existing API surface is non-failable, all invalid characters are replaced by linear whitespace.

From the CVE record by Swift, last updated May 20, 2025, 20:02 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Swift ProjectSwiftNIOthrough 2.41.2

As the CVE record by Swift states it, last updated May 20, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
SwiftURLgithub.com/apple/swift-nio>= 2.41.0, < 2.42.02.42.0GHSA-7fj7-39wj-c64f
SwiftURLgithub.com/apple/swift-nio>= 2.39.0, < 2.39.12.39.1GHSA-7fj7-39wj-c64f
SwiftURLgithub.com/apple/swift-nio< 2.29.12.29.1GHSA-7fj7-39wj-c64f

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 7, 2023. Summary: SwiftNIO vulnerable to Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Response Splitting').

Which products and versions does the NVD list as affected?

VendorProductVersionsType
appleswiftniobefore 2.29.1application
appleswiftniofrom 2.30.0 before 2.39.1application
appleswiftniofrom 2.40.0 before 2.42.0application

NVD analysis (status Modified), last modified June 17, 2026, 04:59 UTC.

How severe is CVE-2022-3215?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NCISA-ADP
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-3215 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 20, 2025)
EPSS
0.68% probability of exploitation activity in the next 30 days, percentile 53.7 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
September 14, 2022
Published
September 28, 2022, 19:32 UTC
CVE record updated
May 20, 2025, 20:02 UTC by Swift
NVD
Modified, last modified June 17, 2026, 04:59 UTC
Last checked
CVE list November 28, 2026, 19:52 UTC; NVD November 19, 2026, 07:45 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

Questions about CVE-2022-3215

Is CVE-2022-3215 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.68% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Swift Project SwiftNIO are affected by CVE-2022-3215?

github.com/apple/swift-nio from 2.41.0 before 2.42.0, github.com/apple/swift-nio from 2.39.0 before 2.39.1 and github.com/apple/swift-nio before 2.29.1, per the GitHub advisory GHSA-7fj7-39wj-c64f. The tables above give every range the sources list.

Which version fixes CVE-2022-3215?

2.42.0, 2.39.1 and 2.29.1, per the GitHub advisory GHSA-7fj7-39wj-c64f. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-3215?

High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2022-3215?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.