Skip to content
NewA calmer, faster ZeroHour
Vulnerability1 · 1 read

CVE-2026-87768

CPU exhaustion in DateTime::Lite before 0.8.1

CVSS 3.1
7.5 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-87768 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

DateTime::Lite for Perl walks day boundaries one day at a time when adding seconds, including both the XS code and the pure-Perl fallback. On an object with a non-floating time zone, add(seconds => $n) runs about |$n|/86400 iterations with no limit on $n. Anyone who can choose that value can keep the process busy as long as they want. Versions before 0.8.1 are affected.

What to do: Upgrade DateTime::Lite to 0.8.1.

ProductAffectedFixed in
DateTime::Litebefore 0.8.10.8.1
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

DateTime::Lite versions before 0.8.1 for Perl allow CPU exhaustion via a per-day loop when adding seconds. _normalize_leap_seconds crosses day boundaries one day at a time, so add(seconds => $n) on an object with a non-floating time zone takes about |$n|/86400 iterations, and nothing limits $n. The XS implementation and the pure-Perl fallback both have the loop. An attacker who controls the number of seconds added can keep the process busy for as long as they choose.

Weakness
CWE-407
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

In the news

1 story