CVE-2026-59803
JSON

8.7high

rpcx - Denial of Service via Gzip Decompression Bomb in Wire Protocol

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.41% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
smallnest rpcxup to 1.9.3
Not affected: 047aec18efa7d037105e2b72c36dd2ae05e1acc6
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-409

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

rpcx hasta la versión 1.9.3, corregido en el commit 047aec1, contiene una vulnerabilidad de denegación de servicio en protocol.Message.Decode (protocol/message.go). Cuando un mensaje tiene el indicador de compresión activado, la carga útil es descomprimida con gzip a través de util.Unzip sin límite en el tamaño de salida descomprimido. La única protección de tamaño integrada, protocol.MaxMessageLength, se verifica contra la longitud del marco comprimido en tránsito, no contra el tamaño descomprimido, por lo que no proporciona protección. Debido a que la decodificación (y descompresión) ocurre en readRequest antes de la autenticación, una única conexión no autenticada puede enviar un mensaje pequeño (menos de 2 MB) comprimido con gzip que se expande a gigabytes de asignación de memoria (heap), lo que lleva a condiciones de falta de memoria y a la indisponibilidad del servicio.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59803 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-59803 changed 2026-10-25Public domain