CVE-2022-0618
A program using swift-nio-http2 is vulnerable to a denial of service attack, caused by a network peer sending a special…
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Swift Project SwiftNIO HTTP2 >= 1.0.0, < unspecified; >= unspecified, <= 1.19.2
Vulnerability facts
- Affected
- Swift Project SwiftNIO HTTP2 >= 1.0.0, < unspecified; >= unspecified, <= 1.19.2
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 1.82% chance of exploitation in 30 days (percentile 79, 2026-11-26)
- CWE
- CWE-130
- Modified
Description
A program using swift-nio-http2 is vulnerable to a denial of service attack, caused by a network peer sending a specially crafted HTTP/2 frame. This vulnerability is caused by a logical error when parsing a HTTP/2 HEADERS or HTTP/2 PUSH_PROMISE frame where the frame contains padding information without any other data. This logical error caused confusion about the size of the frame, leading to a parsing error. This parsing error immediately crashes the entire process. Sending a HEADERS frame or PUSH_PROMISE frame with HTTP/2 padding information does not require any special permission, so any HTTP/2 connection peer may send such a frame. For clients, this means any server to which they connect may launch this attack. For servers, anyone they allow to connect to them may launch such an attack. The attack is low-effort: it takes very little resources to send an appropriately crafted frame. The impact on availability is high: receiving the frame immediately crashes the server, dropping all in-flight connections and causing the service to need to restart. It is straightforward for an attacker to repeatedly send appropriately crafted frames, so attackers require very few resources to achieve a substantial denial of service. The attack does not have any confidentiality or integrity risks in and of itself: swift-nio-http2 is parsing the frame in memory-safe code, so the crash is safe. However, sudden process crashes can lead to violations of invariants in services, so it is possible that this attack can be used to trigger an error condition that has confidentiality or integrity risks. The risk can be mitigated if untrusted peers can be prevented from communicating with the service. This mitigation is not available to many services. The issue is fixed by rewriting the parsing code to correctly handle the condition. The issue was found by automated fuzzing by oss-fuzz.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Swift Project SwiftNIO HTTP2 | >= 1.0.0, < unspecified; >= unspecified, <= 1.19.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-0618. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-0618.md Affected: Swift Project SwiftNIO HTTP2 >= 1.0.0, < unspecified; >= unspecified, <= 1.19.2 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for Swift Project SwiftNIO HTTP2: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-0618 being exploited?
There is no confirmed exploitation: CVE-2022-0618 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.82% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-0618?
High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2022-0618?
Swift Project SwiftNIO HTTP2 >= 1.0.0, < unspecified; >= unspecified, <= 1.19.2.
Is there a fix for CVE-2022-0618?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-0618?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.