CVE-2026-60075
Full vulnerability record from the local CVENow database.
Description
Date::Manip versions through 7.00 for Perl allow CPU exhaustion via quadratic backtracking in the unanchored time substitution in _parse_time. _parse_time removes a time from anywhere in the string with the unanchored substitution `s/$timerx/ /`, where $timerx is an auto-generated alternation of time patterns reached through a leading `(?:$atrx|^|\s+)`. The engine therefore retries the match at every position of an interior whitespace run: at each start position the leading `\s+` consumes the rest of the run greedily, the time alternation fails because the run holds no digits, and the engine backtracks a space at a time across the run before advancing the start position, which is quadratic in the length of the run. No time need be present in the string for this to happen, only a long run of whitespace, and the parse time rises about fourfold for each doubling of the run: a few kilobytes of whitespace costs seconds of CPU per parse and tens of kilobytes costs minutes. Any caller that passes an untrusted string of unbounded length to ParseDate(), Date::Manip::Date->parse() or ->parse_time() can be made to spend unbounded CPU in a single parse, a denial of service.
View original CVE JSON
{
"id": "CVE-2026-60075",
"sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"published": "2026-07-30T14:17:02.710",
"lastModified": "2026-10-23T22:10:00.160",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Date::Manip versions through 7.00 for Perl allow CPU exhaustion via quadratic backtracking in the unanchored time substitution in _parse_time.\n\n_parse_time removes a time from anywhere in the string with the unanchored substitution `s/$timerx/ /`, where $timerx is an auto-generated alternation of time patterns reached through a leading `(?:$atrx|^|\\s+)`. The engine therefore retries the match at every position of an interior whitespace run: at each start position the leading `\\s+` consumes the rest of the run greedily, the time alternation fails because the run holds no digits, and the engine backtracks a space at a time across the run before advancing the start position, which is quadratic in the length of the run. No time need be present in the string for this to happen, only a long run of whitespace, and the parse time rises about fourfold for each doubling of the run: a few kilobytes of whitespace costs seconds of CPU per parse and tens of kilobytes costs minutes.\n\nAny caller that passes an untrusted string of unbounded length to ParseDate(), Date::Manip::Date->parse() or ->parse_time() can be made to spend unbounded CPU in a single parse, a denial of service."
},
{
"lang": "es",
"value": "Las versiones de Date::Manip hasta la 6.99 para Perl permiten el agotamiento de la CPU mediante retroceso cuadrático en la sustitución de tiempo no anclada en _parse_time.\n\n_parse_time elimina un tiempo de cualquier parte de la cadena con la sustitución no anclada ’s/$timerx/ /’, donde $timerx es una alternancia autogenerada de patrones de tiempo alcanzada a través de un ’(?:$atrx|^|\\s+)’ inicial. Por lo tanto, el motor reintenta la coincidencia en cada posición de una secuencia de espacios en blanco interna: en cada posición de inicio, el ’\\s+’ inicial consume el resto de la secuencia de forma codiciosa, la alternancia de tiempo falla porque la secuencia no contiene dígitos, y el motor retrocede un espacio a la vez a lo largo de la secuencia antes de avanzar la posición de inicio, lo cual es cuadrático en la longitud de la secuencia. No es necesario que haya un tiempo presente en la cadena para que esto ocurra, solo una secuencia larga de espacios en blanco, y el tiempo de análisis aumenta aproximadamente cuatro veces por cada duplicación de la secuencia: unos pocos kilobytes de espacios en blanco cuestan segundos de CPU por análisis y decenas de kilobytes cuestan minutos.\n\nCualquier llamador que pase una cadena no confiable de longitud ilimitada a ParseDate(), Date::Manip::Date -> parse() o -> parse_time() puede ser forzado a gastar CPU ilimitada en un solo análisis, una denegación de servicio."
}
],
"affected": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"affectedData": [
{
"defaultStatus": "unaffected",
"collectionURL": "https://cpan.org/modules",
"packageName": "Date-Manip",
"modules": [
"Date::Manip"
],
"programFiles": [
"lib/Date/Manip/Date.pm"
],
"programRoutines": [
{
"name": "Date::Manip::Date::_parse_time"
},
{
"name": "Date::Manip::Date::_other_rx"
},
{
"name": "Date::Manip::Date::parse"
},
{
"name": "Date::Manip::Date::parse_time"
},
{
"name": "Date::Manip::DM6::ParseDate"
}
],
"repo": "https://github.com/SBECK-github/Date-Manip",
"packageURL": "pkg:cpan/Date-Manip",
"versions": [
{
"version": "0",
"lessThanOrEqual": "7.00",
"versionType": "custom",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-31T17:55:49.530428Z",
"id": "CVE-2026-60075",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-1333"
}
]
}
],
"references": [
{
"url": "https://github.com/SBECK-github/Date-Manip/pull/55",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "https://metacpan.org/release/SBECK/Date-Manip-6.99/source/lib/Date/Manip/Date.pm#L1526",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "https://metacpan.org/release/SBECK/Date-Manip-6.99/source/lib/Date/Manip/Date.pm#L1811",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "https://security.metacpan.org/patches/D/Date-Manip/6.99/CVE-2026-60075-r1.patch",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "http://www.openwall.com/lists/oss-security/2026/07/30/20",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
]
}