Skip to main content

rsyslog CVE-2026-61548

CRITICAL
2026-07-20
Share

Severity by source

vuln.today AI
8.1 HIGH

Network vector (remote syslog input); AC:H because non-default plugin load and elevated MaxMessageSize are both required; PR:N as syslog is unauthenticated; C:H/I:H account for theoretical stack-overwrite RCE potential despite only DoS being confirmed.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE
8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Lifecycle Timeline

2
Analysis Generated
Jul 20, 2026 - 18:29 vuln.today
CVE Published
Jul 20, 2026 - 16:46 oss-security
CRITICAL

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

AnalysisAI

Stack-based buffer overflow in rsyslog's optional mmpstrucdata module allows a remote, unauthenticated attacker to crash the rsyslog process and interrupt log collection, with theoretical code execution on weakly hardened builds. Affected versions span rsyslog 7.5.4 through 8.2605.x; the fix is included in 8.2606.0. No public exploit code or active exploitation has been confirmed, but the crash was independently reproduced over both TCP and UDP on Debian 12 with rsyslog 8.2302.0, and the corrective PR (#6991) was merged publicly before coordinated disclosure completed.

Technical ContextAI

rsyslog is a high-performance syslog daemon widely deployed on Linux. The mmpstrucdata plugin is an optional message-modification module that parses RFC 5424 structured-data fields. In affected versions, the function parseSD_PARAM() declares a fixed 32,768-byte stack buffer (uchar pVal[32 * 1024]) and passes it to parsePARAM_VALUE() without communicating the buffer size. parsePARAM_VALUE() writes the structured-data parameter value into the buffer in a loop bounded only by the length of the input, not by the destination buffer's capacity. If the effective MaxMessageSize setting permits a structured-data parameter value exceeding 32 KiB, attacker-supplied bytes overwrite the stack frame beyond the buffer boundary. The root cause class is CWE-121 (Stack-Based Buffer Overflow). The upstream fix, introduced via PR #6991, eliminates the vulnerability by replacing the fixed-size stack allocation with a dynamically sized malloc() call proportional to the already-validated structured-data length, ensuring the buffer can never be smaller than the data written into it.

Affected ProductsAI

rsyslog versions 7.5.4 and later, up to but not including 8.2606.0 are affected when the mmpstrucdata plugin is installed, loaded in the active configuration, and MaxMessageSize is set above the 32 KiB threshold. The vulnerability is confined to the mmpstrucdata module; the base rsyslog daemon without this module is not affected. Downstream packaging varies by distribution - the module may be bundled with the main rsyslog package, shipped separately, or not included at all. Users should verify both the presence of the module binary and its active use in the running configuration. The GitHub advisory is GHSA-8qmr-c66f-g368 and the disclosure was posted to oss-security at https://seclists.org/oss-sec/2026/q3/173.

RemediationAI

The primary fix is to upgrade to rsyslog 8.2606.0, the first upstream release containing the corrected code. The upstream fix removes the fixed 32 KiB stack buffer entirely and replaces it with a dynamically allocated buffer sized to the validated input length plus one byte for the NUL terminator. For distributions maintaining stable downstream versions, the rsyslog project recommends a minimal backport: replace the stack-allocated pVal array with malloc((size_t)lenbuf + 1), pass the pointer to parsePARAM_VALUE(), and free it after use. If immediate upgrade is not possible, the following workarounds reduce exposure in descending order of effectiveness: first, remove or avoid loading mmpstrucdata in the rsyslog configuration if the module is not operationally required - this fully eliminates the affected code path; second, restrict network inputs so that attacker-controlled RFC 5424 messages cannot reach any rsyslog action that invokes mmpstrucdata; third, keep MaxMessageSize at or below a value that prevents any single structured-data parameter value from exceeding 32,768 bytes, noting that reducing MaxMessageSize may truncate legitimate large log messages and is not suitable for deployments specifically relying on large RFC 5424 messages. Refer to https://seclists.org/oss-sec/2026/q3/173 for disclosure details.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Affected
SLES15-SP6-CHOST-BYOS Affected
SLES15-SP6-CHOST-BYOS-Aliyun Affected
SLES15-SP6-CHOST-BYOS-Azure Affected
SLES15-SP6-CHOST-BYOS-EC2 Affected

Share

CVE-2026-61548 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy