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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.47% (percentile 33, 2026-11-26)
- **CWE:** CWE-834, CWE-789
- **Aliases:** GHSA-496j-2rq6-j6cc, PYSEC-2026-1424
- **Published:** 2023-08-09T12:54:47.415Z
- **Modified:** 2026-07-07T17:57:05.612Z

## Who should check

- Projects that depend on PyPI package grpcio (\< 1.53.2; \>= 1.54.0, \< 1.54.3; \>= 1.55.0, \< 1.55.2; \>= 1.56.0, \< 1.56.2)
- Projects that depend on RubyGems package grpc (\< 1.53.2)
- Anyone running Google gRPC \< 1.56.1

## 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…

## Affected and fixed versions

- PyPI `grpcio`: affected \< 1.53.2; \>= 1.54.0, \< 1.54.3; \>= 1.55.0, \< 1.55.2; \>= 1.56.0, \< 1.56.2; fixed 1.53.2, 1.54.3, 1.55.2, 1.56.2 (osv)
- RubyGems `grpc`: affected \< 1.53.2; fixed 1.53.2, 1.54.3, 1.55.2, 1.56.2 (osv)
- Google gRPC: \< 1.56.1 (cvelist)

## Mitigation

- Upgrade grpcio to one of 1.53.2, 1.54.3, 1.55.2, 1.56.2 (or later in the same release line).
- Upgrade grpc to one of 1.53.2, 1.54.3, 1.55.2, 1.56.2 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-33953. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-33953.md
Affected: grpcio < 1.53.2; >= 1.54.0, < 1.54.3; >= 1.55.0, < 1.55.2; >= 1.56.0, < 1.56.2; grpc < 1.53.2
Fixed in: 1.53.2, 1.54.3, 1.55.2, 1.56.2

Steps:
1. Search this machine and project for grpcio (PyPI), grpc (RubyGems), Google gRPC: 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.
```

## FAQ

### Is CVE-2023-33953 being exploited?

There is no confirmed exploitation: CVE-2023-33953 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.47% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-33953?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-33953?

grpcio \< 1.53.2; \>= 1.54.0, \< 1.54.3; \>= 1.55.0, \< 1.55.2; \>= 1.56.0, \< 1.56.2; grpc \< 1.53.2.

### Is there a fix for CVE-2023-33953?

Yes. Fixed in 1.53.2, 1.54.3, 1.55.2, 1.56.2. Upgrade grpcio to one of 1.53.2, 1.54.3, 1.55.2, 1.56.2 (or later in the same release line). Upgrade grpc to one of 1.53.2, 1.54.3, 1.55.2, 1.56.2 (or later in the same release line).

### How do I check if I'm affected by CVE-2023-33953?

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.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-33953>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1424> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-496j-2rq6-j6cc> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-33953> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-33953>
