Description
rpcx through 1.9.3, fixed in commit 047aec1, contains a denial-of-service vulnerability in protocol.Message.Decode (protocol/message.go). When a message has the compression flag set, the payload is gzip-decompressed via util.Unzip with no limit on the decompressed output size. The only built-in size guard, protocol.MaxMessageLength, is checked against the compressed on-the-wire frame length, not the decompressed size, so it provides no protection. Because decoding (and decompression) occurs in readRequest before authentication, a single unauthenticated connection can send a small (under 2 MB) gzip-compressed message that expands to gigabytes of heap allocation, leading to out-of-memory conditions and service unavailability.
Published: 2026-07-08
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

rpcx implements a wire‑protocol decoder that decompresses gzip payloads into resulting data. The protocol.Message.Decode method uses util.Unzip to decompress any payload marked with the compression flag, and the only check against a maximum size is performed against the compressed frame length, not the inflated size. As a result, an attacker can send a tiny compressed input that expands to gigabytes of heap data, exhausting memory and causing the process to crash or become unresponsive. This flaw is classified as a resourceCWE‑409).

Affected Systems

The flaw is present in all releases of smallnest rpcx up to and including version 1.9.3. The fix is implemented in commit 047aec18efa7d037105e2b72c36dd2ae05e1acc6; any deployment that incorporates this commit is no longer vulnerable. Deployments that have not applied the commit remain affected.

Risk and Exploitability

According to the CVSS entry, the vulnerability scores 8.7. The EPSS score is < 1%, and the flaw is not listed in the CISA KEV catalog. It can be exploited remotely before any authentication is performed anof-memory condition can be triggered on a single node or within a container, rendering the service unavailable for legitimate users.

Generated by OpenCVE AI on July 29, 2026 at 13:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade smallnest rpcx 047aec18efa7d037105e2b72c36dd2ae05e1acc6 and restart the service.
  • If an upgrade is not immediately possible, disable gzip compression on the server side or‑side compression limits by setting a custom MaxMessageLength or by rejecting messages with the compression flag.
  • Deploy system‑level resource limits such as cgroup memory quotas or Docker memory limits to contain any accidental or malicious memory pressure caused by malformed payloads.

Generated by OpenCVE AI on July 29, 2026 at 13:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Smallnest
Smallnest rpcx
Vendors & Products Smallnest
Smallnest rpcx

Thu, 09 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 19:45:00 +0000

Type Values Removed Values Added
Description rpcx through 1.9.3, fixed in commit 047aec1, contains a denial-of-service vulnerability in protocol.Message.Decode (protocol/message.go). When a message has the compression flag set, the payload is gzip-decompressed via util.Unzip with no limit on the decompressed output size. The only built-in size guard, protocol.MaxMessageLength, is checked against the compressed on-the-wire frame length, not the decompressed size, so it provides no protection. Because decoding (and decompression) occurs in readRequest before authentication, a single unauthenticated connection can send a small (under 2 MB) gzip-compressed message that expands to gigabytes of heap allocation, leading to out-of-memory conditions and service unavailability.
Title rpcx - Denial of Service via Gzip Decompression Bomb in Wire Protocol
Weaknesses CWE-409
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-09T13:30:22.468Z

Reserved: 2026-07-07T14:39:14.062Z

Link: CVE-2026-59803

cve-icon Vulnrichment

Updated: 2026-07-09T13:29:51.863Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T13:45:02Z

Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)