{"id":"CVE-2026-14741","state":"PUBLISHED","title":"HTTP::Date versions before 6.08 for Perl allow CPU exhaustion via polynomial regex backtracking in parse_date","description":"HTTP::Date versions before 6.08 for Perl allow CPU exhaustion via polynomial regex backtracking in parse_date.\n\nparse_date() matches the date string against a chain of alternative regexes, and str2time() delegates to it. Several of these patterns place unbounded quantifiers next to each other before a trailing `\\s*$` anchor. A valid date prefix followed by a long interior run of digits, letters, or whitespace and a single trailing byte that defeats the final match forces the engine to repartition the run, giving polynomial (about quadratic) backtracking. A header value of a few tens of kilobytes runs for tens of seconds of CPU.\n\nHTTP::Date parses timestamps such as HTTP `Date`, `Expires`, and `Last-Modified` headers, which commonly originate from untrusted sources. Any caller that passes an untrusted date header to str2time() or parse_date() can be driven to consume unbounded CPU, a denial of service.","publishedAt":"2026-07-17T15:20:07.201Z","updatedAt":"2026-08-12T18:47:08.460Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["OALDERS HTTP::Date"],"affected":[{"vendor":"OALDERS","product":"HTTP::Date","packageName":"HTTP-Date","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"6.08","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/HTTP/Date.pm"],"programRoutines":[{"name":"HTTP::Date::parse_date"},{"name":"HTTP::Date::str2time"}],"repo":"https://github.com/libwww-perl/HTTP-Date"}],"references":["https://github.com/libwww-perl/HTTP-Date/commit/78c20952cdfbf11e03cf1199ad70f13298a84c5c.patch","https://github.com/libwww-perl/HTTP-Date/pull/33","https://metacpan.org/release/OALDERS/HTTP-Date-6.08/changes","http://www.openwall.com/lists/oss-security/2026/07/17/10"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:11:00.674Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/14xxx/CVE-2026-14741.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-14741","state":"PUBLISHED","datePublished":"2026-07-17T15:20:07.201Z","dateUpdated":"2026-08-12T18:47:08.460Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-07-04T11:57:33.964Z"},"containers":{"cna":{"title":"HTTP::Date versions before 6.08 for Perl allow CPU exhaustion via polynomial regex backtracking in parse_date","descriptions":[{"lang":"en","value":"HTTP::Date versions before 6.08 for Perl allow CPU exhaustion via polynomial regex backtracking in parse_date.\n\nparse_date() matches the date string against a chain of alternative regexes, and str2time() delegates to it. Several of these patterns place unbounded quantifiers next to each other before a trailing `\\s*$` anchor. A valid date prefix followed by a long interior run of digits, letters, or whitespace and a single trailing byte that defeats the final match forces the engine to repartition the run, giving polynomial (about quadratic) backtracking. A header value of a few tens of kilobytes runs for tens of seconds of CPU.\n\nHTTP::Date parses timestamps such as HTTP `Date`, `Expires`, and `Last-Modified` headers, which commonly originate from untrusted sources. Any caller that passes an untrusted date header to str2time() or parse_date() can be driven to consume unbounded CPU, a denial of service."}],"affected":[{"vendor":"OALDERS","product":"HTTP::Date","packageName":"HTTP-Date","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"6.08","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/HTTP/Date.pm"],"programRoutines":[{"name":"HTTP::Date::parse_date"},{"name":"HTTP::Date::str2time"}],"repo":"https://github.com/libwww-perl/HTTP-Date"}],"references":[{"url":"https://github.com/libwww-perl/HTTP-Date/commit/78c20952cdfbf11e03cf1199ad70f13298a84c5c.patch","tags":["patch"]},{"url":"https://github.com/libwww-perl/HTTP-Date/pull/33","tags":["issue-tracking"]},{"url":"https://metacpan.org/release/OALDERS/HTTP-Date-6.08/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","description":"CWE-1333 Inefficient Regular Expression Complexity","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-07-17T15:20:07.201Z"},"solutions":[{"lang":"en","value":"Upgrade to HTTP::Date 6.08 or later, which rejects input longer than 64 characters before the date-parsing regexes run."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-07-09T00:00:00.000Z","value":"Version 6.08 released with the fix."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-08-12T18:47:05.416355Z","id":"CVE-2026-14741","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-12T18:47:08.460Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/07/17/10"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-07-17T17:25:13.175Z"}}]}}}