Intel

AIKIDO-2026-301024

grpc is vulnerable to Use After Free

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jun 17, 2026
June 17, 2026

59

CVE Score

Medium

Use After Free

Are you affected? Scan for Free

TL;DR

The Ruby grpc gem bundles gRPC Core, which maintains a global map of GrpcXdsClient instances keyed by pointers into each client object. When an entry's refcount reaches zero and a replacement client is created for the same key, updating the map could leave the key pointing at freed memory and trigger a use-after-free crash. Concurrent channel creation and teardown in xDS-enabled applications can hit this race and terminate the process. The fix removes zero-refcount entries before inserting a new client and adds regression tests for the stale-key lifetime bug.

How do I fix this?

Upgrade the grpc library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application uses gRPC xDS client features where channels may be created and torn down concurrently.

Package

Versions

1.81.0 - 1.81.0

Fixed in 1.81.1

Background info

grpc is vulnerable to Use After Free in versions 1.81.0 - 1.81.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea