Skip to content
Fencer Vulns
low 2.9

CVE-2026-40228 json

In systemd 259, systemd-journald can send ANSI escape sequences to the terminals of arbitrary users when a "logger -p emerg" command is exe…

published 2026-04-10 6 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-21498

cvss
2.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 7%
public exploits
0
none known

Summary

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.

Patch / fix

  • systemd hummingbird 1 260.1-2.1.hum1
  • systemd-pam hummingbird 1 260.1-2.1.hum1
  • systemd-libs hummingbird 1 260.1-2.1.hum1
  • systemd-udev hummingbird 1 260.1-2.1.hum1
  • systemd-tests hummingbird 1 260.1-2.1.hum1
  • systemd-ukify hummingbird 1 260.1-2.1.hum1
  • systemd-shared hummingbird 1 260.1-2.1.hum1
  • systemd-networkd hummingbird 1 260.1-2.1.hum1

red hat advisories RHSA-2026:7299

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-40228 updated cvss 2.9

systemd: systemd-journald: Unintended output to user terminals via logger command

  • Red Hat Hardened Images systemd 260.1-2.1.hum1, systemd-pam 260.1-2.1.hum1, systemd-libs 260.1-2.1.hum1, systemd-udev 260.1-2.1.hum1, systemd-tests 260.1-2.1.hum1, systemd-ukify 260.1-2.1.hum1, +14 more
    fixed: vendor fix RHSA-2026:7299
  • Red Hat Enterprise Linux 7 systemd, libgudev1, systemd-libs, systemd-sysv, systemd-python, systemd-networkd, +2 more Red Hat Enterprise Linux 8 systemd, systemd-pam, systemd-libs, systemd-udev, systemd-tests, NetworkManager, +16 more Red Hat Enterprise Linux 9 systemd, systemd-pam, systemd-libs, systemd-oomd, systemd-udev, systemd-ukify, +21 more Red Hat Enterprise Linux 10 systemd, rpm-ostree, NetworkManager Red Hat OpenShift Container Platform 4 systemd, systemd-pam, systemd-libs, systemd-oomd, systemd-udev, systemd-tests, +24 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
6 mo ago

Exploit prediction

0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • openwall.com https://www.openwall.com/lists/oss-security/2026/04/08/1 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 2.9 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD 3.1 3.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Affected products

  • systemd systemd

Classification

Weakness
  • CWE-669 Incorrect Resource Transfer Between Spheres

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.