CVE Watchtower

CVE-2026-129832rsyslog Buffer Underwrite ('Buffer Underflow')

NVD

Vulnerability Summary

Summary When imuxsock is configured with `UsePIDFromSystem="on"` or `SysSock.UsePIDFromSystem="on"`, its special parser rewrites the message TAG with the kernel-supplied process ID through `fixPID()`. For a message with an empty TAG, the parsed TAG length is zero. `fixPID()` then computes an offset of `-1` and copies the `"[<pid>]:"` suffix starting one byte before the stack-allocated TAG buffer. Affected configurations The issue is reachable when all of the following apply: - rsyslog uses imuxsock on a platform providing `SCM_CREDENTIALS`; - `UsePIDFromSystem` or `SysSock.UsePIDFromSystem` is enabled; - the special parser is enabled; and - a local process can write to the affected Unix-domain log socket. Both `UsePIDFromSystem` settings are disabled by default. Impact A local process able to write to the socket can send a datagram with an empty TAG and trigger the stack-buffer underwrite. Testing against a fortified Ubuntu release build of rsyslogd 8.2312.0 caused the daemon to terminate with a buffer-overflow detection failure after one such datagram. Repeating the message after service restart can interrupt local logging. The byte written before the buffer is the fixed `[` character from the PID suffix. No confidentiality impact, predictable integrity impact, or plausible code-execution path has been demonstrated. Affected versions The vulnerable `fixPID()` logic was introduced by commit `c2d36c6894f7c36c2aed23c1e7ee9580c58659a7` and first appeared in release v5.7.1. Versions from v5.7.1 onward are affected when the required configuration and platform conditions are present. Workarounds Leave `UsePIDFromSystem` and `SysSock.UsePIDFromSystem` disabled, or disable them on affected listeners. Restrict write access to affected Unix-domain log sockets where operationally possible. Resolution The fix ensures that PID rewriting never forms a negative TAG offset. It writes at offset zero for an empty TAG, appends the PID suffix when a TAG has no trailing colon, and replaces only an existing PID suffix or trailing colon while retaining the TAG-buffer capacity check. The validated fixed-version designation for the coordinated disclosure on November 17, 2026 at 16:00 UTC (17:00 CET / 11:00 EST) is `2026-11-17 daily stable`. Actual release tag and package availability are verified separately. Severity CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H` β€” 5.5 Medium. CWE-124: Buffer Underwrite. CVE CVE-2026-129832 Credits Discovered by Rainer Gerhards, rsyslog maintainer, during an internal AI-assisted review of imuxsock using Claude Code.
Severity Level
MEDIUM(5.5)
Published Date
Nov 17, 2026
Last Modified
Nov 17, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The product writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer.
CVSS v3.1 Base Metrics — Score 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • rsyslog >= 5.7.1
Patched Versions
  • rsyslog 2026-11-17 daily stable

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run rsyslog and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 17, 2026Published
  • Nov 17, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new rsyslog CVEsYou are reading CVE-2026-129832. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 23, 2026 17:01 UTC