# CVE-2021-36154: Uncontrolled Recursion in HTTP2ToRawGRPCServerCodec

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.08%, higher than 82% of CVEs (2026-12-01)
- Published: 2021-07-09T11:02:36.000Z
- Modified: 2026-07-08T06:27:56.395Z
- Also known as: GHSA-4rhq-vq24-88gw
- Weaknesses: CWE-674
- Assigned by: mitre

## Description

HTTP2ToRawGRPCServerCodec in gRPC Swift 1.1.1 and earlier allows remote attackers to deny service via the delivery of many small messages within a single HTTP/2 frame, leading to Uncontrolled Recursion and stack consumption.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/grpc/grpc-swift (SwiftURL): before 1.2.0
- linuxfoundation grpc_swift: 1.0.0; 1.1.0; 1.1.1

## Every score

- GitHub: rating Medium
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/grpc/grpc-swift/releases> (release-notes, third-party-advisory)
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35274> (mailing-list, third-party-advisory, web)
- <https://github.com/grpc/grpc-swift/security/advisories/GHSA-4rhq-vq24-88gw> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-36154> (advisory)
- <https://github.com/grpc/grpc-swift> (package)
- <https://github.com/grpc/grpc-swift/releases/tag/1.2.0> (web)

## Sources

- CVE List: [CVE-2021-36154](https://www.cve.org/CVERecord?id=CVE-2021-36154), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-4rhq-vq24-88gw](https://github.com/advisories/GHSA-4rhq-vq24-88gw), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-36154](https://nvd.nist.gov/vuln/detail/CVE-2021-36154), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-36154 · Whole record: https://cve.day/CVE-2021-36154.json · Rebuilt by cve.day 2026-11-25T22:58:02.489Z
