CVE-2022-3821
An off-by-one Error issue was discovered in Systemd in format_timespan() function of time-util.c.
Published Nov 8, 2022 · updated Oct 14, 2026 · systemd project systemd
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.
Timeline
Detection, updates, and resolution for this record.
Nov 8, 2022 · NIST NVD
Detected
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.
Oct 14, 2026 · NIST NVD
Updated
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.
Affected
- cpe fedoraproject/fedora35
- cpe redhat/enterprise linux8.0
- cpe redhat/enterprise linux9.0
- cpe systemd project/systemdversion unspecified
Sources
- CVE.orgCVE-2022-3821
Official CVE identifier
cve.org - NIST NVDCVE-2022-3821
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.
nvd.nist.gov