All reports
Medium

sudo: Sudo does not escape control characters in log messages

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-28486

Probability of exploitation in the next 30 days: 0.92%

FIRST EPSS · 2026-11-18

Description

Sudo before 1.9.13 does not escape control characters in log messages.

A flaw was found in the sudo package, shipped with Red Hat Enterprise Linux 8 and 9, where sudo improperly escapes terminal control characters during logging operations. As sudo's log messages may contain user-controlled strings, this may allow an attacker to inject terminal control commands, leading to a leak of restricted information.