{"id":"CVE-2026-87768","kind":"vulnerability","aliases":["CVE-2026-87768"],"related":[],"title":"DateTime::Lite for Perl: huge seconds value can exhaust CPU","description":"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.","summary":"DateTime::Lite before 0.8.1 loops once per day when adding seconds to a date with a fixed time zone, so a large value keeps the CPU busy. An attacker who controls the number of seconds added can hold the process for as long as they choose.","severity":"medium","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["cpan","datetime-lite","package","perl"],"not_affected_if":["floating-time-zone","no-user-controlled-seconds"],"how_to_check":"- Check the installed DateTime::Lite version with `perl -MDateTime::Lite -e 'print $DateTime::Lite::VERSION'`\n- Search dependencies for `DateTime::Lite` (for example `cpanm --info DateTime::Lite` or your `cpanfile` / `Makefile.PL`)","fix":"- DateTime::Lite: move to `0.8.1` or later","status":"open","published_at":"2026-10-30T13:20:15+00:00","first_seen_at":"2026-10-30T13:30:28+00:00","triaged_at":"2026-10-30T13:32:15+00:00","updated_at":"2026-10-30T13:32:15+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-30T13:32:15Z","model":"claude-haiku-5-5","output":{"fix":"- DateTime::Lite: move to `0.8.1` or later","reach":"unknown","title":"DateTime::Lite for Perl: huge seconds value can exhaust CPU","impact":"low","summary":"DateTime::Lite before 0.8.1 loops once per day when adding seconds to a date with a fixed time zone, so a large value keeps the CPU busy. An attacker who controls the number of seconds added can hold the process for as long as they choose.","audience":"developers","category":"package","nicknames":[],"who_cares":["perl","datetime-lite","cpan"],"confidence":0.7,"fix_status":"available","needs_auth":"unknown","worst_case":"Process stuck in CPU loop, causing denial of service","analyst_note":"","how_to_check":"- Check the installed DateTime::Lite version with `perl -MDateTime::Lite -e 'print $DateTime::Lite::VERSION'`\n- Search dependencies for `DateTime::Lite` (for example `cpanm --info DateTime::Lite` or your `cpanfile` / `Makefile.PL`)","plain_action":"","needs_analyst":false,"not_affected_if":["floating-time-zone","no-user-controlled-seconds"],"who_is_affected":"Any Perl application that calls add(seconds => ...) on a DateTime::Lite object with a non-floating time zone, and passes in a seconds value an outside party can influence. Code that only uses hard-coded or internally generated values, or that does not use DateTime::Lite, is not exposed in the same way. unknown whether the sources list which features are most exposed.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000713,"input_tokens":4196,"output_tokens":586,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2026':12A,15A '-87768':13A,16A '/86400':116C '0.8.1':26B,73C 'add':32B,58B,86C,100C,143C 'allow':76C 'attack':51B,136C 'boundari':93C 'busi':49B,148C 'choos':68B,154C 'control':53B,138C 'cpan':17B 'cpu':10A,48B,77C 'cross':91C 'cve':11A,14A 'date':36B 'datetim':1A,19B,23B,69C 'datetime-lit':18B 'day':30B,83C,92C,95C 'exhaust':9A,78C 'fallback':130C 'fix':39B 'float':110C 'hold':60B 'huge':5A 'implement':124C 'iter':117C 'keep':46B,145C 'larg':44B 'leap':89C 'limit':120C 'lite':2A,20B,24B,70C 'long':65B,151C 'loop':27B,84C,134C 'n':102C,115C,121C 'non':109C 'non-float':108C 'normal':88C 'noth':119C 'number':55B,140C 'object':105C 'one':94C 'packag':21B 'per':29B,82C 'per-day':81C 'perl':4A,22B,75C,129C 'process':62B,147C 'pure':128C 'pure-perl':127C 'second':6A,33B,57B,87C,90C,101C,142C 'take':113C 'time':40B,98C,111C 'valu':7A,45B 'version':71C 'via':79C 'xs':123C 'zone':41B,112C","nicknames":[],"mitigations":[],"who_affected":"Any Perl application that calls add(seconds => ...) on a DateTime::Lite object with a non-floating time zone, and passes in a seconds value an outside party can influence. Code that only uses hard-coded or internally generated values, or that does not use DateTime::Lite, is not exposed in the same way. unknown whether the sources list which features are most exposed.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"first_public_at":"2026-10-30T13:20:15+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-87768","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87768","severity":null,"published_at":"2026-10-30T13:20:15+00:00","modified_at":"2026-10-30T13:20:15+00:00","first_seen_at":"2026-10-30T13:30:28+00:00","fetched_at":"2026-10-30T13:30:28+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}