# CVE-2026-87768: DateTime::Lite versions before 0.8.1 for Perl allow CPU exhaustion via a per-day loop when adding seconds

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-10-30T12:25:21.054Z
- Modified: 2026-11-06T17:20:02.940Z
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- DateTime-Lite: before 0.8.1

## References

- <https://metacpan.org/release/JDEGUEST/DateTime-Lite-v0.8.1/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/10/30/10>

## Sources

- CVE List: [CVE-2026-87768](https://www.cve.org/CVERecord?id=CVE-2026-87768), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-87768](https://nvd.nist.gov/vuln/detail/CVE-2026-87768), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-87768 · Whole record: https://cve.day/CVE-2026-87768.json · Rebuilt by cve.day 2026-11-25T22:59:47.930Z
