CVE-2026-54231: Abrt: unsanitized systemd journal content written to dump directory files enables content injection
A content injection vulnerability was found in the ABRT post-create event handler scripts in libreport. The event script queries the systemd journal for log entries matching the crashed process and writes the results to files in the dump directory without sanitizing embedded control characters. A local user can inject arbitrary content into the journal output by embedding newline characters in syslog messages, controlling the content that root writes to dump directory files.
Other sources
A content injection vulnerability was found in the ABRT post-create event handler scripts. The event script queries the systemd journal for log entries matching the crashed process using journalctl with COMM and UID filters, and writes the results to files in the dump directory (e.g., varlogmessages). Any local user can pre-populate the systemd journal with entries whose COMM matches common process names (e.g., "sleep") by using prctl(PRSETNAME) and syslog(). By embedding newline characters (\n) in syslog messages, the attacker can inject arbitrary content that appears on its own line in the journalctl output. While the event script filters out audit lines, it does not sanitize syslog entries for embedded control characters or validate the content before writing it to dump directory files. This allows an attacker to control the content that root writes to files in the dump directory.
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-54231?
The severity of CVE-2026-54231 is classified as medium with a score of 5.5.
How do I fix CVE-2026-54231?
To fix CVE-2026-54231, update to the latest version of Red Hat libreport and Red Hat ABRT that addresses this vulnerability.
What exploit does CVE-2026-54231 enable?
CVE-2026-54231 enables content injection due to unsanitized systemd journal content written to dump directory files.
Which software is affected by CVE-2026-54231?
The affected software includes Red Hat libreport and Red Hat ABRT.
When was CVE-2026-54231 published?
CVE-2026-54231 was published on June 12, 2026.