CVE-2026-40228 Information disclosure in systemd
systemd-journald may leak ANSI escape sequences to user terminals via logger commands when ForwardToWall is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-40228?
CVE-2026-40228 is a low-severity vulnerability in Systemd Project Systemd, published on 10 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In systemd 259, systemd-journald can send ANSI escape sequences to the terminals of arbitrary users when a "logger -p emerg" command is executed, if ForwardToWall=yes is set.
Weakness: CWE-669
Which versions are affected by CVE-2026-40228?
It affects 1 product.
Products include Systemd Project Systemd.
How do I fix CVE-2026-40228?
Apply the vendor's patch.
Is CVE-2026-40228 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40228 exists.
Other vulnerabilities in Systemd Project Systemd
Sources
Also known as DEBIAN-CVE-2026-40228, GHSA-grjh-583f-v73h, UBUNTU-CVE-2026-40228.