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

Home › News › Linux

Advisory Analysis

Ubuntu Patches Four rsyslog Flaws Covering Log Injection, Spoofing and Denial of Service

According to Ubuntu Security Notice USN-9527-1, four security issues in rsyslog have been fixed through a standard system update. The notice lists no CVE identifiers, so each issue is tracked by its GitHub Security Advisory ID.

LinuxOperating systemsVulnerabilities

Key points

  • Ubuntu USN-9527-1 covers four rsyslog security issues, each tracked by a GitHub Security Advisory ID rather than a CVE
  • The log sanitization flaw affects Ubuntu 16.04 LTS through 26.10 and could allow log injection
  • Reported impacts include log file modification, possible code execution, peer spoofing and two denial-of-service issues
  • The fix is a standard system update to specified rsyslog package versions

Four rsyslog issues fixed

According to Ubuntu Security Notice USN-9527-1, four security issues in the rsyslog logging daemon have been addressed. Each is tied to a GitHub Security Advisory identifier, and the notice does not list CVE identifiers for them.

Log sanitization and peer validation

Rainer Gerhards reportedly found that rsyslog did not correctly sanitize certain log messages, which could allow log injection (GHSA-3w8v-2pjp-5r8p). The notice states this issue affects Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, 24.04 LTS, 26.04 LTS and 26.10.

An unnamed finder reportedly identified improper handling of certain control characters in kernel log messages. The reported impact is that an attacker could modify log files or possibly execute arbitrary code (GHSA-pw82-9r22-hjqg). Separately, Zachariah Mithani reportedly found that rsyslog did not correctly parse certain common names, potentially allowing an attacker to spoof a permitted peer (GHSA-2j6x-gq6h-q426).

Denial-of-service issues

Gerhards also reportedly found two flaws that could lead to denial of service: rejected messages were not correctly discarded (GHSA-gp9m-f4cv-wxvg), and certain file descriptors were not correctly closed (GHSA-rj3v-jjhc-8vpf).

Update guidance

The notice says a standard system update applies the necessary changes. The fix is an update of rsyslog to a specific package version for each affected release, and the notice lists those versions. The source does not describe exploitation details or workarounds. Readers should consult the original USN-9527-1 notice for full package information.

What to do

  1. Apply the standard Ubuntu system update on hosts running rsyslog
  2. Compare the installed rsyslog package version against the fixed version listed in USN-9527-1 for your Ubuntu release
  3. Review the original USN-9527-1 notice to confirm the package versions for each affected release

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

Ubuntu USNubuntu.com

“USN-9527-1: rsyslog vulnerabilities”

Rainer Gerhards discovered that rsyslog did not correctly handle sanitizing certain log messages. An attacker could possibly use this issue to perform log injections. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS and Ubuntu 26.10. (GHSA-3w8v-2pjp-5r8p) It was discovered that rsyslog did not correctly handle sani…

More on this topic