All reports
Medium

systemd: buffer overrun in format_timespan() function

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-3821

Probability of exploitation in the next 30 days: 0.44%

FIRST EPSS · 2026-11-21

Description

An off-by-one Error issue was discovered in Systemd in format_timespan() function of time-util.c. An attacker could supply specific values for time and accuracy that leads to buffer overrun in format_timespan(), leading to a Denial of Service.

An off-by-one error flaw was found in systemd in the format_timespan() function of time-util.c. This flaw allows an attacker to supply specific values for time and accuracy, leading to a buffer overrun in format_timespan(), leading to a denial of service.