Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Web

Advisory Analysis

rsyslog Issues Two Advisories on imklog Escaping and Kernel Log Message Forgery

According to oss-security, rsyslog published two security advisories on December 1, 2026, both involving the imklog module and affecting versions 3.17.1 through 8.2610.0. Fixes were made available the same day, and the first advisory is rated Low at CVSS 2.8.

WebOperating systemsVulnerabilities

Key points

  • Two rsyslog advisories published December 1, 2026, both affecting imklog and versions 3.17.1 through 8.2610.0
  • First advisory (GHSA-pw82-9r22-hjqg) covers unescaped control characters in kernel log text; CVSS 2.8 Low
  • Second advisory allows local unprivileged users to forge kernel-tagged messages; severity not stated in the report
  • Fixes reportedly available December 1, 2026, with the second advisory's severity and fixed version not stated

According to oss-security, rsyslog published two security advisories on December 1, 2026, both related to the imklog module and both affecting rsyslog versions 3.17.1 through 8.2610.0. The first advisory, GHSA-pw82-9r22-hjqg, concerns imklog not escaping control characters in kernel log text, which can allow terminal escape sequences to appear in log files and terminals. Exploitation reportedly requires that rsyslogd can open terminals and, in certain scenarios, a maxMessageSize below about 1-2 KiB. A local unprivileged user running a program that can crash and generate such kernel log messages is described as the trigger. The advisory carries a CVSS score of 2.8, rated Low. The second advisory allows unprivileged local users to forge kernel-tagged messages with a chosen facility and severity, which could cause them to be routed to specific log files or actions. Per the report, this depends on the permitnonkernelfacility setting, which is enabled by default in Ubuntu distributions. The report does not state a severity or CVSS score for this advisory. Researchers say fixes for both issues are in the rsyslog codebase as of December 1, 2026, and are expected in the daily stable release that day. The report does not give a specific fixed version number. Read the original advisories on oss-security for full details.

What to do

  1. Update rsyslog to a build that includes the December 1, 2026 fixes; the report does not name the fixed version number
  2. Until patched, set permitnonkernelfacility to off to prevent kernel-tagged message forgery, per the report's workaround
  3. Use the escape-cc template option (for example %msg:::escape-cc%) to escape control characters in log messages, per the report's suggestion for the first advisory

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

oss-securityseclists.org

“rsyslog: 2 security advisories published 2026-12-01 (imklog)”

Posted by rgerhards on Dec 01 Hello, rsyslog has published the following security advisory(ies). The distros list was notified in advance. Fix: https://github.com/rsyslog/rsyslog/pull/8146 GHSA-pw82-9r22-hjqg: imklog passes control characters from kernel log text unescaped: process names with terminal escape sequences reach log files and terminals Advisory: https://github.com/rsyslog/rsyslog/secu…

Also reported by

More on this topic