DHI-5kwz-lz57-fvxx-u4y5
### Summary
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-26
- Age
- 3d old
- Modified
- 2026-11-26
- Product
- rsyslog
Description
### 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)]
Sources
- OSV · first seen 3d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-5kwz-lz57-fvxx-u4y5 advisory
- https://github.com/rsyslog/rsyslog/security/advisories/GHSA-5pc2-f2v7-5w5p advisory
- https://security.alpinelinux.org/vuln/CVE-2026-129837 advisory
- https://security-tracker.debian.org/tracker/CVE-2026-129837 advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-129837 advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2579411 advisory
- https://access.redhat.com/security/cve/CVE-2026-129837 advisory
- http://www.openwall.com/lists/oss-security/2026/11/17/8 advisory
- http://www.openwall.com/lists/oss-security/2026/11/17/13 advisory
- https://ubuntu.com/security/CVE-2026-129837 advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-129837 advisory
- https://github.com/rsyslog/rsyslog/pull/8019 fix