REDHAT-BUG-2579556: Medium severity rsyslog Rsyslog vulnerability

Published Nov 20, 2026
·
Updated

subj: [vs-plain] rsyslog security issue; proposed 2026-11-17 disclosure cves: GHSA-6rqh-v5w3-r7h4 | CVE-2026-129832

Hello,

Please keep this information under embargo until the proposed public disclosure time: Tuesday, 2026-11-17 at 16:00 UTC / 17:00 CET / 11:00 EST.

rsyslog has a local denial-of-service vulnerability in imuxsock's PID rewriting path. When UsePIDFromSystem or SysSock.UsePIDFromSystem is enabled, a local sender that can write to the affected Unix datagram socket can submit a message with an empty TAG. The vulnerable fixPID() implementation searches from an invalid offset and writes before the TAG buffer. A fortified release build terminated on the demonstrated input, allowing repeated interruption of rsyslogd.

The path also requires SCMCREDENTIALS support and imuxsock's special parser. The PID-rewriting options are disabled by default. No confidentiality loss, integrity loss, or code execution has been demonstrated.

Upstream advisory: GHSA-6rqh-v5w3-r7h4 CVE status: CVE requested; assignment pending Severity: Medium, CVSS 3.1 score 5.5 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) CWE: CWE-124, Buffer Underwrite Affected versions: rsyslog >= 5.7.1 Introduction commit: c2d36c6894f7c36c2aed23c1e7ee9580c58659a7 Fix candidate: 817c4a8587536422b1b9718a94ab28d0146fec76 Planned fixed-version label: 2026-11-17 daily stable

The fix bounds the backward scan to parsed TAG bytes, appends the PID safely when the TAG is empty, preserves an existing PID and trailing-colon behavior, and retains the capacity guard. Focused regressions cover empty and nonempty TAGs, existing PID, trailing colon, and near/full capacity. The exact private candidate completed the upstream private CI matrix and Codex review with all findings resolved.

Temporary mitigation: keep UsePIDFromSystem and SysSock.UsePIDFromSystem disabled, or restrict access to the affected imuxsock Unix socket.

Credit: reported and validated by Rainer Gerhards. The original finding records AI assistance from Claude Code.

The source-only patch follows. Its SHA-256 is b0c6c98ebea5a56c9890d5b595bc1223dbdca63866055100fbf137f6ebcbb496.

Please acknowledge receipt and let us know promptly if the proposed disclosure time or a backport presents a concrete problem.

Patch #+beginsrc diff

diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c index e6d1ca73a8fda58c9c780a575283970bd35e221e..90529f0e13ec1fe203bfe0adba877e49d46ab99f 100644 --- a/plugins/imuxsock/imuxsock.c +++ b/plugins/imuxsock/imuxsock.c @@ -816,10 +816,13 @@ static void fixPID(uchar bufTAG, int lenTag, struct ucred cred) { lenPID = snprintf(bufPID, sizeof(bufPID), "[%lu]:", (unsigned long)cred->pid); - for (i = lenTag; i >= 0 && bufTAG[i] != '['; --i) /JUST SKIP/ + for (i = lenTag - 1; i >= 0 && bufTAG[i] != '['; --i) /JUST SKIP/ ; - if (i < 0) i = lenTag - 1; / go right at end of TAG, pid was not present (-1 for ':') / + if (i < 0) { + i = lenTag; + if (i > 0 && bufTAG[i - 1] == ':') --i; + } if (i + lenPID > CONFTAGMAXSIZE) return; / do not touch, as things would break / #+endsrc

Affected Software

1 affected component
rsyslog Rsyslog>=5.7.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 817c4a8587536422b1b9718a94ab28d0146fec76
  2. Configuration

    Keep UsePIDFromSystem and SysSock.UsePIDFromSystem disabled.

    rsyslog imuxsock UsePIDFromSystem / SysSock.UsePIDFromSystem = disabled
  3. Compensating control

    Restrict access to the affected imuxsock Unix datagram socket.

Event History

Nov 20, 2026
Data Sourced
via Red Hat·05:57 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Are default rsyslog installations affected?

The vulnerable PID-rewriting path is disabled by default. Exposure requires UsePIDFromSystem or SysSock.UsePIDFromSystem to be enabled.

2

What access does an attacker need?

An attacker needs local access and the ability to write to the affected Unix datagram socket. Exploitation also requires SCM_CREDENTIALS support and imuxsock's special parser.

3

What is the practical impact of exploitation?

A local sender can repeatedly terminate rsyslogd, causing denial of service. No confidentiality loss, integrity loss, or code execution has been demonstrated.

4

What can be done if an update is not immediately available?

Disable UsePIDFromSystem and SysSock.UsePIDFromSystem if they are enabled. Restrict local access to the affected Unix datagram socket to reduce the set of potential senders.

5

Which versions should be reviewed?

The provided advisory identifies rsyslog versions 5.7.1 and later as affected. Review those deployments for enabled PID-rewriting options and local processes able to write to the relevant socket.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203