Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-87768unknown

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.

CPANSec guidance

Affected packages

This source has no supported package-version data for matching. You can read the advisory here, but this record alone cannot power a dependency check.

Affected products

Vendor version evidence. Product records are separate from automatic dependency matching.

Vendor not supplied · CPANSec

DateTime-Lite

1 range

Package identity

pkg:cpan/DateTime-Lite

Identity 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

unaffected

unknown

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

Package identity
Version evidence
Remediation guidance
Weakness classification
Additional publishers

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-87768

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

CWE-407 ↗

CWE-407 Inefficient Algorithmic Complexity

CPANSec

Related →
Contributing organizations · 2
CPANSec

Assigning organization

2026-10-30
CVE

Additional data publisher

2026-10-30

What changed

Follow changes
  1. 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.

References

2 sources