DateTime::Lite versions before 0.8.1 for Perl allow CPU exhaustion via a per-day loop when adding seconds
Impact
DateTime::Lite for Perl, versions before 0.8.1, allows CPU exhaustion via a per-day loop when adding seconds, if an attacker controls the number of seconds added. The weakness is due to inefficient algorithmic complexity. An attacker can keep the process busy for as long as they choose.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.What to do
Upgrade to DateTime-Lite v0.8.1 or later.
Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
Vendor not supplied · CPANSec
DateTime-Lite
1 range
Vendor not supplied · CPANSec
DateTime-Lite
Package identity
pkg:cpan/DateTime-LiteIdentity supplied by CPANSec. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0 → before 0.8.1
custom versions
Other versions: unaffected
Original source 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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-87768View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 2
Assigning organization
Additional data publisher
What changed
Follow changes- CVE · CVE-2026-87768
Observed 2026-10-30T15:20:12.938Z · upstream updated 2026-10-30T15:05:30.618Z
References changed
before
[ "https://metacpan.org/release/JDEGUEST/DateTime-Lite-v0.8.1/changes" ]
after
[ "https://metacpan.org/release/JDEGUEST/DateTime-Lite-v0.8.1/changes", "http://www.openwall.com/lists/oss-security/2026/10/30/10" ]
Large field values are marked as truncated previews. Original source snapshots remain retained.
Showing up to 50 most recent observed changes.