All reports
Medium

systemd: Mishandles numerical usernames beginning with decimal digits or 0x followed by hexadecimal digits

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2020-13776

Probability of exploitation in the next 30 days: 0.46%

FIRST EPSS · 2026-11-22

Description

systemd through v245 mishandles numerical usernames such as ones composed of decimal digits or 0x followed by hex digits, as demonstrated by use of root privileges when privileges of the 0x0 user account were intended. NOTE: this issue exists because of an incomplete fix for CVE-2017-1000082.

A flaw was found in systemd, where it mishandles numerical usernames beginning with decimal digits, or "0x" followed by hexadecimal digits. When the usernames are used by systemd, for example in service units, an unexpected user may be used instead. In some particular configurations, this flaw allows local attackers to elevate their privileges.