rootpwn

high · CVSS v3 8.1

CVE-2026-61548

Rsyslog versions 7.5.4 through 8.2605.0 contain a stack-based buffer overflow vulnerability in the optional mmpstrucdata plugin's parseSD_PA

Overview

Rsyslog versions 7.5.4 through 8.2605.0 contain a stack-based buffer overflow vulnerability in the optional mmpstrucdata plugin's parseSD_PARAM function. The flaw occurs when parsing RFC5424 structured-data parameters without proper bounds checking, allowing a remote unauthenticated attacker to trigger a stack overwrite via specially crafted log messages. This vulnerability matters because it can lead to service crashes and interruption of critical log collection infrastructure.

Description

Rsyslog is a rocket-fast system for log processing. From 7.5.4 until 8.2606.0, the optional mmpstrucdata plugin's parseSD_PARAM function in plugins/mmpstrucdata/mmpstrucdata.c stores RFC5424 parameter values in a fixed pVal[32 * 1024] stack buffer and calls parsePARAM_VALUE without supplying the destination size. A remote unauthenticated attacker whose crafted RFC5424 message reaches an action using mmpstrucdata can provide a structured-data parameter larger than that buffer when MaxMessageSize permits it, causing an attacker-controlled stack overwrite. Deployments that do not install and use the plugin, or whose effective message-size limit remains below the required threshold, are not affected by this issue. The demonstrated impact is a crash and interruption of log collection; code execution is not demonstrated. This issue is fixed in version 8.2606.0.

Impact

Integrity and Availability are impacted due to potential stack corruption and denial of service via application crashes. Unauthenticated remote attackers who can send crafted RFC5424 log messages to an affected Rsyslog action are impacted. Confidentiality is not directly affected, and remote code execution has not been demonstrated.

Remediation

Upgrade Rsyslog to version 8.2606.0 or later where the issue is resolved. If upgrading immediately is not possible, disable the optional mmpstrucdata plugin or restrict effective message size limits below the vulnerable threshold to mitigate exposure.

Risk context

The vulnerability is rated as high severity with a CVSS v3 score of 8.1, indicating significant risk to log availability. EPSS data is not currently available for this identifier, but urgency should be guided by exposure to untrusted log sources and utilization of the affected mmpstrucdata plugin.

Affected products

  • Rsyslog mmpstrucdata plugin 7.5.4 to 8.2605.0

Scores

Severity
high
CVSS v2
7.6
CVSS v3
8.1
CVSS v4
EPSS

Rsyslog Buffer Overflow Stack Overflow Log Processing Denial of Service RFC5424 High Severity

← All CVEs