CVE-2026-87768
Full vulnerability record from the local CVENow database.
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.
Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
9b29abf9-4ab0-4765-b253-1875cd9b441e
Published
2026-10-30 13:20:15.910000
Last modified
2026-10-30 13:20:15.910000
View original CVE JSON
{
"id": "CVE-2026-87768",
"sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"published": "2026-10-30T13:20:15.910",
"lastModified": "2026-10-30T13:20:15.910",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "DateTime::Lite versions before 0.8.1 for Perl allow CPU exhaustion via a per-day loop when adding seconds.\n\n_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.\n\nAn attacker who controls the number of seconds added can keep the process busy for as long as they choose."
}
],
"affected": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"affectedData": [
{
"defaultStatus": "unaffected",
"collectionURL": "https://cpan.org/modules",
"packageName": "DateTime-Lite",
"modules": [
"DateTime::Lite"
],
"programFiles": [
"DateTime-Lite.xs",
"lib/DateTime/Lite/PP.pm"
],
"programRoutines": [
{
"name": "DateTime::Lite::_normalize_leap_seconds"
},
{
"name": "DateTime::Lite::add"
}
],
"repo": "https://gitlab.com/deguest/DateTime-Lite",
"packageURL": "pkg:cpan/DateTime-Lite",
"versions": [
{
"version": "0",
"lessThan": "0.8.1",
"versionType": "custom",
"status": "affected"
}
]
}
]
}
],
"metrics": {},
"weaknesses": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-407"
}
]
}
],
"references": [
{
"url": "https://metacpan.org/release/JDEGUEST/DateTime-Lite-v0.8.1/changes",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
}
]
}