{"id":"DHI-5kwz-lz57-fvxx-u4y5","aliases":[],"title":"### Summary","originalDescription":"### Summary A template that formats a timestamp as a weekday name reads outside a 7 element array when the timestamp carries a year well below 1970. The RFC5424 timestamp parser accepts years as low as 1, the weekday calculation then returns a negative index, and the array lookup reads a pointer from before the array that the template engine then dereferences as a string. A single message from any configured input triggers the fault, so this is a remote, unauthenticated out-of-bounds read reachable over the network. ### Details The weekday-name property reads an array with an unchecked index. getWeekdayNbr() (runtime/datetime.c:1177 on both main and v8.2610.0) computes a weekday with a Zeller-style formula, `wday = ((36525 * g) / 100) + ((306 * f) / 10) + ts->day - 621049` (datetime.c:1188), then reduces it with `wday %= 7` (datetime.c:1189). For a year far below 1970 the intermediate value is a large negative number. C keeps the sign of the left operand in `%`, so the result can be negative, for example -6. The weekday-name property modifier then uses that value as an array index with no bounds check. In getTimeReported() the code returns `wdayNames[getWeekdayNbr(&pM->tTIMESTAMP)]","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://scout.docker.com/v/DHI-5kwz-lz57-fvxx-u4y5","type":"advisory"},{"url":"https://github.com/rsyslog/rsyslog/security/advisories/GHSA-5pc2-f2v7-5w5p","type":"advisory"},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-129837","type":"advisory"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-129837","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129837","type":"advisory"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2579411","type":"advisory"},{"url":"https://access.redhat.com/security/cve/CVE-2026-129837","type":"advisory"},{"url":"http://www.openwall.com/lists/oss-security/2026/11/17/8","type":"advisory"},{"url":"http://www.openwall.com/lists/oss-security/2026/11/17/13","type":"advisory"},{"url":"https://ubuntu.com/security/CVE-2026-129837","type":"advisory"},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-129837","type":"advisory"},{"url":"https://github.com/rsyslog/rsyslog/pull/8019","type":"fix"}],"sources":[{"name":"osv","at":"2026-11-26T04:42:00.447Z","url":"https://osv.dev/vulnerability/DHI-5kwz-lz57-fvxx-u4y5","license":"CC-BY 4.0","firstSeenAt":"2026-11-26T04:08:59.808Z"}],"firstSeenAt":"2026-11-26T04:08:59.808Z","publishedAt":"2026-11-26T03:32:47.000Z","modifiedAt":"2026-11-26T03:45:17.270Z"}