CPANSA-DateTime-Lite-2026-87768: DateTime-Lite vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-10-30T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-10-30T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | Severity | ||
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
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.
Vulnerabilities
CVE-2026-87768
Vulnerability DescriptionDateTime::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 : Inefficient Algorithmic Complexity |
|---|
Product status
Known affected
| Product | Score | ||||
|---|---|---|---|---|---|
| DateTime-Lite less than 0.8.1 |
|
Fixed
- DateTime-Lite greater than or equal 0.8.1
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-DateTime-Lite-2026-87768 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-datetime-lite-2026-87768.json - https://metacpan.org/release/JDEGUEST/DateTime-Lite-v0.8.1/changes external
https://metacpan.org/release/JDEGUEST/DateTime-Lite-v0.8.1/changes - http://www.openwall.com/lists/oss-security/2026/10/30/10 external
http://www.openwall.com/lists/oss-security/2026/10/30/10 - CVE-2026-87768 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-87768
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Fri Oct 30 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/