CVE-2023-33953
Denial-of-Service in gRPC
Also known as GHSA-496j-2rq6-j6cc, PYSEC-2026-1424
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).
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
Vulnerability facts
- 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
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)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
- 0.47% chance of exploitation in 30 days (percentile 33, 2026-11-26)
- CWE
- CWE-834, CWE-789
- Modified
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
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-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.
References
Vendor advisories
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.