REDHAT-BUG-2579411: High severity rsyslog Rsyslog vulnerability

Published Nov 20, 2026
·
Updated

subj: [vs-plain] rsyslog weekday formatting crash cves: GHSA-5pc2-f2v7-5w5p | CVE-2026-129837

Embargoed rsyslog security notification for distribution maintainers.

Coordinated public disclosure is scheduled for Tuesday, 2026-11-17 at 16:00 UTC (17:00 CET / 11:00 EST). Please confirm receipt and flag any concrete operational or backporting problem promptly.

GHSA-5pc2-f2v7-5w5p: an out-of-bounds read in weekday formatting can crash rsyslogd. A parsed RFC5424 timestamp with a low year such as 0001 can make getWeekdayNbr() return a negative C remainder. If an input accepts the crafted message and routes it to an action template using date-wdayname, the formatter indexes before the seven-element weekday-name table. A single message caused a SIGSEGV in our normal-build test; AddressSanitizer reported an eight-byte global out-of-bounds read. The related numeric date-wday formatter produced invalid output in bounded checks. We have not demonstrated unrelated memory disclosure or an integrity impact. Remote unauthenticated exposure depends on an accessible input and the affected template path.

Affected upstream v8 releases: >= 8.3.2, based on introduction commits and tag containment. Older nonstandard release trains were not assessed. CVSS 3.1: 7.5 High (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) for an unauthenticated network-input configuration. CWE-125. A CVE has been requested through GitHub; assignment is pending.

The accepted fixed-version label for the coordinated disclosure day is "2026-11-17 daily stable". This label is separate from actual package availability, which is not yet verified. The source-only patch below applies to upstream base a6c1f4023df4f4e783158ea3837796dc0ef45e4e and current public main 8a86b533612c32065a864ff52d951afddb423e12. It normalizes the signed remainder before all weekday consumers. Distribution source packages may carry backports; please inspect the effective datetime.c behavior and the binary package containing rsyslogd before assessing your supported releases.

Mitigation before updating: avoid date-wdayname and date-wday on untrusted reported timestamps, or restrict senders to inputs feeding such templates. The issue was reported by Manyo9, credited as reporter in the private GHSA.

Source-only patch (SHA-256 abb3e7a6a453406be657dc4f08f766b655cc56ae9f6eabbb75e52f27e27d5da8): diff --git a/runtime/datetime.c b/runtime/datetime.c index 67392aa96..9faaaf192 100644 --- a/runtime/datetime.c +++ b/runtime/datetime.c @@ -1187,6 +1187,7 @@ int getWeekdayNbr(struct syslogTime ts) { } wday = ((36525 g) / 100) + ((306 f) / 10) + ts->day - 621049; wday %= 7; + if (wday < 0) wday += 7; return wday; }

@@ -1391,4 +1392,4 @@ BEGINAbstractObjClassInit(datetime, 1, OBJISCOREMODULE) / class, version / ENDObjClassInit(datetime)

/ vi:set ai: - / \ No newline at end of file + /

Affected Software

1 affected component
rsyslog Rsyslog>=8.3.2

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 abb3e7a6a453406be657dc4f08f766b655cc56ae9f6eabbb75e52f27e27d5da8
  2. Configuration

    Avoid using date-wdayname and date-wday on untrusted reported timestamps.

    rsyslog templates date-wdayname and date-wday = Avoid for untrusted reported timestamps

Event History

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

Frequently Asked Questions

1

What conditions are required for exploitation?

An attacker needs an accessible input that accepts a crafted RFC5424 message and routes it to an action template using date-wdayname. The crafted timestamp can use a very low year, such as 0001, to trigger the negative weekday index.

2

What is the likely impact?

A single crafted message caused rsyslogd to crash with SIGSEGV in testing. The reported issue is an out-of-bounds read; the available data does not demonstrate unrelated memory disclosure or integrity impact.

3

Which deployments should be prioritized for review?

Prioritize systems that accept RFC5424 messages from remote or unauthenticated sources and use action templates containing date-wdayname. Remote unauthenticated exposure depends on both an accessible input and that affected template path.

4

How can exposure be reduced before a fix is available?

The stated exploitation path requires both acceptance of the crafted message and routing through date-wdayname. Restricting accessible inputs or avoiding that template path removes one of the required conditions.

5

Which upstream rsyslog versions are identified as affected?

Affected upstream v8 releases are identified as version 8.3.2 and later, based on introduction commits and tag containment.

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