# CVE-2023-33953: Denial-of-Service in gRPC

- Severity: High 7.5 (CVSS:3.1, scored by Google) `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): 0.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2023-08-09T12:54:47.415Z
- Modified: 2026-07-07T17:57:05.612Z
- Also known as: GHSA-496j-2rq6-j6cc, PYSEC-2026-1424
- Weaknesses: CWE-770, CWE-789, CWE-834
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Google

## Description

gRPC contains a vulnerability that allows hpack table accounting errors could lead to unwanted disconnects between clients and servers in exceptional cases/ Three vectors were found that allow the following DOS attacks:

- Unbounded memory buffering in the HPACK parser
- Unbounded CPU consumption in the HPACK parser

The unbounded CPU consumption is down to a copy that occurred per-input-block in the parser, and because that could be unbounded due to the memory copy bug we end up with an O(n^2) parsing loop, with n selected by the client.

The unbounded memory buffering bugs:

- The header size limit check was behind the string reading code, so we needed to first buffer up to a 4 gigabyte string before rejecting it as longer than 8 or 16kb.
- HPACK varints have an encoding quirk whereby an infinite number of 0’s can be added at the start of an integer. gRPC’s hpack parser needed to read all of them before concluding a parse.
- gRPC’s metadata overflow check was performed per frame, so that the following sequence of frames could cause infinite buffering: HEADERS: containing a: 1 CONTINUATION: containing a: 2 CONTINUATION: containing a: 3 etc…

(As written by CVE List.)

## Affected

- Google gRPC: before 1.56.1
- grpc grpc: before 1.53.2; from 1.54 before 154.3; from 1.55 before 1.55.2; from 1.56 before 1.56.2; from 1.54.0 before 1.54.3; from 1.55.0 before 1.55.2; from 1.56.0 before 1.56.2
- grpcio (PyPI): before 1.53.2; from 1.54.0 before 1.54.3; from 1.55.0 before 1.55.2; from 1.56.0 before 1.56.2
- grpc (RubyGems): before 1.53.2; from 1.54.0 before 1.54.3; from 1.55.0 before 1.55.2; from 1.56.0 before 1.56.2

## Every score

- Google: 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`
- GitHub: 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:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: 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`

## References

- <https://cloud.google.com/support/bulletins#gcp-2023-022> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-33953> (advisory)
- <https://github.com/advisories/GHSA-496j-2rq6-j6cc> (advisory)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/grpc/CVE-2023-33953.yml> (web)
- <https://security.snyk.io/vuln/SNYK-RUBY-GRPC-5834442> (web)
- <https://pypi.org/project/grpcio> (package)

## Sources

- CVE List: [CVE-2023-33953](https://www.cve.org/CVERecord?id=CVE-2023-33953), CVE Terms of Use, modified 2024-09-27
- GitHub Advisory Database: [GHSA-496j-2rq6-j6cc](https://github.com/advisories/GHSA-496j-2rq6-j6cc), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2023-33953](https://nvd.nist.gov/vuln/detail/CVE-2023-33953), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1424](https://osv.dev/vulnerability/PYSEC-2026-1424), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2023-33953 · Whole record: https://cve.day/CVE-2023-33953.json · Rebuilt by cve.day 2026-11-25T22:58:26.981Z
