CVE-2026-54427 Apache bRPC: Stack Exhaustion via Unbounded Recursion in AMF Parser

Not scored Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-54427?

CVE-2026-54427 is a vulnerability in Apache bRPC, published on 21 Oct 2026.

Official description

Uncontrolled recursion in the AMF parser in Apache bRPC < 1.18.0 allows a remote RTMP peer to crash a bRPC process by sending deeply nested AMF objects or arrays. The parser recursively processed nested AMF containers without enforcing a depth limit, which could exhaust the native stack.

Affected Scenarios: Applications using bRPC RTMP support and parsing AMF data from an untrusted RTMP peer. This includes RTMP servers parsing client command messages, RTMP clients parsing server responses or status messages, and either side parsing inbound AMF script data such as metadata or cue points. Direct callers of ReadAMFObject or ReadAMFArray on untrusted input are also affected.

How to Fix: 1. Upgrade Apache bRPC to 1.18.0. 2. Apply the patch from PR https://github.com/apache/brpc/pull/3344 .

Note: The fix introduces a configurable AMF nesting depth limit with default value 128. AMF objects or arrays deeper than amf_max_depth are rejected after applying the fix.

Weakness: CWE-674

Which versions are affected by CVE-2026-54427?

How do I fix CVE-2026-54427?

No fix has been published for CVE-2026-54427 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-54427 being exploited?

There is no known exploitation of CVE-2026-54427 in the wild and no public exploit code.

Sources

Also known as GHSA-73m6-hpcv-jggj.

Is CVE-2026-54427 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free