Security Advisories (1)
CVE-2026-87768 (2026-10-30)

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.

Changes for version 0.00001_01

  • Initial release.

Documentation

Provides a list of all valid time zone names

Modules

A Low Calorie DateTime
Duration objects for date math
Infinite past and future DateTime::Lite objects
leap seconds table and utilities
An object to represent an Olson time zone database
Time zone object base class and factory
Provides a list of all valid time zone names
Determine the local system's time zone
Determine the local system's time zone on Unix
Determine the local system's time zone on VMS
Determine the local system's time zone on Windows
A DateTime::Lite::TimeZone object that just contains an offset
The UTC time zone

Provides

in lib/DateTime/Lite/Arithmetic.pm
in lib/DateTime/Lite/Strftime.pm
in lib/DateTime/Lite/Locale.pm
in lib/DateTime/Lite/OlsonDB.pm
in lib/DateTime/Lite/OlsonDB.pm
in lib/DateTime/Lite/OlsonDB.pm
in lib/DateTime/Lite/OlsonDB.pm
in lib/DateTime/Lite/TimeZone/Floating.pm
in tools/lib/DateTime/Lite/Tool/Locale/Generator.pm
in lib/DateTime/Lite/Util.pm