{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:systemd_project:systemd:259:-:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "259-NA"
              },
              {
                "last_affected": "259-NA"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "9ca433482f2281d71718718705ca8cd3bf562ad6"
            },
            {
              "last_affected": "9ca433482f2281d71718718705ca8cd3bf562ad6"
            }
          ],
          "repo": "https://github.com/systemd/systemd",
          "type": "GIT"
        }
      ],
      "versions": [
        "259-NA"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "cwe_ids": [
      "CWE-669"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40228.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "259"
          },
          {
            "last_affected": "259"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-40228",
  "modified": "2026-07-08T05:38:00.789944549Z",
  "published": "2026-04-10T15:48:44.215Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/05/05/1"
    },
    {
      "type": "WEB",
      "url": "https://www.openwall.com/lists/oss-security/2026/04/08/1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40228.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40228"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}